recompiled proto (ughh why does the order change...)
This commit is contained in:
parent
d483dfa068
commit
4ed1825196
114 changed files with 450 additions and 450 deletions
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSetProtocol(Packet):
|
class PacketSetProtocol(Packet):
|
||||||
__slots__ = ( 'id', 'serverHost', 'nextState', 'protocolVersion', 'serverPort' )
|
__slots__ = ( 'id', 'nextState', 'serverPort', 'protocolVersion', 'serverHost' )
|
||||||
|
|
||||||
serverHost : str
|
|
||||||
nextState : int
|
nextState : int
|
||||||
protocolVersion : int
|
|
||||||
serverPort : int
|
serverPort : int
|
||||||
|
protocolVersion : int
|
||||||
|
serverHost : str
|
||||||
|
|
||||||
_state : int = 0
|
_state : int = 0
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEncryptionBegin(Packet):
|
class PacketEncryptionBegin(Packet):
|
||||||
__slots__ = ( 'id', 'verifyToken', 'publicKey', 'serverId' )
|
__slots__ = ( 'id', 'publicKey', 'serverId', 'verifyToken' )
|
||||||
|
|
||||||
verifyToken : bytes
|
|
||||||
publicKey : bytes
|
publicKey : bytes
|
||||||
serverId : str
|
serverId : str
|
||||||
|
verifyToken : bytes
|
||||||
|
|
||||||
_state : int = 2
|
_state : int = 2
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketLoginPluginRequest(Packet):
|
class PacketLoginPluginRequest(Packet):
|
||||||
__slots__ = ( 'id', 'messageId', 'channel', 'data' )
|
__slots__ = ( 'id', 'channel', 'messageId', 'data' )
|
||||||
|
|
||||||
messageId : int
|
|
||||||
channel : str
|
channel : str
|
||||||
|
messageId : int
|
||||||
data : bytes
|
data : bytes
|
||||||
|
|
||||||
_state : int = 2
|
_state : int = 2
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSuccess(Packet):
|
class PacketSuccess(Packet):
|
||||||
__slots__ = ( 'id', 'username', 'uuid' )
|
__slots__ = ( 'id', 'uuid', 'username' )
|
||||||
|
|
||||||
username : str
|
|
||||||
uuid : str
|
uuid : str
|
||||||
|
username : str
|
||||||
|
|
||||||
_state : int = 2
|
_state : int = 2
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEncryptionBegin(Packet):
|
class PacketEncryptionBegin(Packet):
|
||||||
__slots__ = ( 'id', 'verifyToken', 'sharedSecret' )
|
__slots__ = ( 'id', 'sharedSecret', 'verifyToken' )
|
||||||
|
|
||||||
verifyToken : bytes
|
|
||||||
sharedSecret : bytes
|
sharedSecret : bytes
|
||||||
|
verifyToken : bytes
|
||||||
|
|
||||||
_state : int = 2
|
_state : int = 2
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketAbilities(Packet):
|
class PacketAbilities(Packet):
|
||||||
__slots__ = ( 'id', 'flags', 'walkingSpeed', 'flyingSpeed' )
|
__slots__ = ( 'id', 'flyingSpeed', 'flags', 'walkingSpeed' )
|
||||||
|
|
||||||
|
flyingSpeed : float
|
||||||
flags : int
|
flags : int
|
||||||
walkingSpeed : float
|
walkingSpeed : float
|
||||||
flyingSpeed : float
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketAcknowledgePlayerDigging(Packet):
|
class PacketAcknowledgePlayerDigging(Packet):
|
||||||
__slots__ = ( 'id', 'block', 'location', 'status', 'successful' )
|
__slots__ = ( 'id', 'location', 'status', 'successful', 'block' )
|
||||||
|
|
||||||
block : int
|
|
||||||
location : tuple
|
location : tuple
|
||||||
status : int
|
status : int
|
||||||
successful : bool
|
successful : bool
|
||||||
|
block : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketAdvancements(Packet):
|
class PacketAdvancements(Packet):
|
||||||
__slots__ = ( 'id', 'advancementMapping', 'identifiers', 'reset', 'progressMapping' )
|
__slots__ = ( 'id', 'reset', 'progressMapping', 'advancementMapping', 'identifiers' )
|
||||||
|
|
||||||
advancementMapping : list
|
|
||||||
identifiers : list
|
|
||||||
reset : bool
|
reset : bool
|
||||||
progressMapping : list
|
progressMapping : list
|
||||||
|
advancementMapping : list
|
||||||
|
identifiers : list
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketAttachEntity(Packet):
|
class PacketAttachEntity(Packet):
|
||||||
__slots__ = ( 'id', 'leash', 'vehicleId', 'entityId' )
|
__slots__ = ( 'id', 'vehicleId', 'entityId', 'leash' )
|
||||||
|
|
||||||
leash : bool
|
|
||||||
vehicleId : int
|
vehicleId : int
|
||||||
entityId : int
|
entityId : int
|
||||||
|
leash : bool
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketBlockAction(Packet):
|
class PacketBlockAction(Packet):
|
||||||
__slots__ = ( 'id', 'location', 'byte2', 'byte1', 'blockId' )
|
__slots__ = ( 'id', 'location', 'byte2', 'blockId', 'byte1' )
|
||||||
|
|
||||||
location : Union[bytes,tuple]
|
location : Union[bytes,tuple]
|
||||||
byte2 : int
|
byte2 : int
|
||||||
byte1 : int
|
|
||||||
blockId : int
|
blockId : int
|
||||||
|
byte1 : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketBlockBreakAnimation(Packet):
|
class PacketBlockBreakAnimation(Packet):
|
||||||
__slots__ = ( 'id', 'location', 'entityId', 'destroyStage' )
|
__slots__ = ( 'id', 'location', 'destroyStage', 'entityId' )
|
||||||
|
|
||||||
location : Union[bytes,tuple]
|
location : Union[bytes,tuple]
|
||||||
entityId : int
|
|
||||||
destroyStage : int
|
destroyStage : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketBlockChange(Packet):
|
class PacketBlockChange(Packet):
|
||||||
__slots__ = ( 'id', 'metadata', 'location', 'type' )
|
__slots__ = ( 'id', 'location', 'type', 'metadata' )
|
||||||
|
|
||||||
metadata : int
|
|
||||||
location : Union[bytes,tuple]
|
location : Union[bytes,tuple]
|
||||||
type : int
|
type : int
|
||||||
|
metadata : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketBossBar(Packet):
|
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
|
health : bytes
|
||||||
title : bytes
|
flags : bytes
|
||||||
color : bytes
|
dividers : bytes
|
||||||
action : int
|
|
||||||
entityUUID : str
|
entityUUID : str
|
||||||
|
action : int
|
||||||
|
color : bytes
|
||||||
|
title : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketChat(Packet):
|
class PacketChat(Packet):
|
||||||
__slots__ = ( 'id', 'position', 'sender', 'message' )
|
__slots__ = ( 'id', 'message', 'sender', 'position' )
|
||||||
|
|
||||||
position : int
|
|
||||||
sender : str
|
|
||||||
message : str
|
message : str
|
||||||
|
sender : str
|
||||||
|
position : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketCollect(Packet):
|
class PacketCollect(Packet):
|
||||||
__slots__ = ( 'id', 'collectedEntityId', 'pickupItemCount', 'collectorEntityId' )
|
__slots__ = ( 'id', 'collectedEntityId', 'collectorEntityId', 'pickupItemCount' )
|
||||||
|
|
||||||
collectedEntityId : int
|
collectedEntityId : int
|
||||||
pickupItemCount : int
|
|
||||||
collectorEntityId : int
|
collectorEntityId : int
|
||||||
|
pickupItemCount : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketCombatEvent(Packet):
|
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
|
entityId : bytes
|
||||||
|
event : int
|
||||||
|
message : bytes
|
||||||
|
playerId : bytes
|
||||||
duration : bytes
|
duration : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketCraftProgressBar(Packet):
|
class PacketCraftProgressBar(Packet):
|
||||||
__slots__ = ( 'id', 'windowId', 'value', 'property' )
|
__slots__ = ( 'id', 'value', 'windowId', 'property' )
|
||||||
|
|
||||||
windowId : int
|
|
||||||
value : int
|
value : int
|
||||||
|
windowId : int
|
||||||
property : int
|
property : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketDeathCombatEvent(Packet):
|
class PacketDeathCombatEvent(Packet):
|
||||||
__slots__ = ( 'id', 'playerId', 'entityId', 'message' )
|
__slots__ = ( 'id', 'message', 'entityId', 'playerId' )
|
||||||
|
|
||||||
playerId : int
|
|
||||||
entityId : int
|
|
||||||
message : str
|
message : str
|
||||||
|
entityId : int
|
||||||
|
playerId : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketDeclareCommands(Packet):
|
class PacketDeclareCommands(Packet):
|
||||||
__slots__ = ( 'id', 'rootIndex', 'nodes' )
|
__slots__ = ( 'id', 'nodes', 'rootIndex' )
|
||||||
|
|
||||||
rootIndex : int
|
|
||||||
nodes : list
|
nodes : list
|
||||||
|
rootIndex : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketDifficulty(Packet):
|
class PacketDifficulty(Packet):
|
||||||
__slots__ = ( 'id', 'difficulty', 'difficultyLocked' )
|
__slots__ = ( 'id', 'difficultyLocked', 'difficulty' )
|
||||||
|
|
||||||
difficulty : int
|
|
||||||
difficultyLocked : bool
|
difficultyLocked : bool
|
||||||
|
difficulty : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityEffect(Packet):
|
class PacketEntityEffect(Packet):
|
||||||
__slots__ = ( 'id', 'entityId', 'amplifier', 'hideParticles', 'duration', 'effectId' )
|
__slots__ = ( 'id', 'amplifier', 'entityId', 'effectId', 'duration', 'hideParticles' )
|
||||||
|
|
||||||
entityId : int
|
|
||||||
amplifier : int
|
amplifier : int
|
||||||
hideParticles : Union[bool,int]
|
entityId : int
|
||||||
duration : int
|
|
||||||
effectId : int
|
effectId : int
|
||||||
|
duration : int
|
||||||
|
hideParticles : Union[int,bool]
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityEquipment(Packet):
|
class PacketEntityEquipment(Packet):
|
||||||
__slots__ = ( 'id', 'item', 'slot', 'entityId', 'equipments' )
|
__slots__ = ( 'id', 'equipments', 'item', 'entityId', 'slot' )
|
||||||
|
|
||||||
item : dict
|
|
||||||
slot : int
|
|
||||||
entityId : int
|
|
||||||
equipments : bytes
|
equipments : bytes
|
||||||
|
item : dict
|
||||||
|
entityId : int
|
||||||
|
slot : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityHeadRotation(Packet):
|
class PacketEntityHeadRotation(Packet):
|
||||||
__slots__ = ( 'id', 'headYaw', 'entityId' )
|
__slots__ = ( 'id', 'entityId', 'headYaw' )
|
||||||
|
|
||||||
headYaw : int
|
|
||||||
entityId : int
|
entityId : int
|
||||||
|
headYaw : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityLook(Packet):
|
class PacketEntityLook(Packet):
|
||||||
__slots__ = ( 'id', 'yaw', 'pitch', 'entityId', 'onGround' )
|
__slots__ = ( 'id', 'onGround', 'entityId', 'yaw', 'pitch' )
|
||||||
|
|
||||||
|
onGround : bool
|
||||||
|
entityId : int
|
||||||
yaw : int
|
yaw : int
|
||||||
pitch : int
|
pitch : int
|
||||||
entityId : int
|
|
||||||
onGround : bool
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityMetadata(Packet):
|
class PacketEntityMetadata(Packet):
|
||||||
__slots__ = ( 'id', 'metadata', 'entityId' )
|
__slots__ = ( 'id', 'entityId', 'metadata' )
|
||||||
|
|
||||||
metadata : bytes
|
|
||||||
entityId : int
|
entityId : int
|
||||||
|
metadata : dict
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityMoveLook(Packet):
|
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
|
entityId : int
|
||||||
onGround : bool
|
onGround : bool
|
||||||
dZ : int
|
dZ : int
|
||||||
|
dX : int
|
||||||
|
yaw : int
|
||||||
|
pitch : int
|
||||||
|
dY : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntitySoundEffect(Packet):
|
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
|
pitch : float
|
||||||
soundId : int
|
soundId : int
|
||||||
soundCategory : int
|
|
||||||
entityId : int
|
|
||||||
volume : float
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityStatus(Packet):
|
class PacketEntityStatus(Packet):
|
||||||
__slots__ = ( 'id', 'entityId', 'entityStatus' )
|
__slots__ = ( 'id', 'entityStatus', 'entityId' )
|
||||||
|
|
||||||
entityId : int
|
|
||||||
entityStatus : int
|
entityStatus : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityTeleport(Packet):
|
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
|
entityId : int
|
||||||
onGround : bool
|
onGround : bool
|
||||||
|
z : Union[int,float]
|
||||||
|
yaw : int
|
||||||
|
x : Union[int,float]
|
||||||
|
pitch : int
|
||||||
|
y : Union[int,float]
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityVelocity(Packet):
|
class PacketEntityVelocity(Packet):
|
||||||
__slots__ = ( 'id', 'velocityX', 'velocityY', 'entityId', 'velocityZ' )
|
__slots__ = ( 'id', 'velocityX', 'velocityZ', 'entityId', 'velocityY' )
|
||||||
|
|
||||||
velocityX : int
|
velocityX : int
|
||||||
velocityY : int
|
|
||||||
entityId : int
|
|
||||||
velocityZ : int
|
velocityZ : int
|
||||||
|
entityId : int
|
||||||
|
velocityY : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketExperience(Packet):
|
class PacketExperience(Packet):
|
||||||
__slots__ = ( 'id', 'experienceBar', 'level', 'totalExperience' )
|
__slots__ = ( 'id', 'level', 'experienceBar', 'totalExperience' )
|
||||||
|
|
||||||
experienceBar : float
|
|
||||||
level : int
|
level : int
|
||||||
|
experienceBar : float
|
||||||
totalExperience : int
|
totalExperience : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
|
@ -5,16 +5,16 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketExplosion(Packet):
|
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
|
affectedBlockOffsets : list
|
||||||
z : float
|
z : float
|
||||||
y : float
|
x : float
|
||||||
playerMotionY : float
|
radius : float
|
||||||
playerMotionZ : float
|
|
||||||
playerMotionX : float
|
playerMotionX : float
|
||||||
|
y : float
|
||||||
|
playerMotionZ : float
|
||||||
|
playerMotionY : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketFacePlayer(Packet):
|
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
|
x : float
|
||||||
entity_feet_eyes : bytes
|
entity_feet_eyes : bytes
|
||||||
z : float
|
|
||||||
y : float
|
y : float
|
||||||
entityId : bytes
|
|
||||||
feet_eyes : int
|
|
||||||
isEntity : bool
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketGameStateChange(Packet):
|
class PacketGameStateChange(Packet):
|
||||||
__slots__ = ( 'id', 'gameMode', 'reason' )
|
__slots__ = ( 'id', 'reason', 'gameMode' )
|
||||||
|
|
||||||
gameMode : float
|
|
||||||
reason : int
|
reason : int
|
||||||
|
gameMode : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,16 +5,16 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketInitializeWorldBorder(Packet):
|
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
|
warningTime : int
|
||||||
x : float
|
|
||||||
newDiameter : float
|
|
||||||
oldDiameter : float
|
|
||||||
warningBlocks : int
|
|
||||||
z : float
|
z : float
|
||||||
|
oldDiameter : float
|
||||||
|
x : float
|
||||||
portalTeleportBoundary : int
|
portalTeleportBoundary : int
|
||||||
|
warningBlocks : int
|
||||||
speed : int
|
speed : int
|
||||||
|
newDiameter : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,26 +5,26 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketLogin(Packet):
|
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
|
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
|
levelType : str
|
||||||
dimension : Union[str,int,bytes]
|
maxPlayers : int
|
||||||
|
previousGameMode : int
|
||||||
|
worldName : str
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,18 +5,18 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketMap(Packet):
|
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
|
scale : int
|
||||||
x : bytes
|
x : bytes
|
||||||
|
locked : bool
|
||||||
trackingPosition : bool
|
trackingPosition : bool
|
||||||
itemDamage : int
|
y : bytes
|
||||||
data : bytes
|
data : bytes
|
||||||
icons : Union[list,tuple]
|
icons : Union[list,tuple]
|
||||||
y : bytes
|
|
||||||
columns : int
|
|
||||||
rows : bytes
|
|
||||||
locked : bool
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,27 +5,27 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketMapChunk(Packet):
|
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
|
skyLightMask : list
|
||||||
primaryBitMask : list
|
|
||||||
compressedChunkData : bytes
|
|
||||||
bitMap : Union[list,int]
|
|
||||||
addBitMap : int
|
|
||||||
emptyBlockLightMask : list
|
|
||||||
x : int
|
|
||||||
blockLight : list
|
|
||||||
blockLightMask : list
|
|
||||||
heightmaps : bytes
|
|
||||||
z : int
|
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
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,14 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketMapChunkBulk(Packet):
|
class PacketMapChunkBulk(Packet):
|
||||||
__slots__ = ( 'id', 'data', 'meta', 'dataLength', 'compressedChunkData', 'chunkColumnCount', 'skyLightSent' )
|
__slots__ = ( 'id', 'meta', 'skyLightSent', 'dataLength', 'chunkColumnCount', 'compressedChunkData', 'data' )
|
||||||
|
|
||||||
data : bytes
|
|
||||||
meta : list
|
meta : list
|
||||||
dataLength : bytes
|
|
||||||
compressedChunkData : bytes
|
|
||||||
chunkColumnCount : bytes
|
|
||||||
skyLightSent : bool
|
skyLightSent : bool
|
||||||
|
dataLength : bytes
|
||||||
|
chunkColumnCount : bytes
|
||||||
|
compressedChunkData : bytes
|
||||||
|
data : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketMultiBlockChange(Packet):
|
class PacketMultiBlockChange(Packet):
|
||||||
__slots__ = ( 'id', 'chunkCoordinates', 'dataLength', 'notTrustEdges', 'recordCount', 'records', 'chunkX', 'chunkZ' )
|
__slots__ = ( 'id', 'chunkX', 'recordCount', 'records', 'dataLength', 'notTrustEdges', 'chunkZ', 'chunkCoordinates' )
|
||||||
|
|
||||||
chunkCoordinates : bytes
|
chunkX : int
|
||||||
dataLength : int
|
|
||||||
notTrustEdges : bool
|
|
||||||
recordCount : bytes
|
recordCount : bytes
|
||||||
records : list
|
records : list
|
||||||
chunkX : int
|
dataLength : int
|
||||||
|
notTrustEdges : bool
|
||||||
chunkZ : int
|
chunkZ : int
|
||||||
|
chunkCoordinates : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,19 +5,19 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketNamedEntitySpawn(Packet):
|
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
|
playerName : str
|
||||||
x : Union[int,float]
|
x : Union[int,float]
|
||||||
data : list
|
|
||||||
z : Union[int,float]
|
|
||||||
yaw : int
|
yaw : int
|
||||||
y : Union[int,float]
|
pitch : int
|
||||||
entityId : int
|
|
||||||
currentItem : int
|
|
||||||
playerUUID : str
|
playerUUID : str
|
||||||
metadata : bytes
|
metadata : dict
|
||||||
|
y : Union[int,float]
|
||||||
|
data : list
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketNamedSoundEffect(Packet):
|
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
|
z : int
|
||||||
y : int
|
|
||||||
soundCategory : int
|
soundCategory : int
|
||||||
volume : float
|
volume : float
|
||||||
|
x : int
|
||||||
|
pitch : Union[int,float]
|
||||||
|
y : int
|
||||||
|
soundName : str
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketNbtQueryResponse(Packet):
|
class PacketNbtQueryResponse(Packet):
|
||||||
__slots__ = ( 'id', 'nbt', 'transactionId' )
|
__slots__ = ( 'id', 'transactionId', 'nbt' )
|
||||||
|
|
||||||
nbt : bytes
|
|
||||||
transactionId : int
|
transactionId : int
|
||||||
|
nbt : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,14 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketOpenWindow(Packet):
|
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
|
slotCount : int
|
||||||
windowTitle : str
|
windowTitle : str
|
||||||
entityId : bytes
|
entityId : bytes
|
||||||
|
inventoryType : Union[str,int]
|
||||||
|
windowId : int
|
||||||
|
useProvidedTitle : bool
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketPlayerInfo(Packet):
|
class PacketPlayerInfo(Packet):
|
||||||
__slots__ = ( 'id', 'playerName', 'data', 'online', 'action', 'ping' )
|
__slots__ = ( 'id', 'online', 'ping', 'playerName', 'action', 'data' )
|
||||||
|
|
||||||
playerName : str
|
|
||||||
data : list
|
|
||||||
online : bool
|
online : bool
|
||||||
action : int
|
|
||||||
ping : int
|
ping : int
|
||||||
|
playerName : str
|
||||||
|
action : int
|
||||||
|
data : list
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketPlayerlistHeader(Packet):
|
class PacketPlayerlistHeader(Packet):
|
||||||
__slots__ = ( 'id', 'footer', 'header' )
|
__slots__ = ( 'id', 'header', 'footer' )
|
||||||
|
|
||||||
footer : str
|
|
||||||
header : str
|
header : str
|
||||||
|
footer : str
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,17 +5,17 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketPosition(Packet):
|
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
|
flags : int
|
||||||
x : float
|
onGround : bool
|
||||||
dismountVehicle : bool
|
|
||||||
z : float
|
z : float
|
||||||
yaw : float
|
yaw : float
|
||||||
y : float
|
x : float
|
||||||
onGround : bool
|
pitch : float
|
||||||
flags : int
|
dismountVehicle : bool
|
||||||
teleportId : int
|
teleportId : int
|
||||||
|
y : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketRelEntityMove(Packet):
|
class PacketRelEntityMove(Packet):
|
||||||
__slots__ = ( 'id', 'dX', 'dY', 'entityId', 'onGround', 'dZ' )
|
__slots__ = ( 'id', 'entityId', 'onGround', 'dZ', 'dX', 'dY' )
|
||||||
|
|
||||||
dX : int
|
|
||||||
dY : int
|
|
||||||
entityId : int
|
entityId : int
|
||||||
onGround : bool
|
onGround : bool
|
||||||
dZ : int
|
dZ : int
|
||||||
|
dX : int
|
||||||
|
dY : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketRemoveEntityEffect(Packet):
|
class PacketRemoveEntityEffect(Packet):
|
||||||
__slots__ = ( 'id', 'entityId', 'effectId' )
|
__slots__ = ( 'id', 'effectId', 'entityId' )
|
||||||
|
|
||||||
entityId : int
|
|
||||||
effectId : int
|
effectId : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketResourcePackSend(Packet):
|
class PacketResourcePackSend(Packet):
|
||||||
__slots__ = ( 'id', 'hash', 'forced', 'promptMessage', 'url' )
|
__slots__ = ( 'id', 'forced', 'promptMessage', 'hash', 'url' )
|
||||||
|
|
||||||
hash : str
|
|
||||||
forced : bool
|
forced : bool
|
||||||
promptMessage : tuple
|
promptMessage : tuple
|
||||||
|
hash : str
|
||||||
url : str
|
url : str
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
|
@ -5,18 +5,18 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketRespawn(Packet):
|
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
|
copyMetadata : bool
|
||||||
difficulty : int
|
|
||||||
isFlat : bool
|
isFlat : bool
|
||||||
|
isDebug : bool
|
||||||
|
hashedSeed : int
|
||||||
|
dimension : Union[int,bytes,str]
|
||||||
|
gamemode : int
|
||||||
|
difficulty : int
|
||||||
levelType : str
|
levelType : str
|
||||||
dimension : Union[bytes,str,int]
|
previousGamemode : int
|
||||||
|
worldName : str
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketScoreboardObjective(Packet):
|
class PacketScoreboardObjective(Packet):
|
||||||
__slots__ = ( 'id', 'name', 'action', 'type', 'displayText' )
|
__slots__ = ( 'id', 'name', 'type', 'action', 'displayText' )
|
||||||
|
|
||||||
name : str
|
name : str
|
||||||
action : int
|
|
||||||
type : bytes
|
type : bytes
|
||||||
displayText : Union[bytes,str]
|
action : int
|
||||||
|
displayText : Union[str,bytes]
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketScoreboardScore(Packet):
|
class PacketScoreboardScore(Packet):
|
||||||
__slots__ = ( 'id', 'action', 'value', 'itemName', 'scoreName' )
|
__slots__ = ( 'id', 'value', 'action', 'itemName', 'scoreName' )
|
||||||
|
|
||||||
action : int
|
|
||||||
value : bytes
|
value : bytes
|
||||||
|
action : int
|
||||||
itemName : str
|
itemName : str
|
||||||
scoreName : Union[str,bytes]
|
scoreName : Union[str,bytes]
|
||||||
|
|
||||||
|
|
|
@ -5,18 +5,18 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketScoreboardTeam(Packet):
|
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
|
players : bytes
|
||||||
prefix : bytes
|
prefix : bytes
|
||||||
|
suffix : bytes
|
||||||
nameTagVisibility : bytes
|
nameTagVisibility : bytes
|
||||||
color : bytes
|
color : bytes
|
||||||
name : bytes
|
|
||||||
collisionRule : bytes
|
|
||||||
mode : int
|
|
||||||
team : str
|
team : str
|
||||||
friendlyFire : bytes
|
mode : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSculkVibrationSignal(Packet):
|
class PacketSculkVibrationSignal(Packet):
|
||||||
__slots__ = ( 'id', 'destination', 'arrivalTicks', 'sourcePosition', 'destinationIdentifier' )
|
__slots__ = ( 'id', 'destination', 'arrivalTicks', 'destinationIdentifier', 'sourcePosition' )
|
||||||
|
|
||||||
destination : bytes
|
destination : bytes
|
||||||
arrivalTicks : int
|
arrivalTicks : int
|
||||||
sourcePosition : tuple
|
|
||||||
destinationIdentifier : str
|
destinationIdentifier : str
|
||||||
|
sourcePosition : tuple
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSetCooldown(Packet):
|
class PacketSetCooldown(Packet):
|
||||||
__slots__ = ( 'id', 'cooldownTicks', 'itemID' )
|
__slots__ = ( 'id', 'itemID', 'cooldownTicks' )
|
||||||
|
|
||||||
cooldownTicks : int
|
|
||||||
itemID : int
|
itemID : int
|
||||||
|
cooldownTicks : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSetSlot(Packet):
|
class PacketSetSlot(Packet):
|
||||||
__slots__ = ( 'id', 'item', 'windowId', 'slot', 'stateId' )
|
__slots__ = ( 'id', 'windowId', 'item', 'slot', 'stateId' )
|
||||||
|
|
||||||
item : dict
|
|
||||||
windowId : int
|
windowId : int
|
||||||
|
item : dict
|
||||||
slot : int
|
slot : int
|
||||||
stateId : int
|
stateId : int
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSetTitleTime(Packet):
|
class PacketSetTitleTime(Packet):
|
||||||
__slots__ = ( 'id', 'fadeIn', 'fadeOut', 'stay' )
|
__slots__ = ( 'id', 'fadeOut', 'stay', 'fadeIn' )
|
||||||
|
|
||||||
fadeIn : int
|
|
||||||
fadeOut : int
|
fadeOut : int
|
||||||
stay : int
|
stay : int
|
||||||
|
fadeIn : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,16 +5,16 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSoundEffect(Packet):
|
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
|
z : int
|
||||||
y : int
|
|
||||||
soundCategory : int
|
soundCategory : int
|
||||||
volume : float
|
volume : float
|
||||||
|
x : int
|
||||||
|
pitch : Union[int,float]
|
||||||
|
soundId : int
|
||||||
|
parrottedEntityType : str
|
||||||
|
y : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,21 +5,21 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSpawnEntity(Packet):
|
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
|
velocityZ : int
|
||||||
|
entityId : int
|
||||||
|
objectData : Union[int,dict]
|
||||||
|
velocityY : int
|
||||||
z : Union[int,float]
|
z : Union[int,float]
|
||||||
|
velocityX : int
|
||||||
|
objectUUID : str
|
||||||
|
entityUUID : str
|
||||||
|
x : Union[int,float]
|
||||||
|
pitch : int
|
||||||
yaw : int
|
yaw : int
|
||||||
y : Union[int,float]
|
y : Union[int,float]
|
||||||
entityId : int
|
type : int
|
||||||
entityUUID : str
|
|
||||||
objectData : Union[dict,int]
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSpawnEntityExperienceOrb(Packet):
|
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
|
entityId : int
|
||||||
|
z : Union[int,float]
|
||||||
|
count : int
|
||||||
|
x : Union[int,float]
|
||||||
|
y : Union[int,float]
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,21 +5,21 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSpawnEntityLiving(Packet):
|
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
|
velocityZ : int
|
||||||
z : Union[int,float]
|
|
||||||
yaw : int
|
|
||||||
y : Union[int,float]
|
|
||||||
entityId : int
|
entityId : int
|
||||||
entityUUID : str
|
|
||||||
metadata : bytes
|
|
||||||
velocityY : int
|
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
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSpawnEntityPainting(Packet):
|
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
|
entityId : int
|
||||||
entityUUID : str
|
entityUUID : str
|
||||||
|
direction : int
|
||||||
|
location : Union[bytes,tuple]
|
||||||
|
title : Union[int,str]
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSpawnEntityWeather(Packet):
|
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
|
entityId : int
|
||||||
|
z : Union[int,float]
|
||||||
|
x : Union[int,float]
|
||||||
|
y : Union[int,float]
|
||||||
|
type : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketSpawnPosition(Packet):
|
class PacketSpawnPosition(Packet):
|
||||||
__slots__ = ( 'id', 'angle', 'location' )
|
__slots__ = ( 'id', 'location', 'angle' )
|
||||||
|
|
||||||
angle : float
|
|
||||||
location : Union[bytes,tuple]
|
location : Union[bytes,tuple]
|
||||||
|
angle : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketStopSound(Packet):
|
class PacketStopSound(Packet):
|
||||||
__slots__ = ( 'id', 'sound', 'flags', 'source' )
|
__slots__ = ( 'id', 'source', 'flags', 'sound' )
|
||||||
|
|
||||||
sound : bytes
|
|
||||||
flags : int
|
|
||||||
source : bytes
|
source : bytes
|
||||||
|
flags : int
|
||||||
|
sound : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketTabComplete(Packet):
|
class PacketTabComplete(Packet):
|
||||||
__slots__ = ( 'id', 'transactionId', 'length', 'start', 'matches' )
|
__slots__ = ( 'id', 'matches', 'length', 'transactionId', 'start' )
|
||||||
|
|
||||||
transactionId : int
|
|
||||||
length : int
|
|
||||||
start : int
|
|
||||||
matches : list
|
matches : list
|
||||||
|
length : int
|
||||||
|
transactionId : int
|
||||||
|
start : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketTags(Packet):
|
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
|
tags : list
|
||||||
blockTags : bytes
|
blockTags : bytes
|
||||||
|
fluidTags : bytes
|
||||||
|
itemTags : bytes
|
||||||
|
entityTags : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,19 +5,19 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketTeams(Packet):
|
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
|
name : bytes
|
||||||
collisionRule : bytes
|
|
||||||
formatting : bytes
|
|
||||||
mode : int
|
|
||||||
team : str
|
|
||||||
friendlyFire : bytes
|
friendlyFire : bytes
|
||||||
|
players : bytes
|
||||||
|
formatting : bytes
|
||||||
|
prefix : bytes
|
||||||
|
suffix : bytes
|
||||||
|
nameTagVisibility : bytes
|
||||||
|
collisionRule : bytes
|
||||||
|
team : str
|
||||||
|
mode : int
|
||||||
|
color : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketTileEntityData(Packet):
|
class PacketTileEntityData(Packet):
|
||||||
__slots__ = ( 'id', 'action', 'location', 'nbtData' )
|
__slots__ = ( 'id', 'location', 'nbtData', 'action' )
|
||||||
|
|
||||||
action : int
|
|
||||||
location : Union[bytes,tuple]
|
location : Union[bytes,tuple]
|
||||||
nbtData : bytes
|
nbtData : bytes
|
||||||
|
action : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketTitle(Packet):
|
class PacketTitle(Packet):
|
||||||
__slots__ = ( 'id', 'stay', 'fadeOut', 'action', 'fadeIn', 'text' )
|
__slots__ = ( 'id', 'fadeOut', 'stay', 'fadeIn', 'action', 'text' )
|
||||||
|
|
||||||
stay : bytes
|
|
||||||
fadeOut : bytes
|
fadeOut : bytes
|
||||||
action : int
|
stay : bytes
|
||||||
fadeIn : bytes
|
fadeIn : bytes
|
||||||
|
action : int
|
||||||
text : bytes
|
text : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
|
@ -5,14 +5,14 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketTradeList(Packet):
|
class PacketTradeList(Packet):
|
||||||
__slots__ = ( 'id', 'isRegularVillager', 'trades', 'windowId', 'experience', 'canRestock', 'villagerLevel' )
|
__slots__ = ( 'id', 'trades', 'windowId', 'villagerLevel', 'canRestock', 'isRegularVillager', 'experience' )
|
||||||
|
|
||||||
isRegularVillager : bool
|
|
||||||
trades : list
|
trades : list
|
||||||
windowId : int
|
windowId : int
|
||||||
experience : int
|
|
||||||
canRestock : bool
|
|
||||||
villagerLevel : int
|
villagerLevel : int
|
||||||
|
canRestock : bool
|
||||||
|
isRegularVillager : bool
|
||||||
|
experience : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketUnloadChunk(Packet):
|
class PacketUnloadChunk(Packet):
|
||||||
__slots__ = ( 'id', 'chunkZ', 'chunkX' )
|
__slots__ = ( 'id', 'chunkX', 'chunkZ' )
|
||||||
|
|
||||||
chunkZ : int
|
|
||||||
chunkX : int
|
chunkX : int
|
||||||
|
chunkZ : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,21 +5,21 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketUnlockRecipes(Packet):
|
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
|
blastFurnaceOpen : bool
|
||||||
recipes1 : list
|
|
||||||
recipes2 : Union[bytes,list]
|
|
||||||
filteringSmoker : bool
|
|
||||||
smokerBookOpen : bool
|
|
||||||
filteringBlastFurnace : bool
|
|
||||||
action : int
|
|
||||||
recipes : list
|
|
||||||
craftingBookOpen : bool
|
|
||||||
filteringSmeltable : bool
|
filteringSmeltable : bool
|
||||||
|
craftingBookOpen : bool
|
||||||
|
smokerBookOpen : bool
|
||||||
|
recipes2 : Union[bytes,list]
|
||||||
|
recipes : list
|
||||||
|
action : int
|
||||||
|
filteringSmoker : bool
|
||||||
|
filteringCraftable : bool
|
||||||
notification : bool
|
notification : bool
|
||||||
smeltingBookOpen : bool
|
smeltingBookOpen : bool
|
||||||
|
filteringBlastFurnace : bool
|
||||||
|
recipes1 : list
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketUpdateEntityNbt(Packet):
|
class PacketUpdateEntityNbt(Packet):
|
||||||
__slots__ = ( 'id', 'entityId', 'tag' )
|
__slots__ = ( 'id', 'tag', 'entityId' )
|
||||||
|
|
||||||
entityId : int
|
|
||||||
tag : bytes
|
tag : bytes
|
||||||
|
entityId : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketUpdateHealth(Packet):
|
class PacketUpdateHealth(Packet):
|
||||||
__slots__ = ( 'id', 'health', 'foodSaturation', 'food' )
|
__slots__ = ( 'id', 'health', 'food', 'foodSaturation' )
|
||||||
|
|
||||||
health : float
|
health : float
|
||||||
foodSaturation : float
|
|
||||||
food : int
|
food : int
|
||||||
|
foodSaturation : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,17 +5,17 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketUpdateLight(Packet):
|
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
|
chunkX : int
|
||||||
emptySkyLightMask : Union[list,int]
|
skyLightMask : Union[int,list]
|
||||||
blockLight : 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
|
chunkZ : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketUpdateSign(Packet):
|
class PacketUpdateSign(Packet):
|
||||||
__slots__ = ( 'id', 'text3', 'text1', 'text2', 'location', 'text4' )
|
__slots__ = ( 'id', 'text2', 'text3', 'text1', 'location', 'text4' )
|
||||||
|
|
||||||
|
text2 : str
|
||||||
text3 : str
|
text3 : str
|
||||||
text1 : str
|
text1 : str
|
||||||
text2 : str
|
|
||||||
location : Union[bytes,tuple]
|
location : Union[bytes,tuple]
|
||||||
text4 : str
|
text4 : str
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketUpdateViewPosition(Packet):
|
class PacketUpdateViewPosition(Packet):
|
||||||
__slots__ = ( 'id', 'chunkZ', 'chunkX' )
|
__slots__ = ( 'id', 'chunkX', 'chunkZ' )
|
||||||
|
|
||||||
chunkZ : int
|
|
||||||
chunkX : int
|
chunkX : int
|
||||||
|
chunkZ : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketVehicleMove(Packet):
|
class PacketVehicleMove(Packet):
|
||||||
__slots__ = ( 'id', 'pitch', 'x', 'z', 'yaw', 'y' )
|
__slots__ = ( 'id', 'z', 'yaw', 'x', 'pitch', 'y' )
|
||||||
|
|
||||||
pitch : float
|
|
||||||
x : float
|
|
||||||
z : float
|
z : float
|
||||||
yaw : float
|
yaw : float
|
||||||
|
x : float
|
||||||
|
pitch : float
|
||||||
y : float
|
y : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketWindowItems(Packet):
|
class PacketWindowItems(Packet):
|
||||||
__slots__ = ( 'id', 'items', 'windowId', 'stateId', 'carriedItem' )
|
__slots__ = ( 'id', 'carriedItem', 'windowId', 'items', 'stateId' )
|
||||||
|
|
||||||
items : list
|
|
||||||
windowId : int
|
|
||||||
stateId : int
|
|
||||||
carriedItem : dict
|
carriedItem : dict
|
||||||
|
windowId : int
|
||||||
|
items : list
|
||||||
|
stateId : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,18 +5,18 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketWorldBorder(Packet):
|
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
|
z : bytes
|
||||||
action : int
|
portalBoundary : bytes
|
||||||
speed : bytes
|
|
||||||
warning_blocks : bytes
|
warning_blocks : bytes
|
||||||
|
x : bytes
|
||||||
|
old_radius : bytes
|
||||||
|
action : int
|
||||||
|
radius : bytes
|
||||||
|
speed : bytes
|
||||||
|
warning_time : bytes
|
||||||
|
new_radius : bytes
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketWorldBorderCenter(Packet):
|
class PacketWorldBorderCenter(Packet):
|
||||||
__slots__ = ( 'id', 'z', 'x' )
|
__slots__ = ( 'id', 'x', 'z' )
|
||||||
|
|
||||||
z : float
|
|
||||||
x : float
|
x : float
|
||||||
|
z : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketWorldBorderLerpSize(Packet):
|
class PacketWorldBorderLerpSize(Packet):
|
||||||
__slots__ = ( 'id', 'oldDiameter', 'speed', 'newDiameter' )
|
__slots__ = ( 'id', 'speed', 'oldDiameter', 'newDiameter' )
|
||||||
|
|
||||||
oldDiameter : float
|
|
||||||
speed : int
|
speed : int
|
||||||
|
oldDiameter : float
|
||||||
newDiameter : float
|
newDiameter : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketWorldEvent(Packet):
|
class PacketWorldEvent(Packet):
|
||||||
__slots__ = ( 'id', 'is_global', 'location', 'data', 'effectId' )
|
__slots__ = ( 'id', 'location', 'effectId', 'data', 'is_global' )
|
||||||
|
|
||||||
is_global : bool
|
|
||||||
location : Union[bytes,tuple]
|
location : Union[bytes,tuple]
|
||||||
data : int
|
|
||||||
effectId : int
|
effectId : int
|
||||||
|
data : int
|
||||||
|
is_global : bool
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,20 +5,20 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketWorldParticles(Packet):
|
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
|
particleData : float
|
||||||
longDistance : bool
|
particleName : str
|
||||||
data : bytes
|
|
||||||
offsetZ : float
|
offsetZ : float
|
||||||
z : float
|
z : float
|
||||||
|
particles : int
|
||||||
|
particleId : int
|
||||||
|
x : float
|
||||||
|
longDistance : bool
|
||||||
offsetX : float
|
offsetX : float
|
||||||
offsetY : float
|
offsetY : float
|
||||||
y : float
|
y : float
|
||||||
particleId : int
|
data : bytes
|
||||||
particleData : float
|
|
||||||
particleName : str
|
|
||||||
particles : int
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketAbilities(Packet):
|
class PacketAbilities(Packet):
|
||||||
__slots__ = ( 'id', 'flags', 'walkingSpeed', 'flyingSpeed' )
|
__slots__ = ( 'id', 'flyingSpeed', 'flags', 'walkingSpeed' )
|
||||||
|
|
||||||
|
flyingSpeed : float
|
||||||
flags : int
|
flags : int
|
||||||
walkingSpeed : float
|
walkingSpeed : float
|
||||||
flyingSpeed : float
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketAdvancementTab(Packet):
|
class PacketAdvancementTab(Packet):
|
||||||
__slots__ = ( 'id', 'action', 'tabId' )
|
__slots__ = ( 'id', 'tabId', 'action' )
|
||||||
|
|
||||||
action : int
|
|
||||||
tabId : bytes
|
tabId : bytes
|
||||||
|
action : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketBlockDig(Packet):
|
class PacketBlockDig(Packet):
|
||||||
__slots__ = ( 'id', 'location', 'status', 'face' )
|
__slots__ = ( 'id', 'location', 'face', 'status' )
|
||||||
|
|
||||||
location : Union[bytes,tuple]
|
location : Union[bytes,tuple]
|
||||||
status : int
|
|
||||||
face : int
|
face : int
|
||||||
|
status : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,16 +5,16 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketBlockPlace(Packet):
|
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
|
hand : int
|
||||||
heldItem : dict
|
heldItem : dict
|
||||||
location : Union[bytes,tuple]
|
|
||||||
cursorY : Union[int,float]
|
cursorY : Union[int,float]
|
||||||
cursorX : Union[int,float]
|
cursorX : Union[int,float]
|
||||||
|
direction : int
|
||||||
cursorZ : Union[int,float]
|
cursorZ : Union[int,float]
|
||||||
insideBlock : bool
|
location : Union[bytes,tuple]
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketClientCommand(Packet):
|
class PacketClientCommand(Packet):
|
||||||
__slots__ = ( 'id', 'payload', 'actionId' )
|
__slots__ = ( 'id', 'actionId', 'payload' )
|
||||||
|
|
||||||
payload : int
|
|
||||||
actionId : int
|
actionId : int
|
||||||
|
payload : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketCraftRecipeRequest(Packet):
|
class PacketCraftRecipeRequest(Packet):
|
||||||
__slots__ = ( 'id', 'windowId', 'recipe', 'makeAll' )
|
__slots__ = ( 'id', 'makeAll', 'windowId', 'recipe' )
|
||||||
|
|
||||||
|
makeAll : bool
|
||||||
windowId : int
|
windowId : int
|
||||||
recipe : Union[str,int]
|
recipe : Union[str,int]
|
||||||
makeAll : bool
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEditBook(Packet):
|
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
|
pages : list
|
||||||
title : tuple
|
hand : int
|
||||||
new_book : dict
|
new_book : dict
|
||||||
|
signing : bool
|
||||||
|
title : tuple
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEnchantItem(Packet):
|
class PacketEnchantItem(Packet):
|
||||||
__slots__ = ( 'id', 'windowId', 'enchantment' )
|
__slots__ = ( 'id', 'enchantment', 'windowId' )
|
||||||
|
|
||||||
windowId : int
|
|
||||||
enchantment : int
|
enchantment : int
|
||||||
|
windowId : int
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketEntityAction(Packet):
|
class PacketEntityAction(Packet):
|
||||||
__slots__ = ( 'id', 'jumpBoost', 'entityId', 'actionId' )
|
__slots__ = ( 'id', 'actionId', 'jumpBoost', 'entityId' )
|
||||||
|
|
||||||
|
actionId : int
|
||||||
jumpBoost : int
|
jumpBoost : int
|
||||||
entityId : int
|
entityId : int
|
||||||
actionId : int
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketGenerateStructure(Packet):
|
class PacketGenerateStructure(Packet):
|
||||||
__slots__ = ( 'id', 'keepJigsaws', 'location', 'levels' )
|
__slots__ = ( 'id', 'location', 'levels', 'keepJigsaws' )
|
||||||
|
|
||||||
keepJigsaws : bool
|
|
||||||
location : tuple
|
location : tuple
|
||||||
levels : int
|
levels : int
|
||||||
|
keepJigsaws : bool
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketLook(Packet):
|
class PacketLook(Packet):
|
||||||
__slots__ = ( 'id', 'yaw', 'pitch', 'onGround' )
|
__slots__ = ( 'id', 'onGround', 'yaw', 'pitch' )
|
||||||
|
|
||||||
|
onGround : bool
|
||||||
yaw : float
|
yaw : float
|
||||||
pitch : float
|
pitch : float
|
||||||
onGround : bool
|
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketPosition(Packet):
|
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
|
onGround : bool
|
||||||
|
z : float
|
||||||
|
x : float
|
||||||
stance : float
|
stance : float
|
||||||
|
y : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketPositionLook(Packet):
|
class PacketPositionLook(Packet):
|
||||||
__slots__ = ( 'id', 'pitch', 'x', 'z', 'yaw', 'y', 'onGround', 'stance' )
|
__slots__ = ( 'id', 'onGround', 'z', 'yaw', 'x', 'pitch', 'stance', 'y' )
|
||||||
|
|
||||||
pitch : float
|
onGround : bool
|
||||||
x : float
|
|
||||||
z : float
|
z : float
|
||||||
yaw : float
|
yaw : float
|
||||||
y : float
|
x : float
|
||||||
onGround : bool
|
pitch : float
|
||||||
stance : float
|
stance : float
|
||||||
|
y : float
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ from ....packet import Packet
|
||||||
from ....types import *
|
from ....types import *
|
||||||
|
|
||||||
class PacketPrepareCraftingGrid(Packet):
|
class PacketPrepareCraftingGrid(Packet):
|
||||||
__slots__ = ( 'id', 'returnEntry', 'windowId', 'prepareEntry', 'actionNumber' )
|
__slots__ = ( 'id', 'actionNumber', 'windowId', 'returnEntry', 'prepareEntry' )
|
||||||
|
|
||||||
returnEntry : list
|
|
||||||
windowId : int
|
|
||||||
prepareEntry : list
|
|
||||||
actionNumber : int
|
actionNumber : int
|
||||||
|
windowId : int
|
||||||
|
returnEntry : list
|
||||||
|
prepareEntry : list
|
||||||
|
|
||||||
_state : int = 3
|
_state : int = 3
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue