fix: hints for VarLong
This commit is contained in:
parent
9567201129
commit
10684be970
6 changed files with 78 additions and 76 deletions
|
@ -11,7 +11,7 @@ class PacketInitializeWorldBorder(Packet):
|
|||
newDiameter : float
|
||||
oldDiameter : float
|
||||
portalTeleportBoundary : int
|
||||
speed : Union[bytes,int]
|
||||
speed : int
|
||||
warningBlocks : int
|
||||
warningTime : int
|
||||
x : float
|
||||
|
@ -21,7 +21,7 @@ class PacketInitializeWorldBorder(Packet):
|
|||
newDiameter:float=None,
|
||||
oldDiameter:float=None,
|
||||
portalTeleportBoundary:int=None,
|
||||
speed:Union[bytes,int]=None,
|
||||
speed:int=None,
|
||||
warningBlocks:int=None,
|
||||
warningTime:int=None,
|
||||
x:float=None,
|
||||
|
@ -51,10 +51,10 @@ class PacketInitializeWorldBorder(Packet):
|
|||
761 : 30
|
||||
}
|
||||
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||
755 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', TrailingData ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
756 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', TrailingData ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
757 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', TrailingData ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
758 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', TrailingData ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
755 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarLong ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
756 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarLong ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
757 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarLong ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
758 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarLong ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
759 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarInt ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
760 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarInt ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||
761 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarInt ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ]
|
||||
|
|
|
@ -112,11 +112,11 @@ class PacketMultiBlockChange(Packet):
|
|||
734 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||
735 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||
736 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||
751 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(TrailingData, VarInt, ) ) ],
|
||||
755 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(TrailingData, VarInt, ) ) ],
|
||||
756 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(TrailingData, VarInt, ) ) ],
|
||||
757 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(TrailingData, VarInt, ) ) ],
|
||||
758 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(TrailingData, VarInt, ) ) ],
|
||||
751 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarLong, VarInt, ) ) ],
|
||||
755 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarLong, VarInt, ) ) ],
|
||||
756 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarLong, VarInt, ) ) ],
|
||||
757 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarLong, VarInt, ) ) ],
|
||||
758 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarLong, VarInt, ) ) ],
|
||||
759 : [ ( 'chunkCoordinates', Long ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarInt, VarInt, ) ) ],
|
||||
760 : [ ( 'chunkCoordinates', Long ), ( 'suppressLightUpdates', Boolean ), ( 'records', ArrayType(VarInt, VarInt, ) ) ],
|
||||
761 : [ ( 'chunkCoordinates', Long ), ( 'suppressLightUpdates', Boolean ), ( 'records', ArrayType(VarInt, VarInt, ) ) ]
|
||||
|
|
|
@ -13,7 +13,7 @@ class PacketWorldBorder(Packet):
|
|||
old_radius : Union[None, float]
|
||||
portalBoundary : Union[None, int]
|
||||
radius : Union[None, float]
|
||||
speed : Union[None, bytes]
|
||||
speed : Union[None, int]
|
||||
warning_blocks : Union[None, int]
|
||||
warning_time : Union[None, int]
|
||||
x : Union[None, float]
|
||||
|
@ -25,7 +25,7 @@ class PacketWorldBorder(Packet):
|
|||
old_radius:Union[None, float]=None,
|
||||
portalBoundary:Union[None, int]=None,
|
||||
radius:Union[None, float]=None,
|
||||
speed:Union[None, bytes]=None,
|
||||
speed:Union[None, int]=None,
|
||||
warning_blocks:Union[None, int]=None,
|
||||
warning_time:Union[None, int]=None,
|
||||
x:Union[None, float]=None,
|
||||
|
@ -84,38 +84,38 @@ class PacketWorldBorder(Packet):
|
|||
751 : 61
|
||||
}
|
||||
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||
47 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
76 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
107 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
108 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
109 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
110 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
201 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
210 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
304 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
315 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
321 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
327 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
331 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
335 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
338 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
340 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
351 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
393 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
401 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
402 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
403 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
404 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
477 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
480 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
490 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
498 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
573 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
575 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
578 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
709 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
734 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
735 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
736 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
751 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : TrailingData, 3 : TrailingData }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ]
|
||||
47 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
76 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
107 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
108 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
109 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
110 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
201 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
210 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
304 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
315 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
321 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
327 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
331 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
335 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
338 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
340 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
351 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
393 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
401 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
402 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
403 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
404 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
477 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
480 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
490 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
498 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
573 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
575 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
578 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
709 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
734 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
735 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
736 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ],
|
||||
751 : [ ( 'action', VarInt ), ( 'radius', SwitchType('action', { 0 : Double }, None, ) ), ( 'x', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'z', SwitchType('action', { 2 : Double, 3 : Double }, None, ) ), ( 'old_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'new_radius', SwitchType('action', { 1 : Double, 3 : Double }, None, ) ), ( 'speed', SwitchType('action', { 1 : VarLong, 3 : VarLong }, None, ) ), ( 'portalBoundary', SwitchType('action', { 3 : VarInt }, None, ) ), ( 'warning_time', SwitchType('action', { 3 : VarInt, 4 : VarInt }, None, ) ), ( 'warning_blocks', SwitchType('action', { 3 : VarInt, 5 : VarInt }, None, ) ) ]
|
||||
}
|
||||
|
|
|
@ -10,12 +10,12 @@ class PacketWorldBorderLerpSize(Packet):
|
|||
|
||||
newDiameter : float
|
||||
oldDiameter : float
|
||||
speed : Union[bytes,int]
|
||||
speed : int
|
||||
|
||||
def __init__(self, proto:int,
|
||||
newDiameter:float=None,
|
||||
oldDiameter:float=None,
|
||||
speed:Union[bytes,int]=None,
|
||||
speed:int=None,
|
||||
**kwargs
|
||||
):
|
||||
super().__init__(proto,
|
||||
|
@ -36,10 +36,10 @@ class PacketWorldBorderLerpSize(Packet):
|
|||
761 : 68
|
||||
}
|
||||
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||
755 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', TrailingData ) ],
|
||||
756 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', TrailingData ) ],
|
||||
757 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', TrailingData ) ],
|
||||
758 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', TrailingData ) ],
|
||||
755 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarLong ) ],
|
||||
756 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarLong ) ],
|
||||
757 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarLong ) ],
|
||||
758 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarLong ) ],
|
||||
759 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarInt ) ],
|
||||
760 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarInt ) ],
|
||||
761 : [ ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarInt ) ]
|
||||
|
|
|
@ -20,7 +20,7 @@ class PacketUpdateStructureBlock(Packet):
|
|||
offset_y : int
|
||||
offset_z : int
|
||||
rotation : int
|
||||
seed : Union[bytes,int]
|
||||
seed : int
|
||||
size_x : int
|
||||
size_y : int
|
||||
size_z : int
|
||||
|
@ -38,7 +38,7 @@ class PacketUpdateStructureBlock(Packet):
|
|||
offset_y:int=None,
|
||||
offset_z:int=None,
|
||||
rotation:int=None,
|
||||
seed:Union[bytes,int]=None,
|
||||
seed:int=None,
|
||||
size_x:int=None,
|
||||
size_y:int=None,
|
||||
size_z:int=None,
|
||||
|
@ -92,27 +92,27 @@ class PacketUpdateStructureBlock(Packet):
|
|||
761 : 45
|
||||
}
|
||||
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||
393 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
401 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
402 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
403 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
404 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
477 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
480 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
490 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
498 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
573 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
575 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
578 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
709 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
734 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
735 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
736 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
751 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
755 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
756 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
757 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
758 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', TrailingData ), ( 'flags', Byte ) ],
|
||||
393 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
401 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
402 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
403 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
404 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
477 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
480 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
490 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
498 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
573 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
575 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
578 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
709 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
734 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
735 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
736 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
751 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
755 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
756 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
757 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
758 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarLong ), ( 'flags', Byte ) ],
|
||||
759 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarInt ), ( 'flags', Byte ) ],
|
||||
760 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarInt ), ( 'flags', Byte ) ],
|
||||
761 : [ ( 'location', Position ), ( 'action', VarInt ), ( 'mode', VarInt ), ( 'name', String ), ( 'offset_x', Byte ), ( 'offset_y', Byte ), ( 'offset_z', Byte ), ( 'size_x', Byte ), ( 'size_y', Byte ), ( 'size_z', Byte ), ( 'mirror', VarInt ), ( 'rotation', VarInt ), ( 'metadata', String ), ( 'integrity', Float ), ( 'seed', VarInt ), ( 'flags', Byte ) ]
|
||||
|
|
|
@ -71,6 +71,7 @@ class Ref:
|
|||
|
||||
TYPE_MAP = {
|
||||
"varint": Ref('VarInt'),
|
||||
"varlong": Ref('VarLong'),
|
||||
"u8": Ref('Byte'),
|
||||
"i8": Ref('Byte'),
|
||||
"u16": Ref('UnsignedShort'),
|
||||
|
@ -96,6 +97,7 @@ TYPE_MAP = {
|
|||
|
||||
HINT_MAP = {
|
||||
"varint": 'int',
|
||||
"varlong": 'int',
|
||||
"u8": 'int',
|
||||
"i8": 'int',
|
||||
"u16": 'int',
|
||||
|
|
Loading…
Reference in a new issue