Adding client-side and server-side interactions. Also adds purpur/paper support

This commit is contained in:
Dmitri Shimanski
2026-07-20 05:41:57 +03:00
parent fbe4d786ca
commit ce93e99962
71 changed files with 5068 additions and 279 deletions
+55
View File
@@ -0,0 +1,55 @@
namespace gmb;
table LevelSnapshot {
dimension:string;
game_time:long;
day_time:long;
raining:bool;
thundering:bool;
}
table EntitySnapshot {
runtime_id:int;
uuid:string;
type:string;
name:string;
dimension:string;
x:double;
y:double;
z:double;
yaw:float;
pitch:float;
velocity_x:double;
velocity_y:double;
velocity_z:double;
alive:bool;
player:bool;
has_health:bool;
health:float;
max_health:float;
}
table BlockProperty {
key:string;
value:string;
}
table BlockSnapshot {
dimension:string;
x:int;
y:int;
z:int;
block:string;
properties:[BlockProperty];
}
table ServerSnapshot {
tick:long;
timestamp_unix_milli:long;
levels:[LevelSnapshot];
entities:[EntitySnapshot];
blocks:[BlockSnapshot];
}
root_type ServerSnapshot;
file_identifier "GMBS";