recompiled proto (ughh why does the order change...)

This commit is contained in:
əlemi 2022-01-04 15:38:25 +01:00
parent d483dfa068
commit 4ed1825196
114 changed files with 450 additions and 450 deletions

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketSetProtocol(Packet):
__slots__ = ( 'id', 'serverHost', 'nextState', 'protocolVersion', 'serverPort' )
__slots__ = ( 'id', 'nextState', 'serverPort', 'protocolVersion', 'serverHost' )
serverHost : str
nextState : int
protocolVersion : int
serverPort : int
protocolVersion : int
serverHost : str
_state : int = 0

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketEncryptionBegin(Packet):
__slots__ = ( 'id', 'verifyToken', 'publicKey', 'serverId' )
__slots__ = ( 'id', 'publicKey', 'serverId', 'verifyToken' )
verifyToken : bytes
publicKey : bytes
serverId : str
verifyToken : bytes
_state : int = 2

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketLoginPluginRequest(Packet):
__slots__ = ( 'id', 'messageId', 'channel', 'data' )
__slots__ = ( 'id', 'channel', 'messageId', 'data' )
messageId : int
channel : str
messageId : int
data : bytes
_state : int = 2

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketSuccess(Packet):
__slots__ = ( 'id', 'username', 'uuid' )
__slots__ = ( 'id', 'uuid', 'username' )
username : str
uuid : str
username : str
_state : int = 2

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketEncryptionBegin(Packet):
__slots__ = ( 'id', 'verifyToken', 'sharedSecret' )
__slots__ = ( 'id', 'sharedSecret', 'verifyToken' )
verifyToken : bytes
sharedSecret : bytes
verifyToken : bytes
_state : int = 2

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketAbilities(Packet):
__slots__ = ( 'id', 'flags', 'walkingSpeed', 'flyingSpeed' )
__slots__ = ( 'id', 'flyingSpeed', 'flags', 'walkingSpeed' )
flyingSpeed : float
flags : int
walkingSpeed : float
flyingSpeed : float
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketAcknowledgePlayerDigging(Packet):
__slots__ = ( 'id', 'block', 'location', 'status', 'successful' )
__slots__ = ( 'id', 'location', 'status', 'successful', 'block' )
block : int
location : tuple
status : int
successful : bool
block : int
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketAdvancements(Packet):
__slots__ = ( 'id', 'advancementMapping', 'identifiers', 'reset', 'progressMapping' )
__slots__ = ( 'id', 'reset', 'progressMapping', 'advancementMapping', 'identifiers' )
advancementMapping : list
identifiers : list
reset : bool
progressMapping : list
advancementMapping : list
identifiers : list
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketAttachEntity(Packet):
__slots__ = ( 'id', 'leash', 'vehicleId', 'entityId' )
__slots__ = ( 'id', 'vehicleId', 'entityId', 'leash' )
leash : bool
vehicleId : int
entityId : int
leash : bool
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketBlockAction(Packet):
__slots__ = ( 'id', 'location', 'byte2', 'byte1', 'blockId' )
__slots__ = ( 'id', 'location', 'byte2', 'blockId', 'byte1' )
location : Union[bytes,tuple]
byte2 : int
byte1 : int
blockId : int
byte1 : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketBlockBreakAnimation(Packet):
__slots__ = ( 'id', 'location', 'entityId', 'destroyStage' )
__slots__ = ( 'id', 'location', 'destroyStage', 'entityId' )
location : Union[bytes,tuple]
entityId : int
destroyStage : int
entityId : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketBlockChange(Packet):
__slots__ = ( 'id', 'metadata', 'location', 'type' )
__slots__ = ( 'id', 'location', 'type', 'metadata' )
metadata : int
location : Union[bytes,tuple]
type : int
metadata : int
_state : int = 3

View file

