59 lines
991 B
Protocol Buffer
59 lines
991 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;
|
|
}
|
|
|
|
message EntityVelocityResponse {
|
|
double x = 1;
|
|
double y = 2;
|
|
double z = 3;
|
|
}
|
|
|
|
message GetGamemodeResponse {
|
|
int32 gamemode = 1;
|
|
}
|
|
|
|
message SetGamemodeRequest {
|
|
patchbukkit.common.UUID uuid = 1;
|
|
int32 gamemode = 2;
|
|
}
|
|
|
|
|
|
|