3 files changed
+3
-1
No files matched your search
@@ -374,6 +374,7 @@ class EntityLookPacket(Packet):
|
|||||||
{'on_ground': Boolean}
|
{'on_ground': Boolean}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
class ResourcePackSendPacket(Packet):
|
class ResourcePackSendPacket(Packet):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_id(context):
|
def get_id(context):
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ class PlayerPositionAndLookPacket(Packet, BitFieldEnum):
|
|||||||
{'pitch': Float},
|
{'pitch': Float},
|
||||||
{'flags': Byte},
|
{'flags': Byte},
|
||||||
{'teleport_id': VarInt} if context.protocol_later_eq(107) else {},
|
{'teleport_id': VarInt} if context.protocol_later_eq(107) else {},
|
||||||
{'dismount_vehicle':Boolean} if context.protocol_later_eq(755) else {},
|
{'dismount_vehicle': Boolean} if context.protocol_later_eq(755) else {},
|
||||||
])
|
])
|
||||||
|
|
||||||
# Access the 'x', 'y', 'z' fields as a Vector tuple.
|
# Access the 'x', 'y', 'z' fields as a Vector tuple.
|
||||||
|
|||||||
@@ -268,6 +268,7 @@ class UseItemPacket(Packet):
|
|||||||
|
|
||||||
Hand = RelativeHand
|
Hand = RelativeHand
|
||||||
|
|
||||||
|
|
||||||
class ResourcePackStatusPacket(Packet):
|
class ResourcePackStatusPacket(Packet):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_id(context):
|
def get_id(context):
|
||||||
|
|||||||
Reference in new issue
Block a user