@ -5,15 +5,15 @@ from ....packet import Packet
from ....types import *
class PacketBossBar(Packet):
__slots__ = ( 'id', 'dividers', 'flags', 'health', 'title', 'color', 'action', 'entityUUID' )
__slots__ = ( 'id', 'health', 'flags', 'dividers', 'entityUUID', 'action', 'color', 'title' )
dividers : bytes
flags : bytes
health : bytes
title : bytes
color : bytes
action : int
flags : bytes
dividers : bytes
entityUUID : str
action : int
color : bytes
title : bytes
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketChat(Packet):
__slots__ = ( 'id', 'position', 'sender', 'message' )
__slots__ = ( 'id', 'message', 'sender', 'position' )
position : int
sender : str
message : str
sender : str
position : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketCollect(Packet):
__slots__ = ( 'id', 'collectedEntityId', 'pickupItemCount', 'collectorEntityId' )
__slots__ = ( 'id', 'collectedEntityId', 'collectorEntityId', 'pickupItemCount' )
collectedEntityId : int
pickupItemCount : int
collectorEntityId : int
pickupItemCount : int
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketCombatEvent(Packet):
__slots__ = ( 'id', 'event', 'playerId', 'message', 'entityId', 'duration' )
__slots__ = ( 'id', 'entityId', 'event', 'message', 'playerId', 'duration' )
event : int
playerId : bytes
message : bytes
entityId : bytes
event : int
message : bytes
playerId : bytes
duration : bytes
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketCraftProgressBar(Packet):
__slots__ = ( 'id', 'windowId', 'value', 'property' )
__slots__ = ( 'id', 'value', 'windowId', 'property' )
windowId : int
value : int
windowId : int
property : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketDeathCombatEvent(Packet):
__slots__ = ( 'id', 'playerId', 'entityId', 'message' )
__slots__ = ( 'id', 'message', 'entityId', 'playerId' )
playerId : int
entityId : int
message : str
entityId : int
playerId : int
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketDeclareCommands(Packet):
__slots__ = ( 'id', 'rootIndex', 'nodes' )
__slots__ = ( 'id', 'nodes', 'rootIndex' )
rootIndex : int
nodes : list
rootIndex : int
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketDifficulty(Packet):
__slots__ = ( 'id', 'difficulty', 'difficultyLocked' )
__slots__ = ( 'id', 'difficultyLocked', 'difficulty' )
difficulty : int
difficultyLocked : bool
difficulty : int
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketEntityEffect(Packet):
__slots__ = ( 'id', 'entityId', 'amplifier', 'hideParticles', 'duration', 'effectId' )
__slots__ = ( 'id', 'amplifier', 'entityId', 'effectId', 'duration', 'hideParticles' )
entityId : int
amplifier : int
hideParticles : Union[bool,int]
duration : int
entityId : int
effectId : int
duration : int
hideParticles : Union[int,bool]
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketEntityEquipment(Packet):
__slots__ = ( 'id', 'item', 'slot', 'entityId', 'equipments' )
__slots__ = ( 'id', 'equipments', 'item', 'entityId', 'slot' )
item : dict
slot : int
entityId : int
equipments : bytes
item : dict
entityId : int
slot : int
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketEntityHeadRotation(Packet):
__slots__ = ( 'id', 'headYaw', 'entityId' )
__slots__ = ( 'id', 'entityId', 'headYaw' )
headYaw : int
entityId : int
headYaw : int
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketEntityLook(Packet):
__slots__ = ( 'id', 'yaw', 'pitch', 'entityId', 'onGround' )
__slots__ = ( 'id', 'onGround', 'entityId', 'yaw', 'pitch' )
onGround : bool
entityId : int
yaw : int
pitch : int
entityId : int
onGround : bool
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketEntityMetadata(Packet):
__slots__ = ( 'id', 'metadata', 'entityId' )
__slots__ = ( 'id', 'entityId', 'metadata' )
metadata : bytes
entityId : int
metadata : dict
_state : int = 3

View file

@ -5,15 +5,15 @@ from ....packet import Packet
from ....types import *
class PacketEntityMoveLook(Packet):
__slots__ = ( 'id', 'dX', 'pitch', 'dY', 'yaw', 'entityId', 'onGround', 'dZ' )
__slots__ = ( 'id', 'entityId', 'onGround', 'dZ', 'dX', 'yaw', 'pitch', 'dY' )
dX : int
pitch : int
dY : int
yaw : int
entityId : int
onGround : bool
dZ : int
dX : int
yaw : int
pitch : int
dY : int
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketEntitySoundEffect(Packet):
__slots__ = ( 'id', 'pitch', 'soundId', 'soundCategory', 'entityId', 'volume' )
__slots__ = ( 'id', 'entityId', 'soundCategory', 'volume', 'pitch', 'soundId' )
entityId : int
soundCategory : int
volume : float
pitch : float
soundId : int
soundCategory : int
entityId : int
volume : float
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketEntityStatus(Packet):
__slots__ = ( 'id', 'entityId', 'entityStatus' )
__slots__ = ( 'id', 'entityStatus', 'entityId' )
entityId : int
entityStatus : int
entityId : int
_state : int = 3

View file

@ -5,15 +5,15 @@ from ....packet import Packet
from ....types import *
class PacketEntityTeleport(Packet):
__slots__ = ( 'id', 'pitch', 'x', 'yaw', 'z', 'y', 'entityId', 'onGround' )
__slots__ = ( 'id', 'entityId', 'onGround', 'z', 'yaw', 'x', 'pitch', 'y' )
pitch : int
x : Union[int,float]
yaw : int
z : Union[int,float]
y : Union[int,float]
entityId : int
onGround : bool
z : Union[int,float]
yaw : int
x : Union[int,float]
pitch : int
y : Union[int,float]
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketEntityVelocity(Packet):
__slots__ = ( 'id', 'velocityX', 'velocityY', 'entityId', 'velocityZ' )
__slots__ = ( 'id', 'velocityX', 'velocityZ', 'entityId', 'velocityY' )
velocityX : int
velocityY : int
entityId : int
velocityZ : int
entityId : int
velocityY : int
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketExperience(Packet):
__slots__ = ( 'id', 'experienceBar', 'level', 'totalExperience' )
__slots__ = ( 'id', 'level', 'experienceBar', 'totalExperience' )
experienceBar : float
level : int
experienceBar : float
totalExperience : int
_state : int = 3

View file

@ -5,16 +5,16 @@ from ....packet import Packet
from ....types import *
class PacketExplosion(Packet):
__slots__ = ( 'id', 'radius', 'x', 'affectedBlockOffsets', 'z', 'y', 'playerMotionY', 'playerMotionZ', 'playerMotionX' )
__slots__ = ( 'id', 'affectedBlockOffsets', 'z', 'x', 'radius', 'playerMotionX', 'y', 'playerMotionZ', 'playerMotionY' )
radius : float
x : float
affectedBlockOffsets : list
z : float
y : float
playerMotionY : float
playerMotionZ : float
x : float
radius : float
playerMotionX : float
y : float
playerMotionZ : float
playerMotionY : float
_state : int = 3

View file

@ -5,15 +5,15 @@ from ....packet import Packet
from ....types import *
class PacketFacePlayer(Packet):
__slots__ = ( 'id', 'x', 'entity_feet_eyes', 'z', 'y', 'entityId', 'feet_eyes', 'isEntity' )
__slots__ = ( 'id', 'entityId', 'isEntity', 'z', 'feet_eyes', 'x', 'entity_feet_eyes', 'y' )
entityId : bytes
isEntity : bool
z : float
feet_eyes : int
x : float
entity_feet_eyes : bytes
z : float
y : float
entityId : bytes
feet_eyes : int
isEntity : bool
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketGameStateChange(Packet):
__slots__ = ( 'id', 'gameMode', 'reason' )
__slots__ = ( 'id', 'reason', 'gameMode' )
gameMode : float
reason : int
gameMode : float
_state : int = 3

