Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions data/pc/1.10-pre1/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
optionalNbt: native
ByteArray: ["buffer", { "countType": "varint" }]
string: ["pstring", { "countType": "varint" }]
vec3i16:
x: i16
y: i16
z: i16
slot:
blockId: i16
_: blockId ?
Expand Down Expand Up @@ -232,9 +236,7 @@
pitch: i8
yaw: i8
objectData: i32
velocityX: i16
velocityY: i16
velocityZ: i16
velocity: vec3i16
packet_spawn_entity_experience_orb:
entityId: varint
x: f64
Expand All @@ -257,9 +259,7 @@
yaw: i8
pitch: i8
headPitch: i8
velocityX: i16
velocityY: i16
velocityZ: i16
velocity: vec3i16
metadata: entityMetadata
packet_spawn_entity_painting:
entityId: varint
Expand Down Expand Up @@ -621,9 +621,7 @@
vehicleId: i32
packet_entity_velocity:
entityId: varint
velocityX: i16
velocityY: i16
velocityZ: i16
velocity: vec3i16
packet_entity_equipment:
entityId: varint
slot: varint
Expand Down
53 changes: 23 additions & 30 deletions data/pc/1.10-pre1/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@
"countType": "varint"
}
],
"vec3i16": [
"container",
[
{
"name": "x",
"type": "i16"
},
{
"name": "y",
"type": "i16"
},
{
"name": "z",
"type": "i16"
}
]
],
"slot": [
"container",
[
Expand Down Expand Up @@ -583,16 +600,8 @@
"type": "i32"
},
{
"name": "velocityX",
"type": "i16"
},
{
"name": "velocityY",
"type": "i16"
},
{
"name": "velocityZ",
"type": "i16"
"name": "velocity",
"type": "vec3i16"
}
]
],
Expand Down Expand Up @@ -686,16 +695,8 @@
"type": "i8"
},
{
"name": "velocityX",
"type": "i16"
},
{
"name": "velocityY",
"type": "i16"
},
{
"name": "velocityZ",
"type": "i16"
"name": "velocity",
"type": "vec3i16"
},
{
"name": "metadata",
Expand Down Expand Up @@ -2250,16 +2251,8 @@
"type": "varint"
},
{
"name": "velocityX",
"type": "i16"
},
{
"name": "velocityY",
"type": "i16"
},
{
"name": "velocityZ",
"type": "i16"
"name": "velocity",
"type": "vec3i16"
}
]
],
Expand Down
16 changes: 7 additions & 9 deletions data/pc/1.10/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
optionalNbt: native
ByteArray: ["buffer", { "countType": "varint" }]
string: ["pstring", { "countType": "varint" }]
vec3i16:
x: i16
y: i16
z: i16
slot:
blockId: i16
_: blockId ?
Expand Down Expand Up @@ -232,9 +236,7 @@
pitch: i8
yaw: i8
objectData: i32
velocityX: i16
velocityY: i16
velocityZ: i16
velocity: vec3i16
packet_spawn_entity_experience_orb:
entityId: varint
x: f64
Expand All @@ -257,9 +259,7 @@
yaw: i8
pitch: i8
headPitch: i8
velocityX: i16
velocityY: i16
velocityZ: i16
velocity: vec3i16
metadata: entityMetadata
packet_spawn_entity_painting:
entityId: varint
Expand Down Expand Up @@ -621,9 +621,7 @@
vehicleId: i32
packet_entity_velocity:
entityId: varint
velocityX: i16
velocityY: i16
velocityZ: i16
velocity: vec3i16
packet_entity_equipment:
entityId: varint
slot: varint
Expand Down
53 changes: 23 additions & 30 deletions data/pc/1.10/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@
"countType": "varint"
}
],
"vec3i16": [
"container",
[
{
"name": "x",
"type": "i16"
},
{
"name": "y",
"type": "i16"
},
{
"name": "z",
"type": "i16"
}
]
],
"slot": [
"container",
[
Expand Down Expand Up @@ -583,16 +600,8 @@
"type": "i32"
},
{
"name": "velocityX",
"type": "i16"
},
{
"name": "velocityY",
"type": "i16"
},
{
"name": "velocityZ",
"type": "i16"
"name": "velocity",
"type": "vec3i16"
}
]
],
Expand Down Expand Up @@ -686,16 +695,8 @@
"type": "i8"
},
{
"name": "velocityX",
"type": "i16"
},
{
"name": "velocityY",
"type": "i16"
},
{
"name": "velocityZ",
"type": "i16"
"name": "velocity",
"type": "vec3i16"
},
{
"name": "metadata",
Expand Down Expand Up @@ -2250,16 +2251,8 @@
"type": "varint"
},
{
"name": "velocityX",
"type": "i16"
},
{
"name": "velocityY",
"type": "i16"
},
{
"name": "velocityZ",
"type": "i16"
"name": "velocity",
"type": "vec3i16"
}
]
],
Expand Down
16 changes: 7 additions & 9 deletions data/pc/1.11/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
optionalNbt: native
ByteArray: ["buffer", { "countType": "varint" }]
string: ["pstring", { "countType": "varint" }]
vec3i16:
x: i16
y: i16
z: i16
slot:
blockId: i16
_: blockId ?
Expand Down Expand Up @@ -232,9 +236,7 @@
pitch: i8
yaw: i8
objectData: i32
velocityX: i16
velocityY: i16
velocityZ: i16
velocity: vec3i16
packet_spawn_entity_experience_orb:
entityId: varint
x: f64
Expand All @@ -257,9 +259,7 @@
yaw: i8
pitch: i8
headPitch: i8
velocityX: i16
velocityY: i16
velocityZ: i16
velocity: vec3i16
metadata: entityMetadata
packet_spawn_entity_painting:
entityId: varint
Expand Down Expand Up @@ -621,9 +621,7 @@
vehicleId: i32
packet_entity_velocity:
entityId: varint
velocityX: i16
velocityY: i16
velocityZ: i16
velocity: vec3i16
packet_entity_equipment:
entityId: varint
slot: varint
Expand Down
53 changes: 23 additions & 30 deletions data/pc/1.11/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@
"countType": "varint"
}
],
"vec3i16": [
"container",
[
{
"name": "x",
"type": "i16"
},
{
"name": "y",
"type": "i16"
},
{
"name": "z",
"type": "i16"
}
]
],
"slot": [
"container",
[
Expand Down Expand Up @@ -583,16 +600,8 @@
"type": "i32"
},
{
"name": "velocityX",
"type": "i16"
},
{
"name": "velocityY",
"type": "i16"
},
{
"name": "velocityZ",
"type": "i16"
"name": "velocity",
"type": "vec3i16"
}
]
],
Expand Down Expand Up @@ -686,16 +695,8 @@
"type": "i8"
},
{
"name": "velocityX",
"type": "i16"
},
{
"name": "velocityY",
"type": "i16"
},
{
"name": "velocityZ",
"type": "i16"
"name": "velocity",
"type": "vec3i16"
},
{
"name": "metadata",
Expand Down Expand Up @@ -2250,16 +2251,8 @@
"type": "varint"
},
{
"name": "velocityX",
"type": "i16"
},
{
"name": "velocityY",
"type": "i16"
},
{
"name": "velocityZ",
"type": "i16"
"name": "velocity",
"type": "vec3i16"
}
]
],
Expand Down
Loading