diff --git a/data/protocol.json b/data/protocol.json index 4fe3fcd..2df5c27 100644 --- a/data/protocol.json +++ b/data/protocol.json @@ -6,6 +6,33 @@ "countType":"short" } ], + "entitymotions": [ + "array", + { + "countType":"i16", + "type": [ + "container", + [ + { + "name": "eid", + "type": "i64" + }, + { + "name": "motX", + "type": "f32" + }, + { + "name": "motY", + "type": "f32" + }, + { + "name": "motZ", + "type": "f32" + } + ] + ] + } + ], "vector3": [ "container", [ @@ -23,47 +50,62 @@ } ] ], - "entitylocations": [ + "blockcoordinates": [ + "container", [ - "array", { - "countType":"i16", - "type": [ - "container", - [ - { - "name": "eid", - "type": "i64" - }, - { - "name": "x", - "type": "f32" - }, - { - "name": "y", - "type": "f32" - }, - { - "name": "z", - "type": "f32" - }, - { - "name": "yaw", - "type": "f32" - }, - { - "name": "headYaw", - "type": "f32" - }, - { - "name": "pitch", - "type": "f32" - } - ] - ] + "name": "x", + "type": "i32" + }, + { + "name": "y", + "type": "i32" + }, + { + "name": "z", + "type": "i32" } ] ], + "entitylocations": [ + "array", + { + "countType":"i16", + "type": [ + "container", + [ + { + "name": "eid", + "type": "i64" + }, + { + "name": "x", + "type": "f32" + }, + { + "name": "y", + "type": "f32" + }, + { + "name": "z", + "type": "f32" + }, + { + "name": "yaw", + "type": "f32" + }, + { + "name": "headYaw", + "type": "f32" + }, + { + "name": "pitch", + "type": "f32" + } + ] + ] + } + ], "packet": [ "container", [