View file

@ -5,16 +5,16 @@ from ....packet import Packet
from ....types import *
class PacketInitializeWorldBorder(Packet):
__slots__ = ( 'id', 'warningTime', 'x', 'newDiameter', 'oldDiameter', 'warningBlocks', 'z', 'portalTeleportBoundary', 'speed' )
__slots__ = ( 'id', 'warningTime', 'z', 'oldDiameter', 'x', 'portalTeleportBoundary', 'warningBlocks', 'speed', 'newDiameter' )
warningTime : int
x : float
newDiameter : float
oldDiameter : float
warningBlocks : int
z : float
oldDiameter : float
x : float
portalTeleportBoundary : int
warningBlocks : int
speed : int
newDiameter : float
_state : int = 3

View file

@ -5,26 +5,26 @@ from ....packet import Packet
from ....types import *
class PacketLogin(Packet):
__slots__ = ( 'id', 'gameMode', 'worldName', 'dimensionCodec', 'isHardcore', 'viewDistance', 'simulationDistance', 'reducedDebugInfo', 'hashedSeed', 'maxPlayers', 'isDebug', 'previousGameMode', 'enableRespawnScreen', 'difficulty', 'entityId', 'isFlat', 'worldNames', 'levelType', 'dimension' )
__slots__ = ( 'id', 'worldNames', 'reducedDebugInfo', 'entityId', 'gameMode', 'viewDistance', 'isHardcore', 'enableRespawnScreen', 'simulationDistance', 'dimensionCodec', 'isFlat', 'isDebug', 'hashedSeed', 'dimension', 'difficulty', 'levelType', 'maxPlayers', 'previousGameMode', 'worldName' )
gameMode : int
worldName : str
dimensionCodec : bytes
isHardcore : bool
viewDistance : int
simulationDistance : int
reducedDebugInfo : bool
hashedSeed : int
maxPlayers : int
isDebug : bool
previousGameMode : int
enableRespawnScreen : bool
difficulty : int
entityId : int
isFlat : bool
worldNames : list
reducedDebugInfo : bool
entityId : int
gameMode : int
viewDistance : int
isHardcore : bool
enableRespawnScreen : bool
simulationDistance : int
dimensionCodec : bytes
isFlat : bool
isDebug : bool
hashedSeed : int
dimension : Union[int,bytes,str]
difficulty : int
levelType : str
dimension : Union[str,int,bytes]
maxPlayers : int
previousGameMode : int
worldName : str
_state : int = 3

View file

@ -5,18 +5,18 @@ from ....packet import Packet
from ....types import *
class PacketMap(Packet):
__slots__ = ( 'id', 'scale', 'x', 'trackingPosition', 'itemDamage', 'data', 'icons', 'y', 'columns', 'rows', 'locked' )
__slots__ = ( 'id', 'rows', 'itemDamage', 'columns', 'scale', 'x', 'locked', 'trackingPosition', 'y', 'data', 'icons' )
rows : bytes
itemDamage : int
columns : int
scale : int
x : bytes
locked : bool
trackingPosition : bool
itemDamage : int
y : bytes
data : bytes
icons : Union[list,tuple]
y : bytes
columns : int
rows : bytes
locked : bool
_state : int = 3

View file

@ -5,27 +5,27 @@ from ....packet import Packet
from ....types import *
class PacketMapChunk(Packet):
__slots__ = ( 'id', 'trustEdges', 'biomes', 'groundUp', 'chunkData', 'skyLight', 'ignoreOldData', 'emptySkyLightMask', 'blockEntities', 'skyLightMask', 'primaryBitMask', 'compressedChunkData', 'bitMap', 'addBitMap', 'emptyBlockLightMask', 'x', 'blockLight', 'blockLightMask', 'heightmaps', 'z' )
__slots__ = ( 'id', 'skyLightMask', 'z', 'blockLight', 'emptySkyLightMask', 'x', 'compressedChunkData', 'primaryBitMask', 'blockEntities', 'chunkData', 'groundUp', 'emptyBlockLightMask', 'bitMap', 'addBitMap', 'ignoreOldData', 'skyLight', 'biomes', 'blockLightMask', 'trustEdges', 'heightmaps' )
trustEdges : bool
biomes : Union[bytes,list]
groundUp : bool
chunkData : bytes
skyLight : list
ignoreOldData : bool
emptySkyLightMask : list
blockEntities : list
skyLightMask : list
primaryBitMask : list
compressedChunkData : bytes
bitMap : Union[list,int]
addBitMap : int
emptyBlockLightMask : list
x : int
blockLight : list
blockLightMask : list
heightmaps : bytes
z : int
blockLight : list
emptySkyLightMask : list
x : int
compressedChunkData : bytes
primaryBitMask : list
blockEntities : list
chunkData : bytes
groundUp : bool
emptyBlockLightMask : list
bitMap : Union[int,list]
addBitMap : int
ignoreOldData : bool
skyLight : list
biomes : Union[bytes,list]
blockLightMask : list
trustEdges : bool
heightmaps : bytes
_state : int = 3

View file

