PatchBukkit/proto/patchbukkit/entity.proto
Alexander Medvedev f347ddfdab some more stuff
2026-07-26 11:36:48 +02:00

42 lines
760 B
Protocol Buffer

syntax = "proto3";
package patchbukkit.entity;
import "patchbukkit/common/types.proto";
option java_multiple_files = true;
option java_package = "patchbukkit.entity";
message EntityHealthResponse {
double health = 1;
double max_health = 2;
}
message SetEntityHealthRequest {
patchbukkit.common.UUID uuid = 1;
double health = 2;
}
message DamageEntityRequest {
patchbukkit.common.UUID uuid = 1;
double amount = 2;
}
message SetEntityVelocityRequest {
patchbukkit.common.UUID uuid = 1;
double x = 2;
double y = 3;
double z = 4;
}
message TeleportEntityRequest {
patchbukkit.common.UUID uuid = 1;
patchbukkit.common.Location location = 2;
}
message SetEntityPoseRequest {
patchbukkit.common.UUID uuid = 1;
string pose = 2;
}