@ -5,14 +5,14 @@ from ....packet import Packet
from ....types import *
class PacketMapChunkBulk(Packet):
__slots__ = ( 'id', 'data', 'meta', 'dataLength', 'compressedChunkData', 'chunkColumnCount', 'skyLightSent' )
__slots__ = ( 'id', 'meta', 'skyLightSent', 'dataLength', 'chunkColumnCount', 'compressedChunkData', 'data' )
data : bytes
meta : list
dataLength : bytes
compressedChunkData : bytes
chunkColumnCount : bytes
skyLightSent : bool
dataLength : bytes
chunkColumnCount : bytes
compressedChunkData : bytes
data : bytes
_state : int = 3

View file

@ -5,15 +5,15 @@ from ....packet import Packet
from ....types import *
class PacketMultiBlockChange(Packet):
__slots__ = ( 'id', 'chunkCoordinates', 'dataLength', 'notTrustEdges', 'recordCount', 'records', 'chunkX', 'chunkZ' )
__slots__ = ( 'id', 'chunkX', 'recordCount', 'records', 'dataLength', 'notTrustEdges', 'chunkZ', 'chunkCoordinates' )
chunkCoordinates : bytes
dataLength : int
notTrustEdges : bool
chunkX : int
recordCount : bytes
records : list
chunkX : int
dataLength : int
notTrustEdges : bool
chunkZ : int
chunkCoordinates : bytes
_state : int = 3

View file

@ -5,19 +5,19 @@ from ....packet import Packet
from ....types import *
class PacketNamedEntitySpawn(Packet):
__slots__ = ( 'id', 'pitch', 'playerName', 'x', 'data', 'z', 'yaw', 'y', 'entityId', 'currentItem', 'playerUUID', 'metadata' )
__slots__ = ( 'id', 'currentItem', 'entityId', 'z', 'playerName', 'x', 'yaw', 'pitch', 'playerUUID', 'metadata', 'y', 'data' )
pitch : int
currentItem : int
entityId : int
z : Union[int,float]
playerName : str
x : Union[int,float]
data : list
z : Union[int,float]
yaw : int
y : Union[int,float]
entityId : int
currentItem : int
pitch : int
playerUUID : str
metadata : bytes
metadata : dict
y : Union[int,float]
data : list
_state : int = 3

View file

@ -5,15 +5,15 @@ from ....packet import Packet
from ....types import *
class PacketNamedSoundEffect(Packet):
__slots__ = ( 'id', 'pitch', 'x', 'soundName', 'z', 'y', 'soundCategory', 'volume' )
__slots__ = ( 'id', 'z', 'soundCategory', 'volume', 'x', 'pitch', 'y', 'soundName' )
pitch : Union[int,float]
x : int
soundName : str
z : int
y : int
soundCategory : int
volume : float
x : int
pitch : Union[int,float]
y : int
soundName : str
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketNbtQueryResponse(Packet):
__slots__ = ( 'id', 'nbt', 'transactionId' )
__slots__ = ( 'id', 'transactionId', 'nbt' )
nbt : bytes
transactionId : int
nbt : bytes
_state : int = 3

View file

@ -5,14 +5,14 @@ from ....packet import Packet
from ....types import *
class PacketOpenWindow(Packet):
__slots__ = ( 'id', 'useProvidedTitle', 'windowId', 'inventoryType', 'slotCount', 'windowTitle', 'entityId' )
__slots__ = ( 'id', 'slotCount', 'windowTitle', 'entityId', 'inventoryType', 'windowId', 'useProvidedTitle' )
useProvidedTitle : bool
windowId : int
inventoryType : Union[str,int]
slotCount : int
windowTitle : str
entityId : bytes
inventoryType : Union[str,int]
windowId : int
useProvidedTitle : bool
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketPlayerInfo(Packet):
__slots__ = ( 'id', 'playerName', 'data', 'online', 'action', 'ping' )
__slots__ = ( 'id', 'online', 'ping', 'playerName', 'action', 'data' )
playerName : str
data : list
online : bool
action : int
ping : int
playerName : str
action : int
data : list
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketPlayerlistHeader(Packet):
__slots__ = ( 'id', 'footer', 'header' )
__slots__ = ( 'id', 'header', 'footer' )
footer : str
header : str
footer : str
_state : int = 3

View file

@ -5,17 +5,17 @@ from ....packet import Packet
from ....types import *
class PacketPosition(Packet):
__slots__ = ( 'id', 'pitch', 'x', 'dismountVehicle', 'z', 'yaw', 'y', 'onGround', 'flags', 'teleportId' )
__slots__ = ( 'id', 'flags', 'onGround', 'z', 'yaw', 'x', 'pitch', 'dismountVehicle', 'teleportId', 'y' )
pitch : float
x : float
dismountVehicle : bool
flags : int
onGround : bool
z : float
yaw : float
y : float
onGround : bool
flags : int
x : float
pitch : float
dismountVehicle : bool
teleportId : int
y : float
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketRelEntityMove(Packet):
__slots__ = ( 'id', 'dX', 'dY', 'entityId', 'onGround', 'dZ' )
__slots__ = ( 'id', 'entityId', 'onGround', 'dZ', 'dX', 'dY' )
dX : int
dY : int
entityId : int
onGround : bool
dZ : int
dX : int
dY : int
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketRemoveEntityEffect(Packet):
__slots__ = ( 'id', 'entityId', 'effectId' )
__slots__ = ( 'id', 'effectId', 'entityId' )
entityId : int
effectId : int
entityId : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketResourcePackSend(Packet):
__slots__ = ( 'id', 'hash', 'forced', 'promptMessage', 'url' )
__slots__ = ( 'id', 'forced', 'promptMessage', 'hash', 'url' )
hash : str
forced : bool
promptMessage : tuple
hash : str
url : str
_state : int = 3

View file

@ -5,18 +5,18 @@ from ....packet import Packet
from ....types import *
class PacketRespawn(Packet):
__slots__ = ( 'id', 'worldName', 'gamemode', 'hashedSeed', 'previousGamemode', 'isDebug', 'copyMetadata', 'difficulty', 'isFlat', 'levelType', 'dimension' )
__slots__ = ( 'id', 'copyMetadata', 'isFlat', 'isDebug', 'hashedSeed', 'dimension', 'gamemode', 'difficulty', 'levelType', 'previousGamemode', 'worldName' )
worldName : str
gamemode : int
hashedSeed : int
previousGamemode : int
isDebug : bool
copyMetadata : bool
difficulty : int
isFlat : bool
isDebug : bool
hashedSeed : int
dimension : Union[int,bytes,str]
gamemode : int
difficulty : int
levelType : str
dimension : Union[bytes,str,int]
previousGamemode : int
worldName : str
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketScoreboardObjective(Packet):
__slots__ = ( 'id', 'name', 'action', 'type', 'displayText' )
__slots__ = ( 'id', 'name', 'type', 'action', 'displayText' )
name : str
action : int
type : bytes
displayText : Union[bytes,str]
action : int
displayText : Union[str,bytes]
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketScoreboardScore(Packet):
__slots__ = ( 'id', 'action', 'value', 'itemName', 'scoreName' )
__slots__ = ( 'id', 'value', 'action', 'itemName', 'scoreName' )
action : int
value : bytes
action : int
itemName : str
scoreName : Union[str,bytes]

View file

@ -5,18 +5,18 @@ from ....packet import Packet
from ....types import *
class PacketScoreboardTeam(Packet):
__slots__ = ( 'id', 'suffix', 'players', 'prefix', 'nameTagVisibility', 'color', 'name', 'collisionRule', 'mode', 'team', 'friendlyFire' )
__slots__ = ( 'id', 'collisionRule', 'name', 'friendlyFire', 'players', 'prefix', 'suffix', 'nameTagVisibility', 'color', 'team', 'mode' )
suffix : bytes
collisionRule : bytes
name : bytes
friendlyFire : bytes
players : bytes
prefix : bytes
suffix : bytes
nameTagVisibility : bytes
color : bytes
name : bytes
collisionRule : bytes
mode : int
team : str
friendlyFire : bytes
mode : int
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketSculkVibrationSignal(Packet):
__slots__ = ( 'id', 'destination', 'arrivalTicks', 'sourcePosition', 'destinationIdentifier' )
__slots__ = ( 'id', 'destination', 'arrivalTicks', 'destinationIdentifier', 'sourcePosition' )
destination : bytes
arrivalTicks : int
sourcePosition : tuple
destinationIdentifier : str
sourcePosition : tuple
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketSetCooldown(Packet):
__slots__ = ( 'id', 'cooldownTicks', 'itemID' )
__slots__ = ( 'id', 'itemID', 'cooldownTicks' )
cooldownTicks : int
itemID : int
cooldownTicks : int
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketSetSlot(Packet):
__slots__ = ( 'id', 'item', 'windowId', 'slot', 'stateId' )
__slots__ = ( 'id', 'windowId', 'item', 'slot', 'stateId' )
item : dict
windowId : int
item : dict
slot : int
stateId : int

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketSetTitleTime(Packet):
__slots__ = ( 'id', 'fadeIn', 'fadeOut', 'stay' )
__slots__ = ( 'id', 'fadeOut', 'stay', 'fadeIn' )
fadeIn : int
fadeOut : int
stay : int
fadeIn : int
_state : int = 3

View file

@ -5,16 +5,16 @@ from ....packet import Packet
from ....types import *
class PacketSoundEffect(Packet):
__slots__ = ( 'id', 'pitch', 'x', 'soundId', 'parrottedEntityType', 'z', 'y', 'soundCategory', 'volume' )
__slots__ = ( 'id', 'z', 'soundCategory', 'volume', 'x', 'pitch', 'soundId', 'parrottedEntityType', 'y' )
pitch : Union[int,float]
x : int
soundId : int
parrottedEntityType : str
z : int
y : int
soundCategory : int
volume : float
x : int
pitch : Union[int,float]
soundId : int
parrottedEntityType : str
y : int
_state : int = 3

View file

@ -5,21 +5,21 @@ from ....packet import Packet
from ....types import *
class PacketSpawnEntity(Packet):
__slots__ = ( 'id', 'pitch', 'velocityX', 'type', 'x', 'objectUUID', 'velocityY', 'velocityZ', 'z', 'yaw', 'y', 'entityId', 'entityUUID', 'objectData' )
__slots__ = ( 'id', 'velocityZ', 'entityId', 'objectData', 'velocityY', 'z', 'velocityX', 'objectUUID', 'entityUUID', 'x', 'pitch', 'yaw', 'y', 'type' )
pitch : int
velocityX : int
type : int
x : Union[int,float]
objectUUID : str
velocityY : int
velocityZ : int
entityId : int
objectData : Union[int,dict]
velocityY : int
z : Union[int,float]
velocityX : int
objectUUID : str
entityUUID : str
x : Union[int,float]
pitch : int
yaw : int
y : Union[int,float]
entityId : int
entityUUID : str
objectData : Union[dict,int]
type : int
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketSpawnEntityExperienceOrb(Packet):
__slots__ = ( 'id', 'x', 'count', 'z', 'y', 'entityId' )
__slots__ = ( 'id', 'entityId', 'z', 'count', 'x', 'y' )
x : Union[int,float]
count : int
z : Union[int,float]
y : Union[int,float]
entityId : int
z : Union[int,float]
count : int
x : Union[int,float]
y : Union[int,float]
_state : int = 3

View file

@ -5,21 +5,21 @@ from ....packet import Packet
from ....types import *
class PacketSpawnEntityLiving(Packet):
__slots__ = ( 'id', 'pitch', 'headPitch', 'velocityX', 'type', 'x', 'velocityZ', 'z', 'yaw', 'y', 'entityId', 'entityUUID', 'metadata', 'velocityY' )
__slots__ = ( 'id', 'velocityZ', 'entityId', 'velocityY', 'z', 'velocityX', 'headPitch', 'entityUUID', 'x', 'yaw', 'pitch', 'metadata', 'y', 'type' )
pitch : int
headPitch : int
velocityX : int
type : int
x : Union[int,float]
velocityZ : int
z : Union[int,float]
yaw : int
y : Union[int,float]
entityId : int
entityUUID : str
metadata : bytes
velocityY : int
z : Union[int,float]
velocityX : int
headPitch : int
entityUUID : str
x : Union[int,float]
yaw : int
pitch : int
metadata : dict
y : Union[int,float]
type : int
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketSpawnEntityPainting(Packet):
__slots__ = ( 'id', 'direction', 'title', 'location', 'entityId', 'entityUUID' )
__slots__ = ( 'id', 'entityId', 'entityUUID', 'direction', 'location', 'title' )
direction : int
title : Union[str,int]
location : Union[bytes,tuple]
entityId : int
entityUUID : str
direction : int
location : Union[bytes,tuple]
title : Union[int,str]
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketSpawnEntityWeather(Packet):
__slots__ = ( 'id', 'type', 'x', 'z', 'y', 'entityId' )
__slots__ = ( 'id', 'entityId', 'z', 'x', 'y', 'type' )
type : int
x : Union[int,float]
z : Union[int,float]
y : Union[int,float]
entityId : int
z : Union[int,float]
x : Union[int,float]
y : Union[int,float]
type : int
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketSpawnPosition(Packet):
__slots__ = ( 'id', 'angle', 'location' )
__slots__ = ( 'id', 'location', 'angle' )
angle : float
location : Union[bytes,tuple]
angle : float
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketStopSound(Packet):
__slots__ = ( 'id', 'sound', 'flags', 'source' )
__slots__ = ( 'id', 'source', 'flags', 'sound' )
sound : bytes
flags : int
source : bytes
flags : int
sound : bytes
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketTabComplete(Packet):
__slots__ = ( 'id', 'transactionId', 'length', 'start', 'matches' )
__slots__ = ( 'id', 'matches', 'length', 'transactionId', 'start' )
transactionId : int
length : int
start : int
matches : list
length : int
transactionId : int
start : int
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketTags(Packet):
__slots__ = ( 'id', 'itemTags', 'fluidTags', 'entityTags', 'tags', 'blockTags' )
__slots__ = ( 'id', 'tags', 'blockTags', 'fluidTags', 'itemTags', 'entityTags' )
itemTags : bytes
fluidTags : bytes
entityTags : bytes
tags : list
blockTags : bytes
fluidTags : bytes
itemTags : bytes
entityTags : bytes
_state : int = 3

View file

@ -5,19 +5,19 @@ from ....packet import Packet
from ....types import *
class PacketTeams(Packet):
__slots__ = ( 'id', 'suffix', 'players', 'prefix', 'nameTagVisibility', 'color', 'name', 'collisionRule', 'formatting', 'mode', 'team', 'friendlyFire' )
__slots__ = ( 'id', 'name', 'friendlyFire', 'players', 'formatting', 'prefix', 'suffix', 'nameTagVisibility', 'collisionRule', 'team', 'mode', 'color' )
suffix : bytes
players : bytes
prefix : bytes
nameTagVisibility : bytes
color : bytes
name : bytes
collisionRule : bytes
formatting : bytes
mode : int
team : str
friendlyFire : bytes
players : bytes
formatting : bytes
prefix : bytes
suffix : bytes
nameTagVisibility : bytes
collisionRule : bytes
team : str
mode : int
color : bytes
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketTileEntityData(Packet):
__slots__ = ( 'id', 'action', 'location', 'nbtData' )
__slots__ = ( 'id', 'location', 'nbtData', 'action' )
action : int
location : Union[bytes,tuple]
nbtData : bytes
action : int
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketTitle(Packet):
__slots__ = ( 'id', 'stay', 'fadeOut', 'action', 'fadeIn', 'text' )
__slots__ = ( 'id', 'fadeOut', 'stay', 'fadeIn', 'action', 'text' )
stay : bytes
fadeOut : bytes
action : int
stay : bytes
fadeIn : bytes
action : int
text : bytes
_state : int = 3

View file

@ -5,14 +5,14 @@ from ....packet import Packet
from ....types import *
class PacketTradeList(Packet):
__slots__ = ( 'id', 'isRegularVillager', 'trades', 'windowId', 'experience', 'canRestock', 'villagerLevel' )
__slots__ = ( 'id', 'trades', 'windowId', 'villagerLevel', 'canRestock', 'isRegularVillager', 'experience' )
isRegularVillager : bool
trades : list
windowId : int
experience : int
canRestock : bool
villagerLevel : int
canRestock : bool
isRegularVillager : bool
experience : int
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketUnloadChunk(Packet):
__slots__ = ( 'id', 'chunkZ', 'chunkX' )
__slots__ = ( 'id', 'chunkX', 'chunkZ' )
chunkZ : int
chunkX : int
chunkZ : int
_state : int = 3

View file

@ -5,21 +5,21 @@ from ....packet import Packet
from ....types import *
class PacketUnlockRecipes(Packet):
__slots__ = ( 'id', 'filteringCraftable', 'blastFurnaceOpen', 'recipes1', 'recipes2', 'filteringSmoker', 'smokerBookOpen', 'filteringBlastFurnace', 'action', 'recipes', 'craftingBookOpen', 'filteringSmeltable', 'notification', 'smeltingBookOpen' )
__slots__ = ( 'id', 'blastFurnaceOpen', 'filteringSmeltable', 'craftingBookOpen', 'smokerBookOpen', 'recipes2', 'recipes', 'action', 'filteringSmoker', 'filteringCraftable', 'notification', 'smeltingBookOpen', 'filteringBlastFurnace', 'recipes1' )
filteringCraftable : bool
blastFurnaceOpen : bool
recipes1 : list
recipes2 : Union[bytes,list]
filteringSmoker : bool
smokerBookOpen : bool
filteringBlastFurnace : bool
action : int
recipes : list
craftingBookOpen : bool
filteringSmeltable : bool
craftingBookOpen : bool
smokerBookOpen : bool
recipes2 : Union[bytes,list]
recipes : list
action : int
filteringSmoker : bool
filteringCraftable : bool
notification : bool
smeltingBookOpen : bool
filteringBlastFurnace : bool
recipes1 : list
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketUpdateEntityNbt(Packet):
__slots__ = ( 'id', 'entityId', 'tag' )
__slots__ = ( 'id', 'tag', 'entityId' )
entityId : int
tag : bytes
entityId : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketUpdateHealth(Packet):
__slots__ = ( 'id', 'health', 'foodSaturation', 'food' )
__slots__ = ( 'id', 'health', 'food', 'foodSaturation' )
health : float
foodSaturation : float
food : int
foodSaturation : float
_state : int = 3

View file

@ -5,17 +5,17 @@ from ....packet import Packet
from ....types import *
class PacketUpdateLight(Packet):
__slots__ = ( 'id', 'trustEdges', 'skyLightMask', 'data', 'blockLightMask', 'skyLight', 'chunkX', 'emptySkyLightMask', 'blockLight', 'emptyBlockLightMask', 'chunkZ' )
__slots__ = ( 'id', 'chunkX', 'skyLightMask', 'blockLight', 'blockLightMask', 'emptyBlockLightMask', 'emptySkyLightMask', 'trustEdges', 'skyLight', 'data', 'chunkZ' )
trustEdges : bool
skyLightMask : Union[list,int]
data : bytes
blockLightMask : Union[list,int]
skyLight : list
chunkX : int
emptySkyLightMask : Union[list,int]
skyLightMask : Union[int,list]
blockLight : list
emptyBlockLightMask : Union[list,int]
blockLightMask : Union[int,list]
emptyBlockLightMask : Union[int,list]
emptySkyLightMask : Union[int,list]
trustEdges : bool
skyLight : list
data : bytes
chunkZ : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketUpdateSign(Packet):
__slots__ = ( 'id', 'text3', 'text1', 'text2', 'location', 'text4' )
__slots__ = ( 'id', 'text2', 'text3', 'text1', 'location', 'text4' )
text2 : str
text3 : str
text1 : str
text2 : str
location : Union[bytes,tuple]
text4 : str

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketUpdateViewPosition(Packet):
__slots__ = ( 'id', 'chunkZ', 'chunkX' )
__slots__ = ( 'id', 'chunkX', 'chunkZ' )
chunkZ : int
chunkX : int
chunkZ : int
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketVehicleMove(Packet):
__slots__ = ( 'id', 'pitch', 'x', 'z', 'yaw', 'y' )
__slots__ = ( 'id', 'z', 'yaw', 'x', 'pitch', 'y' )
pitch : float
x : float
z : float
yaw : float
x : float
pitch : float
y : float
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketWindowItems(Packet):
__slots__ = ( 'id', 'items', 'windowId', 'stateId', 'carriedItem' )
__slots__ = ( 'id', 'carriedItem', 'windowId', 'items', 'stateId' )
items : list
windowId : int
stateId : int
carriedItem : dict
windowId : int
items : list
stateId : int
_state : int = 3

View file

@ -5,18 +5,18 @@ from ....packet import Packet
from ....types import *
class PacketWorldBorder(Packet):
__slots__ = ( 'id', 'radius', 'x', 'new_radius', 'portalBoundary', 'warning_time', 'old_radius', 'z', 'action', 'speed', 'warning_blocks' )
__slots__ = ( 'id', 'z', 'portalBoundary', 'warning_blocks', 'x', 'old_radius', 'action', 'radius', 'speed', 'warning_time', 'new_radius' )
radius : bytes
x : bytes
new_radius : bytes
portalBoundary : bytes
warning_time : bytes
old_radius : bytes
z : bytes
action : int
speed : bytes
portalBoundary : bytes
warning_blocks : bytes
x : bytes
old_radius : bytes
action : int
radius : bytes
speed : bytes
warning_time : bytes
new_radius : bytes
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketWorldBorderCenter(Packet):
__slots__ = ( 'id', 'z', 'x' )
__slots__ = ( 'id', 'x', 'z' )
z : float
x : float
z : float
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketWorldBorderLerpSize(Packet):
__slots__ = ( 'id', 'oldDiameter', 'speed', 'newDiameter' )
__slots__ = ( 'id', 'speed', 'oldDiameter', 'newDiameter' )
oldDiameter : float
speed : int
oldDiameter : float
newDiameter : float
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketWorldEvent(Packet):
__slots__ = ( 'id', 'is_global', 'location', 'data', 'effectId' )
__slots__ = ( 'id', 'location', 'effectId', 'data', 'is_global' )
is_global : bool
location : Union[bytes,tuple]
data : int
effectId : int
data : int
is_global : bool
_state : int = 3

View file

@ -5,20 +5,20 @@ from ....packet import Packet
from ....types import *
class PacketWorldParticles(Packet):
__slots__ = ( 'id', 'x', 'longDistance', 'data', 'offsetZ', 'z', 'offsetX', 'offsetY', 'y', 'particleId', 'particleData', 'particleName', 'particles' )
__slots__ = ( 'id', 'particleData', 'particleName', 'offsetZ', 'z', 'particles', 'particleId', 'x', 'longDistance', 'offsetX', 'offsetY', 'y', 'data' )
x : float
longDistance : bool
data : bytes
particleData : float
particleName : str
offsetZ : float
z : float
particles : int
particleId : int
x : float
longDistance : bool
offsetX : float
offsetY : float
y : float
particleId : int
particleData : float
particleName : str
particles : int
data : bytes
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketAbilities(Packet):
__slots__ = ( 'id', 'flags', 'walkingSpeed', 'flyingSpeed' )
__slots__ = ( 'id', 'flyingSpeed', 'flags', 'walkingSpeed' )
flyingSpeed : float
flags : int
walkingSpeed : float
flyingSpeed : float
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketAdvancementTab(Packet):
__slots__ = ( 'id', 'action', 'tabId' )
__slots__ = ( 'id', 'tabId', 'action' )
action : int
tabId : bytes
action : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketBlockDig(Packet):
__slots__ = ( 'id', 'location', 'status', 'face' )
__slots__ = ( 'id', 'location', 'face', 'status' )
location : Union[bytes,tuple]
status : int
face : int
status : int
_state : int = 3

View file

@ -5,16 +5,16 @@ from ....packet import Packet
from ....types import *
class PacketBlockPlace(Packet):
__slots__ = ( 'id', 'direction', 'hand', 'heldItem', 'location', 'cursorY', 'cursorX', 'cursorZ', 'insideBlock' )
__slots__ = ( 'id', 'insideBlock', 'hand', 'heldItem', 'cursorY', 'cursorX', 'direction', 'cursorZ', 'location' )
direction : int
insideBlock : bool
hand : int
heldItem : dict
location : Union[bytes,tuple]
cursorY : Union[int,float]
cursorX : Union[int,float]
direction : int
cursorZ : Union[int,float]
insideBlock : bool
location : Union[bytes,tuple]
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketClientCommand(Packet):
__slots__ = ( 'id', 'payload', 'actionId' )
__slots__ = ( 'id', 'actionId', 'payload' )
payload : int
actionId : int
payload : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketCraftRecipeRequest(Packet):
__slots__ = ( 'id', 'windowId', 'recipe', 'makeAll' )
__slots__ = ( 'id', 'makeAll', 'windowId', 'recipe' )
makeAll : bool
windowId : int
recipe : Union[str,int]
makeAll : bool
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketEditBook(Packet):
__slots__ = ( 'id', 'signing', 'hand', 'pages', 'title', 'new_book' )
__slots__ = ( 'id', 'pages', 'hand', 'new_book', 'signing', 'title' )
signing : bool
hand : int
pages : list
title : tuple
hand : int
new_book : dict
signing : bool
title : tuple
_state : int = 3

View file

@ -5,10 +5,10 @@ from ....packet import Packet
from ....types import *
class PacketEnchantItem(Packet):
__slots__ = ( 'id', 'windowId', 'enchantment' )
__slots__ = ( 'id', 'enchantment', 'windowId' )
windowId : int
enchantment : int
windowId : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketEntityAction(Packet):
__slots__ = ( 'id', 'jumpBoost', 'entityId', 'actionId' )
__slots__ = ( 'id', 'actionId', 'jumpBoost', 'entityId' )
actionId : int
jumpBoost : int
entityId : int
actionId : int
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketGenerateStructure(Packet):
__slots__ = ( 'id', 'keepJigsaws', 'location', 'levels' )
__slots__ = ( 'id', 'location', 'levels', 'keepJigsaws' )
keepJigsaws : bool
location : tuple
levels : int
keepJigsaws : bool
_state : int = 3

View file

@ -5,11 +5,11 @@ from ....packet import Packet
from ....types import *
class PacketLook(Packet):
__slots__ = ( 'id', 'yaw', 'pitch', 'onGround' )
__slots__ = ( 'id', 'onGround', 'yaw', 'pitch' )
onGround : bool
yaw : float
pitch : float
onGround : bool
_state : int = 3

View file

@ -5,13 +5,13 @@ from ....packet import Packet
from ....types import *
class PacketPosition(Packet):
__slots__ = ( 'id', 'x', 'z', 'y', 'onGround', 'stance' )
__slots__ = ( 'id', 'onGround', 'z', 'x', 'stance', 'y' )
x : float
z : float
y : float
onGround : bool
z : float
x : float
stance : float
y : float
_state : int = 3

View file

@ -5,15 +5,15 @@ from ....packet import Packet
from ....types import *
class PacketPositionLook(Packet):
__slots__ = ( 'id', 'pitch', 'x', 'z', 'yaw', 'y', 'onGround', 'stance' )
__slots__ = ( 'id', 'onGround', 'z', 'yaw', 'x', 'pitch', 'stance', 'y' )
pitch : float
x : float
onGround : bool
z : float
yaw : float
y : float
onGround : bool
x : float
pitch : float
stance : float
y : float
_state : int = 3

View file

@ -5,12 +5,12 @@ from ....packet import Packet
from ....types import *
class PacketPrepareCraftingGrid(Packet):
__slots__ = ( 'id', 'returnEntry', 'windowId', 'prepareEntry', 'actionNumber' )
__slots__ = ( 'id', 'actionNumber', 'windowId', 'returnEntry', 'prepareEntry' )
returnEntry : list
windowId : int
prepareEntry : list
actionNumber : int
windowId : int
returnEntry : list
prepareEntry : list
_state : int = 3

Some files were not shown because too many files have changed in this diff Show more