pushed protocol definition, this should make the library usable until there's proper documentation
This commit is contained in:
parent
f89eded601
commit
254043046f
199 changed files with 14843 additions and 5 deletions
6
aiocraft/mc/proto/__init__.py
Normal file
6
aiocraft/mc/proto/__init__.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from .handshaking import *
|
||||||
|
from .status import *
|
||||||
|
from .login import *
|
||||||
|
from .play import *
|
4
aiocraft/mc/proto/handshaking/__init__.py
Normal file
4
aiocraft/mc/proto/handshaking/__init__.py
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from .clientbound import *
|
||||||
|
from .serverbound import *
|
6
aiocraft/mc/proto/handshaking/clientbound/__init__.py
Normal file
6
aiocraft/mc/proto/handshaking/clientbound/__init__.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
|
||||||
|
REGISTRY = {
|
||||||
|
|
||||||
|
}
|
46
aiocraft/mc/proto/handshaking/serverbound/__init__.py
Normal file
46
aiocraft/mc/proto/handshaking/serverbound/__init__.py
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from .packet_set_protocol import PacketSetProtocol
|
||||||
|
from .packet_legacy_server_list_ping import PacketLegacyServerListPing
|
||||||
|
|
||||||
|
REGISTRY = {
|
||||||
|
1073741839 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
709 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
351 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
327 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
321 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
304 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
201 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
76 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
107 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
110 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
109 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
108 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
47 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
5 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
757 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
755 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
756 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
735 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
751 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
736 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
734 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
573 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
578 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
575 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
477 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
498 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
490 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
480 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
393 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
404 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
403 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
402 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
401 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
335 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
340 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
338 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
331 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
315 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing },
|
||||||
|
210 : { 0:PacketSetProtocol, 254:PacketLegacyServerListPing }
|
||||||
|
}
|
|
@ -0,0 +1,95 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketLegacyServerListPing(Packet):
|
||||||
|
__slots__ = ( 'id', 'payload' )
|
||||||
|
|
||||||
|
payload : int
|
||||||
|
|
||||||
|
_state : int = 0
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 254,
|
||||||
|
47 : 254,
|
||||||
|
76 : 254,
|
||||||
|
107 : 254,
|
||||||
|
108 : 254,
|
||||||
|
109 : 254,
|
||||||
|
110 : 254,
|
||||||
|
201 : 254,
|
||||||
|
210 : 254,
|
||||||
|
304 : 254,
|
||||||
|
315 : 254,
|
||||||
|
321 : 254,
|
||||||
|
327 : 254,
|
||||||
|
331 : 254,
|
||||||
|
335 : 254,
|
||||||
|
338 : 254,
|
||||||
|
340 : 254,
|
||||||
|
351 : 254,
|
||||||
|
393 : 254,
|
||||||
|
401 : 254,
|
||||||
|
402 : 254,
|
||||||
|
403 : 254,
|
||||||
|
404 : 254,
|
||||||
|
477 : 254,
|
||||||
|
480 : 254,
|
||||||
|
490 : 254,
|
||||||
|
498 : 254,
|
||||||
|
573 : 254,
|
||||||
|
575 : 254,
|
||||||
|
578 : 254,
|
||||||
|
709 : 254,
|
||||||
|
734 : 254,
|
||||||
|
735 : 254,
|
||||||
|
736 : 254,
|
||||||
|
751 : 254,
|
||||||
|
755 : 254,
|
||||||
|
756 : 254,
|
||||||
|
757 : 254,
|
||||||
|
1073741839 : 254
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'payload', Byte ) ],
|
||||||
|
47 : [ ( 'payload', Byte ) ],
|
||||||
|
76 : [ ( 'payload', Byte ) ],
|
||||||
|
107 : [ ( 'payload', Byte ) ],
|
||||||
|
108 : [ ( 'payload', Byte ) ],
|
||||||
|
109 : [ ( 'payload', Byte ) ],
|
||||||
|
110 : [ ( 'payload', Byte ) ],
|
||||||
|
201 : [ ( 'payload', Byte ) ],
|
||||||
|
210 : [ ( 'payload', Byte ) ],
|
||||||
|
304 : [ ( 'payload', Byte ) ],
|
||||||
|
315 : [ ( 'payload', Byte ) ],
|
||||||
|
321 : [ ( 'payload', Byte ) ],
|
||||||
|
327 : [ ( 'payload', Byte ) ],
|
||||||
|
331 : [ ( 'payload', Byte ) ],
|
||||||
|
335 : [ ( 'payload', Byte ) ],
|
||||||
|
338 : [ ( 'payload', Byte ) ],
|
||||||
|
340 : [ ( 'payload', Byte ) ],
|
||||||
|
351 : [ ( 'payload', Byte ) ],
|
||||||
|
393 : [ ( 'payload', Byte ) ],
|
||||||
|
401 : [ ( 'payload', Byte ) ],
|
||||||
|
402 : [ ( 'payload', Byte ) ],
|
||||||
|
403 : [ ( 'payload', Byte ) ],
|
||||||
|
404 : [ ( 'payload', Byte ) ],
|
||||||
|
477 : [ ( 'payload', Byte ) ],
|
||||||
|
480 : [ ( 'payload', Byte ) ],
|
||||||
|
490 : [ ( 'payload', Byte ) ],
|
||||||
|
498 : [ ( 'payload', Byte ) ],
|
||||||
|
573 : [ ( 'payload', Byte ) ],
|
||||||
|
575 : [ ( 'payload', Byte ) ],
|
||||||
|
578 : [ ( 'payload', Byte ) ],
|
||||||
|
709 : [ ( 'payload', Byte ) ],
|
||||||
|
734 : [ ( 'payload', Byte ) ],
|
||||||
|
735 : [ ( 'payload', Byte ) ],
|
||||||
|
736 : [ ( 'payload', Byte ) ],
|
||||||
|
751 : [ ( 'payload', Byte ) ],
|
||||||
|
755 : [ ( 'payload', Byte ) ],
|
||||||
|
756 : [ ( 'payload', Byte ) ],
|
||||||
|
757 : [ ( 'payload', Byte ) ],
|
||||||
|
1073741839 : [ ( 'payload', Byte ) ]
|
||||||
|
}
|
|
@ -0,0 +1,98 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSetProtocol(Packet):
|
||||||
|
__slots__ = ( 'id', 'serverPort', 'serverHost', 'protocolVersion', 'nextState' )
|
||||||
|
|
||||||
|
serverPort : int
|
||||||
|
serverHost : str
|
||||||
|
protocolVersion : int
|
||||||
|
nextState : int
|
||||||
|
|
||||||
|
_state : int = 0
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 0,
|
||||||
|
47 : 0,
|
||||||
|
76 : 0,
|
||||||
|
107 : 0,
|
||||||
|
108 : 0,
|
||||||
|
109 : 0,
|
||||||
|
110 : 0,
|
||||||
|
201 : 0,
|
||||||
|
210 : 0,
|
||||||
|
304 : 0,
|
||||||
|
315 : 0,
|
||||||
|
321 : 0,
|
||||||
|
327 : 0,
|
||||||
|
331 : 0,
|
||||||
|
335 : 0,
|
||||||
|
338 : 0,
|
||||||
|
340 : 0,
|
||||||
|
351 : 0,
|
||||||
|
393 : 0,
|
||||||
|
401 : 0,
|
||||||
|
402 : 0,
|
||||||
|
403 : 0,
|
||||||
|
404 : 0,
|
||||||
|
477 : 0,
|
||||||
|
480 : 0,
|
||||||
|
490 : 0,
|
||||||
|
498 : 0,
|
||||||
|
573 : 0,
|
||||||
|
575 : 0,
|
||||||
|
578 : 0,
|
||||||
|
709 : 0,
|
||||||
|
734 : 0,
|
||||||
|
735 : 0,
|
||||||
|
736 : 0,
|
||||||
|
751 : 0,
|
||||||
|
755 : 0,
|
||||||
|
756 : 0,
|
||||||
|
757 : 0,
|
||||||
|
1073741839 : 0
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
47 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
76 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
107 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
108 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
109 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
110 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
201 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
210 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
304 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
315 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
321 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
327 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
331 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
335 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
338 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
340 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
351 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
393 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
401 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
402 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
403 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
404 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
477 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
480 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
490 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
498 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
573 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
575 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
578 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
709 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
734 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
735 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
736 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
751 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
755 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
756 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
757 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'protocolVersion', VarInt ), ( 'serverHost', String ), ( 'serverPort', UnsignedShort ), ( 'nextState', VarInt ) ]
|
||||||
|
}
|
4
aiocraft/mc/proto/login/__init__.py
Normal file
4
aiocraft/mc/proto/login/__init__.py
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from .clientbound import *
|
||||||
|
from .serverbound import *
|
49
aiocraft/mc/proto/login/clientbound/__init__.py
Normal file
49
aiocraft/mc/proto/login/clientbound/__init__.py
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from .packet_disconnect import PacketDisconnect
|
||||||
|
from .packet_encryption_begin import PacketEncryptionBegin
|
||||||
|
from .packet_success import PacketSuccess
|
||||||
|
from .packet_compress import PacketCompress
|
||||||
|
from .packet_login_plugin_request import PacketLoginPluginRequest
|
||||||
|
|
||||||
|
REGISTRY = {
|
||||||
|
1073741839 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
709 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
351 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
327 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
321 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
304 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
201 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
76 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
107 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
110 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
109 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
108 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
47 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
5 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess },
|
||||||
|
757 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
755 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
756 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
735 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
751 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
736 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
734 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
573 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
578 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
575 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
477 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
498 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
490 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
480 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
393 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
404 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
403 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
402 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
401 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress, 4:PacketLoginPluginRequest },
|
||||||
|
335 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
340 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
338 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
331 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
315 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress },
|
||||||
|
210 : { 0:PacketDisconnect, 1:PacketEncryptionBegin, 2:PacketSuccess, 3:PacketCompress }
|
||||||
|
}
|
93
aiocraft/mc/proto/login/clientbound/packet_compress.py
Normal file
93
aiocraft/mc/proto/login/clientbound/packet_compress.py
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketCompress(Packet):
|
||||||
|
__slots__ = ( 'id', 'threshold' )
|
||||||
|
|
||||||
|
threshold : int
|
||||||
|
|
||||||
|
_state : int = 2
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
47 : 3,
|
||||||
|
76 : 3,
|
||||||
|
107 : 3,
|
||||||
|
108 : 3,
|
||||||
|
109 : 3,
|
||||||
|
110 : 3,
|
||||||
|
201 : 3,
|
||||||
|
210 : 3,
|
||||||
|
304 : 3,
|
||||||
|
315 : 3,
|
||||||
|
321 : 3,
|
||||||
|
327 : 3,
|
||||||
|
331 : 3,
|
||||||
|
335 : 3,
|
||||||
|
338 : 3,
|
||||||
|
340 : 3,
|
||||||
|
351 : 3,
|
||||||
|
393 : 3,
|
||||||
|
401 : 3,
|
||||||
|
402 : 3,
|
||||||
|
403 : 3,
|
||||||
|
404 : 3,
|
||||||
|
477 : 3,
|
||||||
|
480 : 3,
|
||||||
|
490 : 3,
|
||||||
|
498 : 3,
|
||||||
|
573 : 3,
|
||||||
|
575 : 3,
|
||||||
|
578 : 3,
|
||||||
|
709 : 3,
|
||||||
|
734 : 3,
|
||||||
|
735 : 3,
|
||||||
|
736 : 3,
|
||||||
|
751 : 3,
|
||||||
|
755 : 3,
|
||||||
|
756 : 3,
|
||||||
|
757 : 3,
|
||||||
|
1073741839 : 3
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
47 : [ ( 'threshold', VarInt ) ],
|
||||||
|
76 : [ ( 'threshold', VarInt ) ],
|
||||||
|
107 : [ ( 'threshold', VarInt ) ],
|
||||||
|
108 : [ ( 'threshold', VarInt ) ],
|
||||||
|
109 : [ ( 'threshold', VarInt ) ],
|
||||||
|
110 : [ ( 'threshold', VarInt ) ],
|
||||||
|
201 : [ ( 'threshold', VarInt ) ],
|
||||||
|
210 : [ ( 'threshold', VarInt ) ],
|
||||||
|
304 : [ ( 'threshold', VarInt ) ],
|
||||||
|
315 : [ ( 'threshold', VarInt ) ],
|
||||||
|
321 : [ ( 'threshold', VarInt ) ],
|
||||||
|
327 : [ ( 'threshold', VarInt ) ],
|
||||||
|
331 : [ ( 'threshold', VarInt ) ],
|
||||||
|
335 : [ ( 'threshold', VarInt ) ],
|
||||||
|
338 : [ ( 'threshold', VarInt ) ],
|
||||||
|
340 : [ ( 'threshold', VarInt ) ],
|
||||||
|
351 : [ ( 'threshold', VarInt ) ],
|
||||||
|
393 : [ ( 'threshold', VarInt ) ],
|
||||||
|
401 : [ ( 'threshold', VarInt ) ],
|
||||||
|
402 : [ ( 'threshold', VarInt ) ],
|
||||||
|
403 : [ ( 'threshold', VarInt ) ],
|
||||||
|
404 : [ ( 'threshold', VarInt ) ],
|
||||||
|
477 : [ ( 'threshold', VarInt ) ],
|
||||||
|
480 : [ ( 'threshold', VarInt ) ],
|
||||||
|
490 : [ ( 'threshold', VarInt ) ],
|
||||||
|
498 : [ ( 'threshold', VarInt ) ],
|
||||||
|
573 : [ ( 'threshold', VarInt ) ],
|
||||||
|
575 : [ ( 'threshold', VarInt ) ],
|
||||||
|
578 : [ ( 'threshold', VarInt ) ],
|
||||||
|
709 : [ ( 'threshold', VarInt ) ],
|
||||||
|
734 : [ ( 'threshold', VarInt ) ],
|
||||||
|
735 : [ ( 'threshold', VarInt ) ],
|
||||||
|
736 : [ ( 'threshold', VarInt ) ],
|
||||||
|
751 : [ ( 'threshold', VarInt ) ],
|
||||||
|
755 : [ ( 'threshold', VarInt ) ],
|
||||||
|
756 : [ ( 'threshold', VarInt ) ],
|
||||||
|
757 : [ ( 'threshold', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'threshold', VarInt ) ]
|
||||||
|
}
|
95
aiocraft/mc/proto/login/clientbound/packet_disconnect.py
Normal file
95
aiocraft/mc/proto/login/clientbound/packet_disconnect.py
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketDisconnect(Packet):
|
||||||
|
__slots__ = ( 'id', 'reason' )
|
||||||
|
|
||||||
|
reason : str
|
||||||
|
|
||||||
|
_state : int = 2
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 0,
|
||||||
|
47 : 0,
|
||||||
|
76 : 0,
|
||||||
|
107 : 0,
|
||||||
|
108 : 0,
|
||||||
|
109 : 0,
|
||||||
|
110 : 0,
|
||||||
|
201 : 0,
|
||||||
|
210 : 0,
|
||||||
|
304 : 0,
|
||||||
|
315 : 0,
|
||||||
|
321 : 0,
|
||||||
|
327 : 0,
|
||||||
|
331 : 0,
|
||||||
|
335 : 0,
|
||||||
|
338 : 0,
|
||||||
|
340 : 0,
|
||||||
|
351 : 0,
|
||||||
|
393 : 0,
|
||||||
|
401 : 0,
|
||||||
|
402 : 0,
|
||||||
|
403 : 0,
|
||||||
|
404 : 0,
|
||||||
|
477 : 0,
|
||||||
|
480 : 0,
|
||||||
|
490 : 0,
|
||||||
|
498 : 0,
|
||||||
|
573 : 0,
|
||||||
|
575 : 0,
|
||||||
|
578 : 0,
|
||||||
|
709 : 0,
|
||||||
|
734 : 0,
|
||||||
|
735 : 0,
|
||||||
|
736 : 0,
|
||||||
|
751 : 0,
|
||||||
|
755 : 0,
|
||||||
|
756 : 0,
|
||||||
|
757 : 0,
|
||||||
|
1073741839 : 0
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'reason', String ) ],
|
||||||
|
47 : [ ( 'reason', String ) ],
|
||||||
|
76 : [ ( 'reason', String ) ],
|
||||||
|
107 : [ ( 'reason', String ) ],
|
||||||
|
108 : [ ( 'reason', String ) ],
|
||||||
|
109 : [ ( 'reason', String ) ],
|
||||||
|
110 : [ ( 'reason', String ) ],
|
||||||
|
201 : [ ( 'reason', String ) ],
|
||||||
|
210 : [ ( 'reason', String ) ],
|
||||||
|
304 : [ ( 'reason', String ) ],
|
||||||
|
315 : [ ( 'reason', String ) ],
|
||||||
|
321 : [ ( 'reason', String ) ],
|
||||||
|
327 : [ ( 'reason', String ) ],
|
||||||
|
331 : [ ( 'reason', String ) ],
|
||||||
|
335 : [ ( 'reason', String ) ],
|
||||||
|
338 : [ ( 'reason', String ) ],
|
||||||
|
340 : [ ( 'reason', String ) ],
|
||||||
|
351 : [ ( 'reason', String ) ],
|
||||||
|
393 : [ ( 'reason', String ) ],
|
||||||
|
401 : [ ( 'reason', String ) ],
|
||||||
|
402 : [ ( 'reason', String ) ],
|
||||||
|
403 : [ ( 'reason', String ) ],
|
||||||
|
404 : [ ( 'reason', String ) ],
|
||||||
|
477 : [ ( 'reason', String ) ],
|
||||||
|
480 : [ ( 'reason', String ) ],
|
||||||
|
490 : [ ( 'reason', String ) ],
|
||||||
|
498 : [ ( 'reason', String ) ],
|
||||||
|
573 : [ ( 'reason', String ) ],
|
||||||
|
575 : [ ( 'reason', String ) ],
|
||||||
|
578 : [ ( 'reason', String ) ],
|
||||||
|
709 : [ ( 'reason', String ) ],
|
||||||
|
734 : [ ( 'reason', String ) ],
|
||||||
|
735 : [ ( 'reason', String ) ],
|
||||||
|
736 : [ ( 'reason', String ) ],
|
||||||
|
751 : [ ( 'reason', String ) ],
|
||||||
|
755 : [ ( 'reason', String ) ],
|
||||||
|
756 : [ ( 'reason', String ) ],
|
||||||
|
757 : [ ( 'reason', String ) ],
|
||||||
|
1073741839 : [ ( 'reason', String ) ]
|
||||||
|
}
|
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEncryptionBegin(Packet):
|
||||||
|
__slots__ = ( 'id', 'serverId', 'verifyToken', 'publicKey' )
|
||||||
|
|
||||||
|
serverId : str
|
||||||
|
verifyToken : bytes
|
||||||
|
publicKey : bytes
|
||||||
|
|
||||||
|
_state : int = 2
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 1,
|
||||||
|
47 : 1,
|
||||||
|
76 : 1,
|
||||||
|
107 : 1,
|
||||||
|
108 : 1,
|
||||||
|
109 : 1,
|
||||||
|
110 : 1,
|
||||||
|
201 : 1,
|
||||||
|
210 : 1,
|
||||||
|
304 : 1,
|
||||||
|
315 : 1,
|
||||||
|
321 : 1,
|
||||||
|
327 : 1,
|
||||||
|
331 : 1,
|
||||||
|
335 : 1,
|
||||||
|
338 : 1,
|
||||||
|
340 : 1,
|
||||||
|
351 : 1,
|
||||||
|
393 : 1,
|
||||||
|
401 : 1,
|
||||||
|
402 : 1,
|
||||||
|
403 : 1,
|
||||||
|
404 : 1,
|
||||||
|
477 : 1,
|
||||||
|
480 : 1,
|
||||||
|
490 : 1,
|
||||||
|
498 : 1,
|
||||||
|
573 : 1,
|
||||||
|
575 : 1,
|
||||||
|
578 : 1,
|
||||||
|
709 : 1,
|
||||||
|
734 : 1,
|
||||||
|
735 : 1,
|
||||||
|
736 : 1,
|
||||||
|
751 : 1,
|
||||||
|
755 : 1,
|
||||||
|
756 : 1,
|
||||||
|
757 : 1,
|
||||||
|
1073741839 : 1
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
47 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
76 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
107 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
108 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
109 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
110 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
201 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
210 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
304 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
315 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
321 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
327 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
331 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
335 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
338 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
340 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
351 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
393 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
401 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
402 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
403 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
404 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
477 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
480 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
490 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
498 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
573 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
575 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
578 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
709 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
734 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
735 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
736 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
751 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
755 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
756 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
757 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
1073741839 : [ ( 'serverId', String ), ( 'publicKey', ByteArray ), ( 'verifyToken', ByteArray ) ]
|
||||||
|
}
|
|
@ -0,0 +1,61 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketLoginPluginRequest(Packet):
|
||||||
|
__slots__ = ( 'id', 'data', 'messageId', 'channel' )
|
||||||
|
|
||||||
|
data : bytes
|
||||||
|
messageId : int
|
||||||
|
channel : str
|
||||||
|
|
||||||
|
_state : int = 2
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
393 : 4,
|
||||||
|
401 : 4,
|
||||||
|
402 : 4,
|
||||||
|
403 : 4,
|
||||||
|
404 : 4,
|
||||||
|
477 : 4,
|
||||||
|
480 : 4,
|
||||||
|
490 : 4,
|
||||||
|
498 : 4,
|
||||||
|
573 : 4,
|
||||||
|
575 : 4,
|
||||||
|
578 : 4,
|
||||||
|
709 : 4,
|
||||||
|
734 : 4,
|
||||||
|
735 : 4,
|
||||||
|
736 : 4,
|
||||||
|
751 : 4,
|
||||||
|
755 : 4,
|
||||||
|
756 : 4,
|
||||||
|
757 : 4,
|
||||||
|
1073741839 : 4
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
393 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
401 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
402 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
403 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
404 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
477 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
480 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
490 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
498 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
573 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
575 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
578 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
709 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
734 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
735 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
736 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
751 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
755 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
756 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
757 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
1073741839 : [ ( 'messageId', VarInt ), ( 'channel', String ), ( 'data', TrailingData ) ]
|
||||||
|
}
|
96
aiocraft/mc/proto/login/clientbound/packet_success.py
Normal file
96
aiocraft/mc/proto/login/clientbound/packet_success.py
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSuccess(Packet):
|
||||||
|
__slots__ = ( 'id', 'uuid', 'username' )
|
||||||
|
|
||||||
|
uuid : str
|
||||||
|
username : str
|
||||||
|
|
||||||
|
_state : int = 2
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 2,
|
||||||
|
47 : 2,
|
||||||
|
76 : 2,
|
||||||
|
107 : 2,
|
||||||
|
108 : 2,
|
||||||
|
109 : 2,
|
||||||
|
110 : 2,
|
||||||
|
201 : 2,
|
||||||
|
210 : 2,
|
||||||
|
304 : 2,
|
||||||
|
315 : 2,
|
||||||
|
321 : 2,
|
||||||
|
327 : 2,
|
||||||
|
331 : 2,
|
||||||
|
335 : 2,
|
||||||
|
338 : 2,
|
||||||
|
340 : 2,
|
||||||
|
351 : 2,
|
||||||
|
393 : 2,
|
||||||
|
401 : 2,
|
||||||
|
402 : 2,
|
||||||
|
403 : 2,
|
||||||
|
404 : 2,
|
||||||
|
477 : 2,
|
||||||
|
480 : 2,
|
||||||
|
490 : 2,
|
||||||
|
498 : 2,
|
||||||
|
573 : 2,
|
||||||
|
575 : 2,
|
||||||
|
578 : 2,
|
||||||
|
709 : 2,
|
||||||
|
734 : 2,
|
||||||
|
735 : 2,
|
||||||
|
736 : 2,
|
||||||
|
751 : 2,
|
||||||
|
755 : 2,
|
||||||
|
756 : 2,
|
||||||
|
757 : 2,
|
||||||
|
1073741839 : 2
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
47 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
76 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
107 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
108 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
109 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
110 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
201 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
210 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
304 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
315 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
321 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
327 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
331 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
335 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
338 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
340 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
351 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
393 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
401 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
402 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
403 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
404 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
477 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
480 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
490 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
498 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
573 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
575 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
578 : [ ( 'uuid', String ), ( 'username', String ) ],
|
||||||
|
709 : [ ( 'uuid', UUID ), ( 'username', String ) ],
|
||||||
|
734 : [ ( 'uuid', UUID ), ( 'username', String ) ],
|
||||||
|
735 : [ ( 'uuid', UUID ), ( 'username', String ) ],
|
||||||
|
736 : [ ( 'uuid', UUID ), ( 'username', String ) ],
|
||||||
|
751 : [ ( 'uuid', UUID ), ( 'username', String ) ],
|
||||||
|
755 : [ ( 'uuid', UUID ), ( 'username', String ) ],
|
||||||
|
756 : [ ( 'uuid', UUID ), ( 'username', String ) ],
|
||||||
|
757 : [ ( 'uuid', UUID ), ( 'username', String ) ],
|
||||||
|
1073741839 : [ ( 'uuid', UUID ), ( 'username', String ) ]
|
||||||
|
}
|
47
aiocraft/mc/proto/login/serverbound/__init__.py
Normal file
47
aiocraft/mc/proto/login/serverbound/__init__.py
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from .packet_login_start import PacketLoginStart
|
||||||
|
from .packet_encryption_begin import PacketEncryptionBegin
|
||||||
|
from .packet_login_plugin_response import PacketLoginPluginResponse
|
||||||
|
|
||||||
|
REGISTRY = {
|
||||||
|
1073741839 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
709 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
351 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
327 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
321 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
304 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
201 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
76 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
107 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
110 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
109 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
108 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
47 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
5 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
757 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
755 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
756 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
735 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
751 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
736 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
734 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
573 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
578 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
575 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
477 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
498 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
490 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
480 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
393 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
404 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
403 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
402 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
401 : { 0:PacketLoginStart, 1:PacketEncryptionBegin, 2:PacketLoginPluginResponse },
|
||||||
|
335 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
340 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
338 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
331 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
315 : { 0:PacketLoginStart, 1:PacketEncryptionBegin },
|
||||||
|
210 : { 0:PacketLoginStart, 1:PacketEncryptionBegin }
|
||||||
|
}
|
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEncryptionBegin(Packet):
|
||||||
|
__slots__ = ( 'id', 'verifyToken', 'sharedSecret' )
|
||||||
|
|
||||||
|
verifyToken : bytes
|
||||||
|
sharedSecret : bytes
|
||||||
|
|
||||||
|
_state : int = 2
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 1,
|
||||||
|
47 : 1,
|
||||||
|
76 : 1,
|
||||||
|
107 : 1,
|
||||||
|
108 : 1,
|
||||||
|
109 : 1,
|
||||||
|
110 : 1,
|
||||||
|
201 : 1,
|
||||||
|
210 : 1,
|
||||||
|
304 : 1,
|
||||||
|
315 : 1,
|
||||||
|
321 : 1,
|
||||||
|
327 : 1,
|
||||||
|
331 : 1,
|
||||||
|
335 : 1,
|
||||||
|
338 : 1,
|
||||||
|
340 : 1,
|
||||||
|
351 : 1,
|
||||||
|
393 : 1,
|
||||||
|
401 : 1,
|
||||||
|
402 : 1,
|
||||||
|
403 : 1,
|
||||||
|
404 : 1,
|
||||||
|
477 : 1,
|
||||||
|
480 : 1,
|
||||||
|
490 : 1,
|
||||||
|
498 : 1,
|
||||||
|
573 : 1,
|
||||||
|
575 : 1,
|
||||||
|
578 : 1,
|
||||||
|
709 : 1,
|
||||||
|
734 : 1,
|
||||||
|
735 : 1,
|
||||||
|
736 : 1,
|
||||||
|
751 : 1,
|
||||||
|
755 : 1,
|
||||||
|
756 : 1,
|
||||||
|
757 : 1,
|
||||||
|
1073741839 : 1
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
47 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
76 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
107 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
108 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
109 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
110 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
201 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
210 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
304 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
315 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
321 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
327 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
331 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
335 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
338 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
340 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
351 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
393 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
401 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
402 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
403 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
404 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
477 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
480 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
490 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
498 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
573 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
575 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
578 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
709 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
734 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
735 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
736 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
751 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
755 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
756 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
757 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ],
|
||||||
|
1073741839 : [ ( 'sharedSecret', ByteArray ), ( 'verifyToken', ByteArray ) ]
|
||||||
|
}
|
|
@ -0,0 +1,60 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketLoginPluginResponse(Packet):
|
||||||
|
__slots__ = ( 'id', 'data', 'messageId' )
|
||||||
|
|
||||||
|
data : tuple
|
||||||
|
messageId : int
|
||||||
|
|
||||||
|
_state : int = 2
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
393 : 2,
|
||||||
|
401 : 2,
|
||||||
|
402 : 2,
|
||||||
|
403 : 2,
|
||||||
|
404 : 2,
|
||||||
|
477 : 2,
|
||||||
|
480 : 2,
|
||||||
|
490 : 2,
|
||||||
|
498 : 2,
|
||||||
|
573 : 2,
|
||||||
|
575 : 2,
|
||||||
|
578 : 2,
|
||||||
|
709 : 2,
|
||||||
|
734 : 2,
|
||||||
|
735 : 2,
|
||||||
|
736 : 2,
|
||||||
|
751 : 2,
|
||||||
|
755 : 2,
|
||||||
|
756 : 2,
|
||||||
|
757 : 2,
|
||||||
|
1073741839 : 2
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
393 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
401 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
402 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
403 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
404 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
477 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
480 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
490 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
498 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
573 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
575 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
578 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
709 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
734 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
735 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
736 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
751 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
755 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
756 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
757 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ],
|
||||||
|
1073741839 : [ ( 'messageId', VarInt ), ( 'data', OptionalType(TrailingData, ) ) ]
|
||||||
|
}
|
95
aiocraft/mc/proto/login/serverbound/packet_login_start.py
Normal file
95
aiocraft/mc/proto/login/serverbound/packet_login_start.py
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketLoginStart(Packet):
|
||||||
|
__slots__ = ( 'id', 'username' )
|
||||||
|
|
||||||
|
username : str
|
||||||
|
|
||||||
|
_state : int = 2
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 0,
|
||||||
|
47 : 0,
|
||||||
|
76 : 0,
|
||||||
|
107 : 0,
|
||||||
|
108 : 0,
|
||||||
|
109 : 0,
|
||||||
|
110 : 0,
|
||||||
|
201 : 0,
|
||||||
|
210 : 0,
|
||||||
|
304 : 0,
|
||||||
|
315 : 0,
|
||||||
|
321 : 0,
|
||||||
|
327 : 0,
|
||||||
|
331 : 0,
|
||||||
|
335 : 0,
|
||||||
|
338 : 0,
|
||||||
|
340 : 0,
|
||||||
|
351 : 0,
|
||||||
|
393 : 0,
|
||||||
|
401 : 0,
|
||||||
|
402 : 0,
|
||||||
|
403 : 0,
|
||||||
|
404 : 0,
|
||||||
|
477 : 0,
|
||||||
|
480 : 0,
|
||||||
|
490 : 0,
|
||||||
|
498 : 0,
|
||||||
|
573 : 0,
|
||||||
|
575 : 0,
|
||||||
|
578 : 0,
|
||||||
|
709 : 0,
|
||||||
|
734 : 0,
|
||||||
|
735 : 0,
|
||||||
|
736 : 0,
|
||||||
|
751 : 0,
|
||||||
|
755 : 0,
|
||||||
|
756 : 0,
|
||||||
|
757 : 0,
|
||||||
|
1073741839 : 0
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'username', String ) ],
|
||||||
|
47 : [ ( 'username', String ) ],
|
||||||
|
76 : [ ( 'username', String ) ],
|
||||||
|
107 : [ ( 'username', String ) ],
|
||||||
|
108 : [ ( 'username', String ) ],
|
||||||
|
109 : [ ( 'username', String ) ],
|
||||||
|
110 : [ ( 'username', String ) ],
|
||||||
|
201 : [ ( 'username', String ) ],
|
||||||
|
210 : [ ( 'username', String ) ],
|
||||||
|
304 : [ ( 'username', String ) ],
|
||||||
|
315 : [ ( 'username', String ) ],
|
||||||
|
321 : [ ( 'username', String ) ],
|
||||||
|
327 : [ ( 'username', String ) ],
|
||||||
|
331 : [ ( 'username', String ) ],
|
||||||
|
335 : [ ( 'username', String ) ],
|
||||||
|
338 : [ ( 'username', String ) ],
|
||||||
|
340 : [ ( 'username', String ) ],
|
||||||
|
351 : [ ( 'username', String ) ],
|
||||||
|
393 : [ ( 'username', String ) ],
|
||||||
|
401 : [ ( 'username', String ) ],
|
||||||
|
402 : [ ( 'username', String ) ],
|
||||||
|
403 : [ ( 'username', String ) ],
|
||||||
|
404 : [ ( 'username', String ) ],
|
||||||
|
477 : [ ( 'username', String ) ],
|
||||||
|
480 : [ ( 'username', String ) ],
|
||||||
|
490 : [ ( 'username', String ) ],
|
||||||
|
498 : [ ( 'username', String ) ],
|
||||||
|
573 : [ ( 'username', String ) ],
|
||||||
|
575 : [ ( 'username', String ) ],
|
||||||
|
578 : [ ( 'username', String ) ],
|
||||||
|
709 : [ ( 'username', String ) ],
|
||||||
|
734 : [ ( 'username', String ) ],
|
||||||
|
735 : [ ( 'username', String ) ],
|
||||||
|
736 : [ ( 'username', String ) ],
|
||||||
|
751 : [ ( 'username', String ) ],
|
||||||
|
755 : [ ( 'username', String ) ],
|
||||||
|
756 : [ ( 'username', String ) ],
|
||||||
|
757 : [ ( 'username', String ) ],
|
||||||
|
1073741839 : [ ( 'username', String ) ]
|
||||||
|
}
|
4
aiocraft/mc/proto/play/__init__.py
Normal file
4
aiocraft/mc/proto/play/__init__.py
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from .clientbound import *
|
||||||
|
from .serverbound import *
|
163
aiocraft/mc/proto/play/clientbound/__init__.py
Normal file
163
aiocraft/mc/proto/play/clientbound/__init__.py
Normal file
|
@ -0,0 +1,163 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from .packet_spawn_entity import PacketSpawnEntity
|
||||||
|
from .packet_spawn_entity_experience_orb import PacketSpawnEntityExperienceOrb
|
||||||
|
from .packet_spawn_entity_living import PacketSpawnEntityLiving
|
||||||
|
from .packet_spawn_entity_painting import PacketSpawnEntityPainting
|
||||||
|
from .packet_named_entity_spawn import PacketNamedEntitySpawn
|
||||||
|
from .packet_animation import PacketAnimation
|
||||||
|
from .packet_statistics import PacketStatistics
|
||||||
|
from .packet_advancements import PacketAdvancements
|
||||||
|
from .packet_block_break_animation import PacketBlockBreakAnimation
|
||||||
|
from .packet_tile_entity_data import PacketTileEntityData
|
||||||
|
from .packet_block_action import PacketBlockAction
|
||||||
|
from .packet_block_change import PacketBlockChange
|
||||||
|
from .packet_boss_bar import PacketBossBar
|
||||||
|
from .packet_difficulty import PacketDifficulty
|
||||||
|
from .packet_tab_complete import PacketTabComplete
|
||||||
|
from .packet_declare_commands import PacketDeclareCommands
|
||||||
|
from .packet_face_player import PacketFacePlayer
|
||||||
|
from .packet_nbt_query_response import PacketNbtQueryResponse
|
||||||
|
from .packet_chat import PacketChat
|
||||||
|
from .packet_multi_block_change import PacketMultiBlockChange
|
||||||
|
from .packet_transaction import PacketTransaction
|
||||||
|
from .packet_close_window import PacketCloseWindow
|
||||||
|
from .packet_open_window import PacketOpenWindow
|
||||||
|
from .packet_window_items import PacketWindowItems
|
||||||
|
from .packet_craft_progress_bar import PacketCraftProgressBar
|
||||||
|
from .packet_set_slot import PacketSetSlot
|
||||||
|
from .packet_set_cooldown import PacketSetCooldown
|
||||||
|
from .packet_custom_payload import PacketCustomPayload
|
||||||
|
from .packet_named_sound_effect import PacketNamedSoundEffect
|
||||||
|
from .packet_kick_disconnect import PacketKickDisconnect
|
||||||
|
from .packet_entity_status import PacketEntityStatus
|
||||||
|
from .packet_explosion import PacketExplosion
|
||||||
|
from .packet_unload_chunk import PacketUnloadChunk
|
||||||
|
from .packet_game_state_change import PacketGameStateChange
|
||||||
|
from .packet_open_horse_window import PacketOpenHorseWindow
|
||||||
|
from .packet_keep_alive import PacketKeepAlive
|
||||||
|
from .packet_map_chunk import PacketMapChunk
|
||||||
|
from .packet_world_event import PacketWorldEvent
|
||||||
|
from .packet_world_particles import PacketWorldParticles
|
||||||
|
from .packet_update_light import PacketUpdateLight
|
||||||
|
from .packet_login import PacketLogin
|
||||||
|
from .packet_map import PacketMap
|
||||||
|
from .packet_trade_list import PacketTradeList
|
||||||
|
from .packet_rel_entity_move import PacketRelEntityMove
|
||||||
|
from .packet_entity_move_look import PacketEntityMoveLook
|
||||||
|
from .packet_entity_look import PacketEntityLook
|
||||||
|
from .packet_entity import PacketEntity
|
||||||
|
from .packet_vehicle_move import PacketVehicleMove
|
||||||
|
from .packet_open_book import PacketOpenBook
|
||||||
|
from .packet_open_sign_entity import PacketOpenSignEntity
|
||||||
|
from .packet_craft_recipe_response import PacketCraftRecipeResponse
|
||||||
|
from .packet_abilities import PacketAbilities
|
||||||
|
from .packet_combat_event import PacketCombatEvent
|
||||||
|
from .packet_player_info import PacketPlayerInfo
|
||||||
|
from .packet_position import PacketPosition
|
||||||
|
from .packet_unlock_recipes import PacketUnlockRecipes
|
||||||
|
from .packet_entity_destroy import PacketEntityDestroy
|
||||||
|
from .packet_remove_entity_effect import PacketRemoveEntityEffect
|
||||||
|
from .packet_resource_pack_send import PacketResourcePackSend
|
||||||
|
from .packet_respawn import PacketRespawn
|
||||||
|
from .packet_entity_head_rotation import PacketEntityHeadRotation
|
||||||
|
from .packet_world_border import PacketWorldBorder
|
||||||
|
from .packet_camera import PacketCamera
|
||||||
|
from .packet_held_item_slot import PacketHeldItemSlot
|
||||||
|
from .packet_update_view_position import PacketUpdateViewPosition
|
||||||
|
from .packet_update_view_distance import PacketUpdateViewDistance
|
||||||
|
from .packet_scoreboard_display_objective import PacketScoreboardDisplayObjective
|
||||||
|
from .packet_entity_metadata import PacketEntityMetadata
|
||||||
|
from .packet_attach_entity import PacketAttachEntity
|
||||||
|
from .packet_entity_velocity import PacketEntityVelocity
|
||||||
|
from .packet_entity_equipment import PacketEntityEquipment
|
||||||
|
from .packet_experience import PacketExperience
|
||||||
|
from .packet_update_health import PacketUpdateHealth
|
||||||
|
from .packet_scoreboard_objective import PacketScoreboardObjective
|
||||||
|
from .packet_set_passengers import PacketSetPassengers
|
||||||
|
from .packet_teams import PacketTeams
|
||||||
|
from .packet_scoreboard_score import PacketScoreboardScore
|
||||||
|
from .packet_spawn_position import PacketSpawnPosition
|
||||||
|
from .packet_update_time import PacketUpdateTime
|
||||||
|
from .packet_title import PacketTitle
|
||||||
|
from .packet_entity_sound_effect import PacketEntitySoundEffect
|
||||||
|
from .packet_stop_sound import PacketStopSound
|
||||||
|
from .packet_sound_effect import PacketSoundEffect
|
||||||
|
from .packet_playerlist_header import PacketPlayerlistHeader
|
||||||
|
from .packet_collect import PacketCollect
|
||||||
|
from .packet_entity_teleport import PacketEntityTeleport
|
||||||
|
from .packet_entity_update_attributes import PacketEntityUpdateAttributes
|
||||||
|
from .packet_entity_effect import PacketEntityEffect
|
||||||
|
from .packet_select_advancement_tab import PacketSelectAdvancementTab
|
||||||
|
from .packet_declare_recipes import PacketDeclareRecipes
|
||||||
|
from .packet_tags import PacketTags
|
||||||
|
from .packet_acknowledge_player_digging import PacketAcknowledgePlayerDigging
|
||||||
|
from .packet_sculk_vibration_signal import PacketSculkVibrationSignal
|
||||||
|
from .packet_spawn_entity_weather import PacketSpawnEntityWeather
|
||||||
|
from .packet_bed import PacketBed
|
||||||
|
from .packet_update_attributes import PacketUpdateAttributes
|
||||||
|
from .packet_update_sign import PacketUpdateSign
|
||||||
|
from .packet_scoreboard_team import PacketScoreboardTeam
|
||||||
|
from .packet_set_compression import PacketSetCompression
|
||||||
|
from .packet_map_chunk_bulk import PacketMapChunkBulk
|
||||||
|
from .packet_update_entity_nbt import PacketUpdateEntityNbt
|
||||||
|
from .packet_end_combat_event import PacketEndCombatEvent
|
||||||
|
from .packet_enter_combat_event import PacketEnterCombatEvent
|
||||||
|
from .packet_death_combat_event import PacketDeathCombatEvent
|
||||||
|
from .packet_clear_titles import PacketClearTitles
|
||||||
|
from .packet_initialize_world_border import PacketInitializeWorldBorder
|
||||||
|
from .packet_action_bar import PacketActionBar
|
||||||
|
from .packet_world_border_center import PacketWorldBorderCenter
|
||||||
|
from .packet_world_border_lerp_size import PacketWorldBorderLerpSize
|
||||||
|
from .packet_world_border_size import PacketWorldBorderSize
|
||||||
|
from .packet_world_border_warning_delay import PacketWorldBorderWarningDelay
|
||||||
|
from .packet_world_border_warning_reach import PacketWorldBorderWarningReach
|
||||||
|
from .packet_ping import PacketPing
|
||||||
|
from .packet_set_title_subtitle import PacketSetTitleSubtitle
|
||||||
|
from .packet_set_title_text import PacketSetTitleText
|
||||||
|
from .packet_set_title_time import PacketSetTitleTime
|
||||||
|
from .packet_simulation_distance import PacketSimulationDistance
|
||||||
|
from .packet_destroy_entity import PacketDestroyEntity
|
||||||
|
from .packet_advancement_progress import PacketAdvancementProgress
|
||||||
|
|
||||||
|
REGISTRY = {
|
||||||
|
1073741839 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 2:PacketSpawnEntityLiving, 3:PacketSpawnEntityPainting, 4:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 88:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 52:PacketFacePlayer, 85:PacketNbtQueryResponse, 15:PacketChat, 60:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketUpdateLight, 37:PacketLogin, 38:PacketMap, 39:PacketTradeList, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 43:PacketEntity, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 48:PacketCraftRecipeResponse, 49:PacketAbilities, 50:PacketCombatEvent, 51:PacketPlayerInfo, 53:PacketPosition, 54:PacketUnlockRecipes, 55:PacketEntityDestroy, 56:PacketRemoveEntityEffect, 57:PacketResourcePackSend, 58:PacketRespawn, 59:PacketEntityHeadRotation, 62:PacketWorldBorder, 63:PacketCamera, 64:PacketHeldItemSlot, 65:PacketUpdateViewPosition, 66:PacketUpdateViewDistance, 68:PacketScoreboardDisplayObjective, 69:PacketEntityMetadata, 70:PacketAttachEntity, 71:PacketEntityVelocity, 72:PacketEntityEquipment, 73:PacketExperience, 74:PacketUpdateHealth, 75:PacketScoreboardObjective, 76:PacketSetPassengers, 77:PacketTeams, 78:PacketScoreboardScore, 67:PacketSpawnPosition, 79:PacketUpdateTime, 80:PacketTitle, 81:PacketEntitySoundEffect, 83:PacketStopSound, 82:PacketSoundEffect, 84:PacketPlayerlistHeader, 86:PacketCollect, 87:PacketEntityTeleport, 89:PacketEntityUpdateAttributes, 90:PacketEntityEffect, 61:PacketSelectAdvancementTab, 91:PacketDeclareRecipes, 92:PacketTags, 8:PacketAcknowledgePlayerDigging, 5:PacketSculkVibrationSignal },
|
||||||
|
709 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 88:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 17:PacketTabComplete, 18:PacketDeclareCommands, 53:PacketFacePlayer, 85:PacketNbtQueryResponse, 15:PacketChat, 16:PacketMultiBlockChange, 19:PacketTransaction, 20:PacketCloseWindow, 47:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 29:PacketExplosion, 30:PacketUnloadChunk, 31:PacketGameStateChange, 32:PacketOpenHorseWindow, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketUpdateLight, 38:PacketLogin, 39:PacketMap, 40:PacketTradeList, 41:PacketRelEntityMove, 42:PacketEntityMoveLook, 43:PacketEntityLook, 44:PacketEntity, 45:PacketVehicleMove, 46:PacketOpenBook, 48:PacketOpenSignEntity, 49:PacketCraftRecipeResponse, 50:PacketAbilities, 51:PacketCombatEvent, 52:PacketPlayerInfo, 54:PacketPosition, 55:PacketUnlockRecipes, 56:PacketEntityDestroy, 57:PacketRemoveEntityEffect, 58:PacketResourcePackSend, 59:PacketRespawn, 60:PacketEntityHeadRotation, 62:PacketWorldBorder, 63:PacketCamera, 64:PacketHeldItemSlot, 65:PacketUpdateViewPosition, 66:PacketUpdateViewDistance, 68:PacketScoreboardDisplayObjective, 69:PacketEntityMetadata, 70:PacketAttachEntity, 71:PacketEntityVelocity, 72:PacketEntityEquipment, 73:PacketExperience, 74:PacketUpdateHealth, 75:PacketScoreboardObjective, 76:PacketSetPassengers, 77:PacketTeams, 78:PacketScoreboardScore, 67:PacketSpawnPosition, 79:PacketUpdateTime, 80:PacketTitle, 81:PacketEntitySoundEffect, 83:PacketStopSound, 82:PacketSoundEffect, 84:PacketPlayerlistHeader, 86:PacketCollect, 87:PacketEntityTeleport, 89:PacketEntityUpdateAttributes, 90:PacketEntityEffect, 61:PacketSelectAdvancementTab, 91:PacketDeclareRecipes, 92:PacketTags, 8:PacketAcknowledgePlayerDigging, 2:PacketSpawnEntityWeather },
|
||||||
|
351 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 79:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 20:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 29:PacketExplosion, 30:PacketUnloadChunk, 31:PacketGameStateChange, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketLogin, 37:PacketMap, 39:PacketRelEntityMove, 40:PacketEntityMoveLook, 41:PacketEntityLook, 38:PacketEntity, 42:PacketVehicleMove, 43:PacketOpenSignEntity, 44:PacketCraftRecipeResponse, 45:PacketAbilities, 46:PacketCombatEvent, 47:PacketPlayerInfo, 48:PacketPosition, 50:PacketUnlockRecipes, 51:PacketEntityDestroy, 52:PacketRemoveEntityEffect, 53:PacketResourcePackSend, 54:PacketRespawn, 55:PacketEntityHeadRotation, 57:PacketWorldBorder, 58:PacketCamera, 59:PacketHeldItemSlot, 60:PacketScoreboardDisplayObjective, 61:PacketEntityMetadata, 62:PacketAttachEntity, 63:PacketEntityVelocity, 64:PacketEntityEquipment, 65:PacketExperience, 66:PacketUpdateHealth, 67:PacketScoreboardObjective, 68:PacketSetPassengers, 69:PacketTeams, 70:PacketScoreboardScore, 71:PacketSpawnPosition, 72:PacketUpdateTime, 73:PacketTitle, 74:PacketStopSound, 75:PacketSoundEffect, 76:PacketPlayerlistHeader, 77:PacketCollect, 78:PacketEntityTeleport, 80:PacketEntityUpdateAttributes, 81:PacketEntityEffect, 56:PacketSelectAdvancementTab, 82:PacketDeclareRecipes, 83:PacketTags, 2:PacketSpawnEntityWeather, 49:PacketBed },
|
||||||
|
327 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 15:PacketTabComplete, 16:PacketChat, 17:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 20:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 29:PacketExplosion, 30:PacketUnloadChunk, 31:PacketGameStateChange, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketLogin, 37:PacketMap, 38:PacketRelEntityMove, 39:PacketEntityMoveLook, 40:PacketEntityLook, 41:PacketEntity, 42:PacketVehicleMove, 43:PacketOpenSignEntity, 44:PacketAbilities, 45:PacketCombatEvent, 46:PacketPlayerInfo, 47:PacketPosition, 49:PacketUnlockRecipes, 50:PacketEntityDestroy, 51:PacketRemoveEntityEffect, 52:PacketResourcePackSend, 53:PacketRespawn, 54:PacketEntityHeadRotation, 55:PacketWorldBorder, 56:PacketCamera, 57:PacketHeldItemSlot, 58:PacketScoreboardDisplayObjective, 59:PacketEntityMetadata, 60:PacketAttachEntity, 61:PacketEntityVelocity, 62:PacketEntityEquipment, 63:PacketExperience, 64:PacketUpdateHealth, 65:PacketScoreboardObjective, 66:PacketSetPassengers, 67:PacketTeams, 68:PacketScoreboardScore, 69:PacketSpawnPosition, 70:PacketUpdateTime, 71:PacketTitle, 72:PacketSoundEffect, 73:PacketPlayerlistHeader, 74:PacketCollect, 75:PacketEntityTeleport, 76:PacketEntityUpdateAttributes, 77:PacketEntityEffect, 2:PacketSpawnEntityWeather, 48:PacketBed },
|
||||||
|
321 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 15:PacketTabComplete, 16:PacketChat, 17:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 20:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 29:PacketExplosion, 30:PacketUnloadChunk, 31:PacketGameStateChange, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketLogin, 37:PacketMap, 38:PacketRelEntityMove, 39:PacketEntityMoveLook, 40:PacketEntityLook, 41:PacketEntity, 42:PacketVehicleMove, 43:PacketOpenSignEntity, 44:PacketAbilities, 45:PacketCombatEvent, 46:PacketPlayerInfo, 47:PacketPosition, 49:PacketUnlockRecipes, 50:PacketEntityDestroy, 51:PacketRemoveEntityEffect, 52:PacketResourcePackSend, 53:PacketRespawn, 54:PacketEntityHeadRotation, 55:PacketWorldBorder, 56:PacketCamera, 57:PacketHeldItemSlot, 58:PacketScoreboardDisplayObjective, 59:PacketEntityMetadata, 60:PacketAttachEntity, 61:PacketEntityVelocity, 62:PacketEntityEquipment, 63:PacketExperience, 64:PacketUpdateHealth, 65:PacketScoreboardObjective, 66:PacketSetPassengers, 67:PacketTeams, 68:PacketScoreboardScore, 69:PacketSpawnPosition, 70:PacketUpdateTime, 71:PacketTitle, 72:PacketSoundEffect, 73:PacketPlayerlistHeader, 74:PacketCollect, 75:PacketEntityTeleport, 76:PacketEntityUpdateAttributes, 77:PacketEntityEffect, 2:PacketSpawnEntityWeather, 48:PacketBed },
|
||||||
|
304 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 37:PacketRelEntityMove, 38:PacketEntityMoveLook, 39:PacketEntityLook, 40:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketEntityDestroy, 49:PacketRemoveEntityEffect, 50:PacketResourcePackSend, 51:PacketRespawn, 52:PacketEntityHeadRotation, 53:PacketWorldBorder, 54:PacketCamera, 55:PacketHeldItemSlot, 56:PacketScoreboardDisplayObjective, 57:PacketEntityMetadata, 58:PacketAttachEntity, 59:PacketEntityVelocity, 60:PacketEntityEquipment, 61:PacketExperience, 62:PacketUpdateHealth, 63:PacketScoreboardObjective, 64:PacketSetPassengers, 65:PacketTeams, 66:PacketScoreboardScore, 67:PacketSpawnPosition, 68:PacketUpdateTime, 69:PacketTitle, 70:PacketSoundEffect, 71:PacketPlayerlistHeader, 72:PacketCollect, 73:PacketEntityTeleport, 74:PacketEntityUpdateAttributes, 75:PacketEntityEffect, 2:PacketSpawnEntityWeather, 47:PacketBed },
|
||||||
|
201 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 37:PacketRelEntityMove, 38:PacketEntityMoveLook, 39:PacketEntityLook, 40:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketEntityDestroy, 49:PacketRemoveEntityEffect, 50:PacketResourcePackSend, 51:PacketRespawn, 52:PacketEntityHeadRotation, 53:PacketWorldBorder, 54:PacketCamera, 55:PacketHeldItemSlot, 56:PacketScoreboardDisplayObjective, 57:PacketEntityMetadata, 58:PacketAttachEntity, 59:PacketEntityVelocity, 60:PacketEntityEquipment, 61:PacketExperience, 62:PacketUpdateHealth, 63:PacketScoreboardObjective, 64:PacketSetPassengers, 65:PacketTeams, 66:PacketScoreboardScore, 67:PacketSpawnPosition, 68:PacketUpdateTime, 69:PacketTitle, 70:PacketSoundEffect, 71:PacketPlayerlistHeader, 72:PacketCollect, 73:PacketEntityTeleport, 74:PacketEntityUpdateAttributes, 75:PacketEntityEffect, 2:PacketSpawnEntityWeather, 47:PacketBed },
|
||||||
|
76 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 35:PacketNamedSoundEffect, 25:PacketKickDisconnect, 26:PacketEntityStatus, 27:PacketExplosion, 28:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 36:PacketLogin, 37:PacketMap, 38:PacketRelEntityMove, 39:PacketEntityMoveLook, 40:PacketEntityLook, 41:PacketEntity, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketEntityDestroy, 49:PacketRemoveEntityEffect, 50:PacketResourcePackSend, 51:PacketRespawn, 52:PacketEntityHeadRotation, 53:PacketWorldBorder, 54:PacketCamera, 55:PacketHeldItemSlot, 56:PacketScoreboardDisplayObjective, 57:PacketEntityMetadata, 58:PacketAttachEntity, 59:PacketEntityVelocity, 60:PacketEntityEquipment, 61:PacketExperience, 62:PacketUpdateHealth, 63:PacketScoreboardObjective, 65:PacketScoreboardScore, 66:PacketSpawnPosition, 67:PacketUpdateTime, 68:PacketTitle, 70:PacketPlayerlistHeader, 71:PacketCollect, 72:PacketEntityTeleport, 74:PacketEntityEffect, 2:PacketSpawnEntityWeather, 47:PacketBed, 73:PacketUpdateAttributes, 69:PacketUpdateSign, 64:PacketScoreboardTeam, 29:PacketSetCompression },
|
||||||
|
107 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 37:PacketRelEntityMove, 38:PacketEntityMoveLook, 39:PacketEntityLook, 40:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketEntityDestroy, 49:PacketRemoveEntityEffect, 50:PacketResourcePackSend, 51:PacketRespawn, 52:PacketEntityHeadRotation, 53:PacketWorldBorder, 54:PacketCamera, 55:PacketHeldItemSlot, 56:PacketScoreboardDisplayObjective, 57:PacketEntityMetadata, 58:PacketAttachEntity, 59:PacketEntityVelocity, 60:PacketEntityEquipment, 61:PacketExperience, 62:PacketUpdateHealth, 63:PacketScoreboardObjective, 64:PacketSetPassengers, 65:PacketTeams, 66:PacketScoreboardScore, 67:PacketSpawnPosition, 68:PacketUpdateTime, 69:PacketTitle, 71:PacketSoundEffect, 72:PacketPlayerlistHeader, 73:PacketCollect, 74:PacketEntityTeleport, 75:PacketEntityUpdateAttributes, 76:PacketEntityEffect, 2:PacketSpawnEntityWeather, 47:PacketBed, 70:PacketUpdateSign },
|
||||||
|
110 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 37:PacketRelEntityMove, 38:PacketEntityMoveLook, 39:PacketEntityLook, 40:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketEntityDestroy, 49:PacketRemoveEntityEffect, 50:PacketResourcePackSend, 51:PacketRespawn, 52:PacketEntityHeadRotation, 53:PacketWorldBorder, 54:PacketCamera, 55:PacketHeldItemSlot, 56:PacketScoreboardDisplayObjective, 57:PacketEntityMetadata, 58:PacketAttachEntity, 59:PacketEntityVelocity, 60:PacketEntityEquipment, 61:PacketExperience, 62:PacketUpdateHealth, 63:PacketScoreboardObjective, 64:PacketSetPassengers, 65:PacketTeams, 66:PacketScoreboardScore, 67:PacketSpawnPosition, 68:PacketUpdateTime, 69:PacketTitle, 70:PacketSoundEffect, 71:PacketPlayerlistHeader, 72:PacketCollect, 73:PacketEntityTeleport, 74:PacketEntityUpdateAttributes, 75:PacketEntityEffect, 2:PacketSpawnEntityWeather, 47:PacketBed },
|
||||||
|
109 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 37:PacketRelEntityMove, 38:PacketEntityMoveLook, 39:PacketEntityLook, 40:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketEntityDestroy, 49:PacketRemoveEntityEffect, 50:PacketResourcePackSend, 51:PacketRespawn, 52:PacketEntityHeadRotation, 53:PacketWorldBorder, 54:PacketCamera, 55:PacketHeldItemSlot, 56:PacketScoreboardDisplayObjective, 57:PacketEntityMetadata, 58:PacketAttachEntity, 59:PacketEntityVelocity, 60:PacketEntityEquipment, 61:PacketExperience, 62:PacketUpdateHealth, 63:PacketScoreboardObjective, 64:PacketSetPassengers, 65:PacketTeams, 66:PacketScoreboardScore, 67:PacketSpawnPosition, 68:PacketUpdateTime, 69:PacketTitle, 71:PacketSoundEffect, 72:PacketPlayerlistHeader, 73:PacketCollect, 74:PacketEntityTeleport, 75:PacketEntityUpdateAttributes, 76:PacketEntityEffect, 2:PacketSpawnEntityWeather, 47:PacketBed, 70:PacketUpdateSign },
|
||||||
|
108 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 37:PacketRelEntityMove, 38:PacketEntityMoveLook, 39:PacketEntityLook, 40:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketEntityDestroy, 49:PacketRemoveEntityEffect, 50:PacketResourcePackSend, 51:PacketRespawn, 52:PacketEntityHeadRotation, 53:PacketWorldBorder, 54:PacketCamera, 55:PacketHeldItemSlot, 56:PacketScoreboardDisplayObjective, 57:PacketEntityMetadata, 58:PacketAttachEntity, 59:PacketEntityVelocity, 60:PacketEntityEquipment, 61:PacketExperience, 62:PacketUpdateHealth, 63:PacketScoreboardObjective, 64:PacketSetPassengers, 65:PacketTeams, 66:PacketScoreboardScore, 67:PacketSpawnPosition, 68:PacketUpdateTime, 69:PacketTitle, 71:PacketSoundEffect, 72:PacketPlayerlistHeader, 73:PacketCollect, 74:PacketEntityTeleport, 75:PacketEntityUpdateAttributes, 76:PacketEntityEffect, 2:PacketSpawnEntityWeather, 47:PacketBed, 70:PacketUpdateSign },
|
||||||
|
47 : { 14:PacketSpawnEntity, 17:PacketSpawnEntityExperienceOrb, 15:PacketSpawnEntityLiving, 16:PacketSpawnEntityPainting, 12:PacketNamedEntitySpawn, 11:PacketAnimation, 55:PacketStatistics, 37:PacketBlockBreakAnimation, 53:PacketTileEntityData, 36:PacketBlockAction, 35:PacketBlockChange, 65:PacketDifficulty, 58:PacketTabComplete, 2:PacketChat, 34:PacketMultiBlockChange, 50:PacketTransaction, 46:PacketCloseWindow, 45:PacketOpenWindow, 48:PacketWindowItems, 49:PacketCraftProgressBar, 47:PacketSetSlot, 63:PacketCustomPayload, 41:PacketNamedSoundEffect, 64:PacketKickDisconnect, 26:PacketEntityStatus, 39:PacketExplosion, 43:PacketGameStateChange, 0:PacketKeepAlive, 33:PacketMapChunk, 40:PacketWorldEvent, 42:PacketWorldParticles, 1:PacketLogin, 52:PacketMap, 21:PacketRelEntityMove, 23:PacketEntityMoveLook, 22:PacketEntityLook, 20:PacketEntity, 54:PacketOpenSignEntity, 57:PacketAbilities, 66:PacketCombatEvent, 56:PacketPlayerInfo, 8:PacketPosition, 19:PacketEntityDestroy, 30:PacketRemoveEntityEffect, 72:PacketResourcePackSend, 7:PacketRespawn, 25:PacketEntityHeadRotation, 68:PacketWorldBorder, 67:PacketCamera, 9:PacketHeldItemSlot, 61:PacketScoreboardDisplayObjective, 28:PacketEntityMetadata, 27:PacketAttachEntity, 18:PacketEntityVelocity, 4:PacketEntityEquipment, 31:PacketExperience, 6:PacketUpdateHealth, 59:PacketScoreboardObjective, 60:PacketScoreboardScore, 5:PacketSpawnPosition, 3:PacketUpdateTime, 69:PacketTitle, 71:PacketPlayerlistHeader, 13:PacketCollect, 24:PacketEntityTeleport, 29:PacketEntityEffect, 44:PacketSpawnEntityWeather, 10:PacketBed, 32:PacketUpdateAttributes, 51:PacketUpdateSign, 62:PacketScoreboardTeam, 70:PacketSetCompression, 38:PacketMapChunkBulk, 73:PacketUpdateEntityNbt },
|
||||||
|
5 : { 14:PacketSpawnEntity, 17:PacketSpawnEntityExperienceOrb, 15:PacketSpawnEntityLiving, 16:PacketSpawnEntityPainting, 12:PacketNamedEntitySpawn, 11:PacketAnimation, 55:PacketStatistics, 37:PacketBlockBreakAnimation, 53:PacketTileEntityData, 36:PacketBlockAction, 35:PacketBlockChange, 58:PacketTabComplete, 2:PacketChat, 34:PacketMultiBlockChange, 50:PacketTransaction, 46:PacketCloseWindow, 45:PacketOpenWindow, 48:PacketWindowItems, 49:PacketCraftProgressBar, 47:PacketSetSlot, 63:PacketCustomPayload, 41:PacketNamedSoundEffect, 64:PacketKickDisconnect, 26:PacketEntityStatus, 39:PacketExplosion, 43:PacketGameStateChange, 0:PacketKeepAlive, 33:PacketMapChunk, 40:PacketWorldEvent, 42:PacketWorldParticles, 1:PacketLogin, 52:PacketMap, 21:PacketRelEntityMove, 23:PacketEntityMoveLook, 22:PacketEntityLook, 20:PacketEntity, 54:PacketOpenSignEntity, 57:PacketAbilities, 56:PacketPlayerInfo, 8:PacketPosition, 19:PacketEntityDestroy, 30:PacketRemoveEntityEffect, 7:PacketRespawn, 25:PacketEntityHeadRotation, 9:PacketHeldItemSlot, 61:PacketScoreboardDisplayObjective, 28:PacketEntityMetadata, 27:PacketAttachEntity, 18:PacketEntityVelocity, 4:PacketEntityEquipment, 31:PacketExperience, 6:PacketUpdateHealth, 59:PacketScoreboardObjective, 60:PacketScoreboardScore, 5:PacketSpawnPosition, 3:PacketUpdateTime, 13:PacketCollect, 24:PacketEntityTeleport, 29:PacketEntityEffect, 44:PacketSpawnEntityWeather, 10:PacketBed, 32:PacketUpdateAttributes, 51:PacketUpdateSign, 62:PacketScoreboardTeam, 38:PacketMapChunkBulk },
|
||||||
|
757 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 2:PacketSpawnEntityLiving, 3:PacketSpawnEntityPainting, 4:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 99:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 17:PacketTabComplete, 18:PacketDeclareCommands, 55:PacketFacePlayer, 96:PacketNbtQueryResponse, 15:PacketChat, 63:PacketMultiBlockChange, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketUpdateLight, 38:PacketLogin, 39:PacketMap, 40:PacketTradeList, 41:PacketRelEntityMove, 42:PacketEntityMoveLook, 43:PacketEntityLook, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 49:PacketCraftRecipeResponse, 50:PacketAbilities, 54:PacketPlayerInfo, 56:PacketPosition, 57:PacketUnlockRecipes, 58:PacketEntityDestroy, 59:PacketRemoveEntityEffect, 60:PacketResourcePackSend, 61:PacketRespawn, 62:PacketEntityHeadRotation, 71:PacketCamera, 72:PacketHeldItemSlot, 73:PacketUpdateViewPosition, 74:PacketUpdateViewDistance, 76:PacketScoreboardDisplayObjective, 77:PacketEntityMetadata, 78:PacketAttachEntity, 79:PacketEntityVelocity, 80:PacketEntityEquipment, 81:PacketExperience, 82:PacketUpdateHealth, 83:PacketScoreboardObjective, 84:PacketSetPassengers, 85:PacketTeams, 86:PacketScoreboardScore, 75:PacketSpawnPosition, 89:PacketUpdateTime, 92:PacketEntitySoundEffect, 94:PacketStopSound, 93:PacketSoundEffect, 95:PacketPlayerlistHeader, 97:PacketCollect, 98:PacketEntityTeleport, 100:PacketEntityUpdateAttributes, 101:PacketEntityEffect, 64:PacketSelectAdvancementTab, 102:PacketDeclareRecipes, 103:PacketTags, 8:PacketAcknowledgePlayerDigging, 5:PacketSculkVibrationSignal, 51:PacketEndCombatEvent, 52:PacketEnterCombatEvent, 53:PacketDeathCombatEvent, 16:PacketClearTitles, 32:PacketInitializeWorldBorder, 65:PacketActionBar, 66:PacketWorldBorderCenter, 67:PacketWorldBorderLerpSize, 68:PacketWorldBorderSize, 69:PacketWorldBorderWarningDelay, 70:PacketWorldBorderWarningReach, 48:PacketPing, 88:PacketSetTitleSubtitle, 90:PacketSetTitleText, 91:PacketSetTitleTime, 87:PacketSimulationDistance },
|
||||||
|
755 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 2:PacketSpawnEntityLiving, 3:PacketSpawnEntityPainting, 4:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 98:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 17:PacketTabComplete, 18:PacketDeclareCommands, 55:PacketFacePlayer, 95:PacketNbtQueryResponse, 15:PacketChat, 63:PacketMultiBlockChange, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketUpdateLight, 38:PacketLogin, 39:PacketMap, 40:PacketTradeList, 41:PacketRelEntityMove, 42:PacketEntityMoveLook, 43:PacketEntityLook, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 49:PacketCraftRecipeResponse, 50:PacketAbilities, 54:PacketPlayerInfo, 56:PacketPosition, 57:PacketUnlockRecipes, 59:PacketRemoveEntityEffect, 60:PacketResourcePackSend, 61:PacketRespawn, 62:PacketEntityHeadRotation, 71:PacketCamera, 72:PacketHeldItemSlot, 73:PacketUpdateViewPosition, 74:PacketUpdateViewDistance, 76:PacketScoreboardDisplayObjective, 77:PacketEntityMetadata, 78:PacketAttachEntity, 79:PacketEntityVelocity, 80:PacketEntityEquipment, 81:PacketExperience, 82:PacketUpdateHealth, 83:PacketScoreboardObjective, 84:PacketSetPassengers, 85:PacketTeams, 86:PacketScoreboardScore, 75:PacketSpawnPosition, 88:PacketUpdateTime, 91:PacketEntitySoundEffect, 93:PacketStopSound, 92:PacketSoundEffect, 94:PacketPlayerlistHeader, 96:PacketCollect, 97:PacketEntityTeleport, 99:PacketEntityUpdateAttributes, 100:PacketEntityEffect, 64:PacketSelectAdvancementTab, 101:PacketDeclareRecipes, 102:PacketTags, 8:PacketAcknowledgePlayerDigging, 5:PacketSculkVibrationSignal, 51:PacketEndCombatEvent, 52:PacketEnterCombatEvent, 53:PacketDeathCombatEvent, 16:PacketClearTitles, 32:PacketInitializeWorldBorder, 65:PacketActionBar, 66:PacketWorldBorderCenter, 67:PacketWorldBorderLerpSize, 68:PacketWorldBorderSize, 69:PacketWorldBorderWarningDelay, 70:PacketWorldBorderWarningReach, 48:PacketPing, 87:PacketSetTitleSubtitle, 89:PacketSetTitleText, 90:PacketSetTitleTime, 58:PacketDestroyEntity },
|
||||||
|
756 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 2:PacketSpawnEntityLiving, 3:PacketSpawnEntityPainting, 4:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 98:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 17:PacketTabComplete, 18:PacketDeclareCommands, 55:PacketFacePlayer, 95:PacketNbtQueryResponse, 15:PacketChat, 63:PacketMultiBlockChange, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketUpdateLight, 38:PacketLogin, 39:PacketMap, 40:PacketTradeList, 41:PacketRelEntityMove, 42:PacketEntityMoveLook, 43:PacketEntityLook, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 49:PacketCraftRecipeResponse, 50:PacketAbilities, 54:PacketPlayerInfo, 56:PacketPosition, 57:PacketUnlockRecipes, 58:PacketEntityDestroy, 59:PacketRemoveEntityEffect, 60:PacketResourcePackSend, 61:PacketRespawn, 62:PacketEntityHeadRotation, 71:PacketCamera, 72:PacketHeldItemSlot, 73:PacketUpdateViewPosition, 74:PacketUpdateViewDistance, 76:PacketScoreboardDisplayObjective, 77:PacketEntityMetadata, 78:PacketAttachEntity, 79:PacketEntityVelocity, 80:PacketEntityEquipment, 81:PacketExperience, 82:PacketUpdateHealth, 83:PacketScoreboardObjective, 84:PacketSetPassengers, 85:PacketTeams, 86:PacketScoreboardScore, 75:PacketSpawnPosition, 88:PacketUpdateTime, 91:PacketEntitySoundEffect, 93:PacketStopSound, 92:PacketSoundEffect, 94:PacketPlayerlistHeader, 96:PacketCollect, 97:PacketEntityTeleport, 99:PacketEntityUpdateAttributes, 100:PacketEntityEffect, 64:PacketSelectAdvancementTab, 101:PacketDeclareRecipes, 102:PacketTags, 8:PacketAcknowledgePlayerDigging, 5:PacketSculkVibrationSignal, 51:PacketEndCombatEvent, 52:PacketEnterCombatEvent, 53:PacketDeathCombatEvent, 16:PacketClearTitles, 32:PacketInitializeWorldBorder, 65:PacketActionBar, 66:PacketWorldBorderCenter, 67:PacketWorldBorderLerpSize, 68:PacketWorldBorderSize, 69:PacketWorldBorderWarningDelay, 70:PacketWorldBorderWarningReach, 48:PacketPing, 87:PacketSetTitleSubtitle, 89:PacketSetTitleText, 90:PacketSetTitleTime },
|
||||||
|
735 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 2:PacketSpawnEntityLiving, 3:PacketSpawnEntityPainting, 4:PacketNamedEntitySpawn, 5:PacketAnimation, 6:PacketStatistics, 87:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 52:PacketFacePlayer, 84:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketUpdateLight, 37:PacketLogin, 38:PacketMap, 39:PacketTradeList, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 43:PacketEntity, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 48:PacketCraftRecipeResponse, 49:PacketAbilities, 50:PacketCombatEvent, 51:PacketPlayerInfo, 53:PacketPosition, 54:PacketUnlockRecipes, 55:PacketEntityDestroy, 56:PacketRemoveEntityEffect, 57:PacketResourcePackSend, 58:PacketRespawn, 59:PacketEntityHeadRotation, 61:PacketWorldBorder, 62:PacketCamera, 63:PacketHeldItemSlot, 64:PacketUpdateViewPosition, 65:PacketUpdateViewDistance, 67:PacketScoreboardDisplayObjective, 68:PacketEntityMetadata, 69:PacketAttachEntity, 70:PacketEntityVelocity, 71:PacketEntityEquipment, 72:PacketExperience, 73:PacketUpdateHealth, 74:PacketScoreboardObjective, 75:PacketSetPassengers, 76:PacketTeams, 77:PacketScoreboardScore, 66:PacketSpawnPosition, 78:PacketUpdateTime, 79:PacketTitle, 80:PacketEntitySoundEffect, 82:PacketStopSound, 81:PacketSoundEffect, 83:PacketPlayerlistHeader, 85:PacketCollect, 86:PacketEntityTeleport, 88:PacketEntityUpdateAttributes, 89:PacketEntityEffect, 60:PacketSelectAdvancementTab, 90:PacketDeclareRecipes, 91:PacketTags, 7:PacketAcknowledgePlayerDigging },
|
||||||
|
751 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 2:PacketSpawnEntityLiving, 3:PacketSpawnEntityPainting, 4:PacketNamedEntitySpawn, 5:PacketAnimation, 6:PacketStatistics, 87:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 15:PacketTabComplete, 16:PacketDeclareCommands, 51:PacketFacePlayer, 84:PacketNbtQueryResponse, 14:PacketChat, 59:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 45:PacketOpenWindow, 19:PacketWindowItems, 20:PacketCraftProgressBar, 21:PacketSetSlot, 22:PacketSetCooldown, 23:PacketCustomPayload, 24:PacketNamedSoundEffect, 25:PacketKickDisconnect, 26:PacketEntityStatus, 27:PacketExplosion, 28:PacketUnloadChunk, 29:PacketGameStateChange, 30:PacketOpenHorseWindow, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketUpdateLight, 36:PacketLogin, 37:PacketMap, 38:PacketTradeList, 39:PacketRelEntityMove, 40:PacketEntityMoveLook, 41:PacketEntityLook, 42:PacketEntity, 43:PacketVehicleMove, 44:PacketOpenBook, 46:PacketOpenSignEntity, 47:PacketCraftRecipeResponse, 48:PacketAbilities, 49:PacketCombatEvent, 50:PacketPlayerInfo, 52:PacketPosition, 53:PacketUnlockRecipes, 54:PacketEntityDestroy, 55:PacketRemoveEntityEffect, 56:PacketResourcePackSend, 57:PacketRespawn, 58:PacketEntityHeadRotation, 61:PacketWorldBorder, 62:PacketCamera, 63:PacketHeldItemSlot, 64:PacketUpdateViewPosition, 65:PacketUpdateViewDistance, 67:PacketScoreboardDisplayObjective, 68:PacketEntityMetadata, 69:PacketAttachEntity, 70:PacketEntityVelocity, 71:PacketEntityEquipment, 72:PacketExperience, 73:PacketUpdateHealth, 74:PacketScoreboardObjective, 75:PacketSetPassengers, 76:PacketTeams, 77:PacketScoreboardScore, 66:PacketSpawnPosition, 78:PacketUpdateTime, 79:PacketTitle, 80:PacketEntitySoundEffect, 82:PacketStopSound, 81:PacketSoundEffect, 83:PacketPlayerlistHeader, 85:PacketCollect, 86:PacketEntityTeleport, 88:PacketEntityUpdateAttributes, 89:PacketEntityEffect, 60:PacketSelectAdvancementTab, 90:PacketDeclareRecipes, 91:PacketTags, 7:PacketAcknowledgePlayerDigging },
|
||||||
|
736 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 2:PacketSpawnEntityLiving, 3:PacketSpawnEntityPainting, 4:PacketNamedEntitySpawn, 5:PacketAnimation, 6:PacketStatistics, 87:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 52:PacketFacePlayer, 84:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketUpdateLight, 37:PacketLogin, 38:PacketMap, 39:PacketTradeList, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 43:PacketEntity, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 48:PacketCraftRecipeResponse, 49:PacketAbilities, 50:PacketCombatEvent, 51:PacketPlayerInfo, 53:PacketPosition, 54:PacketUnlockRecipes, 55:PacketEntityDestroy, 56:PacketRemoveEntityEffect, 57:PacketResourcePackSend, 58:PacketRespawn, 59:PacketEntityHeadRotation, 61:PacketWorldBorder, 62:PacketCamera, 63:PacketHeldItemSlot, 64:PacketUpdateViewPosition, 65:PacketUpdateViewDistance, 67:PacketScoreboardDisplayObjective, 68:PacketEntityMetadata, 69:PacketAttachEntity, 70:PacketEntityVelocity, 71:PacketEntityEquipment, 72:PacketExperience, 73:PacketUpdateHealth, 74:PacketScoreboardObjective, 75:PacketSetPassengers, 76:PacketTeams, 77:PacketScoreboardScore, 66:PacketSpawnPosition, 78:PacketUpdateTime, 79:PacketTitle, 80:PacketEntitySoundEffect, 82:PacketStopSound, 81:PacketSoundEffect, 83:PacketPlayerlistHeader, 85:PacketCollect, 86:PacketEntityTeleport, 88:PacketEntityUpdateAttributes, 89:PacketEntityEffect, 60:PacketSelectAdvancementTab, 90:PacketDeclareRecipes, 91:PacketTags, 7:PacketAcknowledgePlayerDigging },
|
||||||
|
734 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 2:PacketSpawnEntityLiving, 3:PacketSpawnEntityPainting, 4:PacketNamedEntitySpawn, 5:PacketAnimation, 6:PacketStatistics, 87:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 52:PacketFacePlayer, 84:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketUpdateLight, 37:PacketLogin, 38:PacketMap, 39:PacketTradeList, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 43:PacketEntity, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 48:PacketCraftRecipeResponse, 49:PacketAbilities, 50:PacketCombatEvent, 51:PacketPlayerInfo, 53:PacketPosition, 54:PacketUnlockRecipes, 55:PacketEntityDestroy, 56:PacketRemoveEntityEffect, 57:PacketResourcePackSend, 58:PacketRespawn, 59:PacketEntityHeadRotation, 61:PacketWorldBorder, 62:PacketCamera, 63:PacketHeldItemSlot, 64:PacketUpdateViewPosition, 65:PacketUpdateViewDistance, 67:PacketScoreboardDisplayObjective, 68:PacketEntityMetadata, 69:PacketAttachEntity, 70:PacketEntityVelocity, 71:PacketEntityEquipment, 72:PacketExperience, 73:PacketUpdateHealth, 74:PacketScoreboardObjective, 75:PacketSetPassengers, 76:PacketTeams, 77:PacketScoreboardScore, 66:PacketSpawnPosition, 78:PacketUpdateTime, 79:PacketTitle, 80:PacketEntitySoundEffect, 82:PacketStopSound, 81:PacketSoundEffect, 83:PacketPlayerlistHeader, 85:PacketCollect, 86:PacketEntityTeleport, 88:PacketEntityUpdateAttributes, 89:PacketEntityEffect, 60:PacketSelectAdvancementTab, 90:PacketDeclareRecipes, 91:PacketTags, 7:PacketAcknowledgePlayerDigging },
|
||||||
|
573 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 88:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 17:PacketTabComplete, 18:PacketDeclareCommands, 53:PacketFacePlayer, 85:PacketNbtQueryResponse, 15:PacketChat, 16:PacketMultiBlockChange, 19:PacketTransaction, 20:PacketCloseWindow, 47:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 29:PacketExplosion, 30:PacketUnloadChunk, 31:PacketGameStateChange, 32:PacketOpenHorseWindow, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketUpdateLight, 38:PacketLogin, 39:PacketMap, 40:PacketTradeList, 41:PacketRelEntityMove, 42:PacketEntityMoveLook, 43:PacketEntityLook, 44:PacketEntity, 45:PacketVehicleMove, 46:PacketOpenBook, 48:PacketOpenSignEntity, 49:PacketCraftRecipeResponse, 50:PacketAbilities, 51:PacketCombatEvent, 52:PacketPlayerInfo, 54:PacketPosition, 55:PacketUnlockRecipes, 56:PacketEntityDestroy, 57:PacketRemoveEntityEffect, 58:PacketResourcePackSend, 59:PacketRespawn, 60:PacketEntityHeadRotation, 62:PacketWorldBorder, 63:PacketCamera, 64:PacketHeldItemSlot, 65:PacketUpdateViewPosition, 66:PacketUpdateViewDistance, 67:PacketScoreboardDisplayObjective, 68:PacketEntityMetadata, 69:PacketAttachEntity, 70:PacketEntityVelocity, 71:PacketEntityEquipment, 72:PacketExperience, 73:PacketUpdateHealth, 74:PacketScoreboardObjective, 75:PacketSetPassengers, 76:PacketTeams, 77:PacketScoreboardScore, 78:PacketSpawnPosition, 79:PacketUpdateTime, 80:PacketTitle, 81:PacketEntitySoundEffect, 83:PacketStopSound, 82:PacketSoundEffect, 84:PacketPlayerlistHeader, 86:PacketCollect, 87:PacketEntityTeleport, 89:PacketEntityUpdateAttributes, 90:PacketEntityEffect, 61:PacketSelectAdvancementTab, 91:PacketDeclareRecipes, 92:PacketTags, 8:PacketAcknowledgePlayerDigging, 2:PacketSpawnEntityWeather },
|
||||||
|
578 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 88:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 17:PacketTabComplete, 18:PacketDeclareCommands, 53:PacketFacePlayer, 85:PacketNbtQueryResponse, 15:PacketChat, 16:PacketMultiBlockChange, 19:PacketTransaction, 20:PacketCloseWindow, 47:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 29:PacketExplosion, 30:PacketUnloadChunk, 31:PacketGameStateChange, 32:PacketOpenHorseWindow, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketUpdateLight, 38:PacketLogin, 39:PacketMap, 40:PacketTradeList, 41:PacketRelEntityMove, 42:PacketEntityMoveLook, 43:PacketEntityLook, 44:PacketEntity, 45:PacketVehicleMove, 46:PacketOpenBook, 48:PacketOpenSignEntity, 49:PacketCraftRecipeResponse, 50:PacketAbilities, 51:PacketCombatEvent, 52:PacketPlayerInfo, 54:PacketPosition, 55:PacketUnlockRecipes, 56:PacketEntityDestroy, 57:PacketRemoveEntityEffect, 58:PacketResourcePackSend, 59:PacketRespawn, 60:PacketEntityHeadRotation, 62:PacketWorldBorder, 63:PacketCamera, 64:PacketHeldItemSlot, 65:PacketUpdateViewPosition, 66:PacketUpdateViewDistance, 67:PacketScoreboardDisplayObjective, 68:PacketEntityMetadata, 69:PacketAttachEntity, 70:PacketEntityVelocity, 71:PacketEntityEquipment, 72:PacketExperience, 73:PacketUpdateHealth, 74:PacketScoreboardObjective, 75:PacketSetPassengers, 76:PacketTeams, 77:PacketScoreboardScore, 78:PacketSpawnPosition, 79:PacketUpdateTime, 80:PacketTitle, 81:PacketEntitySoundEffect, 83:PacketStopSound, 82:PacketSoundEffect, 84:PacketPlayerlistHeader, 86:PacketCollect, 87:PacketEntityTeleport, 89:PacketEntityUpdateAttributes, 90:PacketEntityEffect, 61:PacketSelectAdvancementTab, 91:PacketDeclareRecipes, 92:PacketTags, 8:PacketAcknowledgePlayerDigging, 2:PacketSpawnEntityWeather },
|
||||||
|
575 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 88:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 17:PacketTabComplete, 18:PacketDeclareCommands, 53:PacketFacePlayer, 85:PacketNbtQueryResponse, 15:PacketChat, 16:PacketMultiBlockChange, 19:PacketTransaction, 20:PacketCloseWindow, 47:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 29:PacketExplosion, 30:PacketUnloadChunk, 31:PacketGameStateChange, 32:PacketOpenHorseWindow, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketUpdateLight, 38:PacketLogin, 39:PacketMap, 40:PacketTradeList, 41:PacketRelEntityMove, 42:PacketEntityMoveLook, 43:PacketEntityLook, 44:PacketEntity, 45:PacketVehicleMove, 46:PacketOpenBook, 48:PacketOpenSignEntity, 49:PacketCraftRecipeResponse, 50:PacketAbilities, 51:PacketCombatEvent, 52:PacketPlayerInfo, 54:PacketPosition, 55:PacketUnlockRecipes, 56:PacketEntityDestroy, 57:PacketRemoveEntityEffect, 58:PacketResourcePackSend, 59:PacketRespawn, 60:PacketEntityHeadRotation, 62:PacketWorldBorder, 63:PacketCamera, 64:PacketHeldItemSlot, 65:PacketUpdateViewPosition, 66:PacketUpdateViewDistance, 67:PacketScoreboardDisplayObjective, 68:PacketEntityMetadata, 69:PacketAttachEntity, 70:PacketEntityVelocity, 71:PacketEntityEquipment, 72:PacketExperience, 73:PacketUpdateHealth, 74:PacketScoreboardObjective, 75:PacketSetPassengers, 76:PacketTeams, 77:PacketScoreboardScore, 78:PacketSpawnPosition, 79:PacketUpdateTime, 80:PacketTitle, 81:PacketEntitySoundEffect, 83:PacketStopSound, 82:PacketSoundEffect, 84:PacketPlayerlistHeader, 86:PacketCollect, 87:PacketEntityTeleport, 89:PacketEntityUpdateAttributes, 90:PacketEntityEffect, 61:PacketSelectAdvancementTab, 91:PacketDeclareRecipes, 92:PacketTags, 8:PacketAcknowledgePlayerDigging, 2:PacketSpawnEntityWeather },
|
||||||
|
477 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 87:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 52:PacketFacePlayer, 84:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketUpdateLight, 37:PacketLogin, 38:PacketMap, 39:PacketTradeList, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 43:PacketEntity, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 48:PacketCraftRecipeResponse, 49:PacketAbilities, 50:PacketCombatEvent, 51:PacketPlayerInfo, 53:PacketPosition, 54:PacketUnlockRecipes, 55:PacketEntityDestroy, 56:PacketRemoveEntityEffect, 57:PacketResourcePackSend, 58:PacketRespawn, 59:PacketEntityHeadRotation, 61:PacketWorldBorder, 62:PacketCamera, 63:PacketHeldItemSlot, 64:PacketUpdateViewPosition, 65:PacketUpdateViewDistance, 66:PacketScoreboardDisplayObjective, 67:PacketEntityMetadata, 68:PacketAttachEntity, 69:PacketEntityVelocity, 70:PacketEntityEquipment, 71:PacketExperience, 72:PacketUpdateHealth, 73:PacketScoreboardObjective, 74:PacketSetPassengers, 75:PacketTeams, 76:PacketScoreboardScore, 77:PacketSpawnPosition, 78:PacketUpdateTime, 79:PacketTitle, 80:PacketEntitySoundEffect, 82:PacketStopSound, 81:PacketSoundEffect, 83:PacketPlayerlistHeader, 85:PacketCollect, 86:PacketEntityTeleport, 88:PacketEntityUpdateAttributes, 89:PacketEntityEffect, 60:PacketSelectAdvancementTab, 90:PacketDeclareRecipes, 91:PacketTags, 2:PacketSpawnEntityWeather },
|
||||||
|
498 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 87:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 52:PacketFacePlayer, 84:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketUpdateLight, 37:PacketLogin, 38:PacketMap, 39:PacketTradeList, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 43:PacketEntity, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 48:PacketCraftRecipeResponse, 49:PacketAbilities, 50:PacketCombatEvent, 51:PacketPlayerInfo, 53:PacketPosition, 54:PacketUnlockRecipes, 55:PacketEntityDestroy, 56:PacketRemoveEntityEffect, 57:PacketResourcePackSend, 58:PacketRespawn, 59:PacketEntityHeadRotation, 61:PacketWorldBorder, 62:PacketCamera, 63:PacketHeldItemSlot, 64:PacketUpdateViewPosition, 65:PacketUpdateViewDistance, 66:PacketScoreboardDisplayObjective, 67:PacketEntityMetadata, 68:PacketAttachEntity, 69:PacketEntityVelocity, 70:PacketEntityEquipment, 71:PacketExperience, 72:PacketUpdateHealth, 73:PacketScoreboardObjective, 74:PacketSetPassengers, 75:PacketTeams, 76:PacketScoreboardScore, 77:PacketSpawnPosition, 78:PacketUpdateTime, 79:PacketTitle, 80:PacketEntitySoundEffect, 82:PacketStopSound, 81:PacketSoundEffect, 83:PacketPlayerlistHeader, 85:PacketCollect, 86:PacketEntityTeleport, 88:PacketEntityUpdateAttributes, 89:PacketEntityEffect, 60:PacketSelectAdvancementTab, 90:PacketDeclareRecipes, 91:PacketTags, 92:PacketAcknowledgePlayerDigging, 2:PacketSpawnEntityWeather },
|
||||||
|
490 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 87:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 52:PacketFacePlayer, 84:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketUpdateLight, 37:PacketLogin, 38:PacketMap, 39:PacketTradeList, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 43:PacketEntity, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 48:PacketCraftRecipeResponse, 49:PacketAbilities, 50:PacketCombatEvent, 51:PacketPlayerInfo, 53:PacketPosition, 54:PacketUnlockRecipes, 55:PacketEntityDestroy, 56:PacketRemoveEntityEffect, 57:PacketResourcePackSend, 58:PacketRespawn, 59:PacketEntityHeadRotation, 61:PacketWorldBorder, 62:PacketCamera, 63:PacketHeldItemSlot, 64:PacketUpdateViewPosition, 65:PacketUpdateViewDistance, 66:PacketScoreboardDisplayObjective, 67:PacketEntityMetadata, 68:PacketAttachEntity, 69:PacketEntityVelocity, 70:PacketEntityEquipment, 71:PacketExperience, 72:PacketUpdateHealth, 73:PacketScoreboardObjective, 74:PacketSetPassengers, 75:PacketTeams, 76:PacketScoreboardScore, 77:PacketSpawnPosition, 78:PacketUpdateTime, 79:PacketTitle, 80:PacketEntitySoundEffect, 82:PacketStopSound, 81:PacketSoundEffect, 83:PacketPlayerlistHeader, 85:PacketCollect, 86:PacketEntityTeleport, 88:PacketEntityUpdateAttributes, 89:PacketEntityEffect, 60:PacketSelectAdvancementTab, 90:PacketDeclareRecipes, 91:PacketTags, 2:PacketSpawnEntityWeather },
|
||||||
|
480 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 87:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 52:PacketFacePlayer, 84:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 46:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketOpenHorseWindow, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketUpdateLight, 37:PacketLogin, 38:PacketMap, 39:PacketTradeList, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 43:PacketEntity, 44:PacketVehicleMove, 45:PacketOpenBook, 47:PacketOpenSignEntity, 48:PacketCraftRecipeResponse, 49:PacketAbilities, 50:PacketCombatEvent, 51:PacketPlayerInfo, 53:PacketPosition, 54:PacketUnlockRecipes, 55:PacketEntityDestroy, 56:PacketRemoveEntityEffect, 57:PacketResourcePackSend, 58:PacketRespawn, 59:PacketEntityHeadRotation, 61:PacketWorldBorder, 62:PacketCamera, 63:PacketHeldItemSlot, 64:PacketUpdateViewPosition, 65:PacketUpdateViewDistance, 66:PacketScoreboardDisplayObjective, 67:PacketEntityMetadata, 68:PacketAttachEntity, 69:PacketEntityVelocity, 70:PacketEntityEquipment, 71:PacketExperience, 72:PacketUpdateHealth, 73:PacketScoreboardObjective, 74:PacketSetPassengers, 75:PacketTeams, 76:PacketScoreboardScore, 77:PacketSpawnPosition, 78:PacketUpdateTime, 79:PacketTitle, 80:PacketEntitySoundEffect, 82:PacketStopSound, 81:PacketSoundEffect, 83:PacketPlayerlistHeader, 85:PacketCollect, 86:PacketEntityTeleport, 88:PacketEntityUpdateAttributes, 89:PacketEntityEffect, 60:PacketSelectAdvancementTab, 90:PacketDeclareRecipes, 91:PacketTags, 2:PacketSpawnEntityWeather },
|
||||||
|
393 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 81:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 49:PacketFacePlayer, 29:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 20:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 30:PacketExplosion, 31:PacketUnloadChunk, 32:PacketGameStateChange, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketLogin, 38:PacketMap, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 39:PacketEntity, 43:PacketVehicleMove, 44:PacketOpenSignEntity, 45:PacketCraftRecipeResponse, 46:PacketAbilities, 47:PacketCombatEvent, 48:PacketPlayerInfo, 50:PacketPosition, 52:PacketUnlockRecipes, 53:PacketEntityDestroy, 54:PacketRemoveEntityEffect, 55:PacketResourcePackSend, 56:PacketRespawn, 57:PacketEntityHeadRotation, 59:PacketWorldBorder, 60:PacketCamera, 61:PacketHeldItemSlot, 62:PacketScoreboardDisplayObjective, 63:PacketEntityMetadata, 64:PacketAttachEntity, 65:PacketEntityVelocity, 66:PacketEntityEquipment, 67:PacketExperience, 68:PacketUpdateHealth, 69:PacketScoreboardObjective, 70:PacketSetPassengers, 71:PacketTeams, 72:PacketScoreboardScore, 73:PacketSpawnPosition, 74:PacketUpdateTime, 75:PacketTitle, 76:PacketStopSound, 77:PacketSoundEffect, 78:PacketPlayerlistHeader, 79:PacketCollect, 80:PacketEntityTeleport, 82:PacketEntityUpdateAttributes, 83:PacketEntityEffect, 58:PacketSelectAdvancementTab, 84:PacketDeclareRecipes, 85:PacketTags, 2:PacketSpawnEntityWeather, 51:PacketBed },
|
||||||
|
404 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 81:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 49:PacketFacePlayer, 29:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 20:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 30:PacketExplosion, 31:PacketUnloadChunk, 32:PacketGameStateChange, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketLogin, 38:PacketMap, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 39:PacketEntity, 43:PacketVehicleMove, 44:PacketOpenSignEntity, 45:PacketCraftRecipeResponse, 46:PacketAbilities, 47:PacketCombatEvent, 48:PacketPlayerInfo, 50:PacketPosition, 52:PacketUnlockRecipes, 53:PacketEntityDestroy, 54:PacketRemoveEntityEffect, 55:PacketResourcePackSend, 56:PacketRespawn, 57:PacketEntityHeadRotation, 59:PacketWorldBorder, 60:PacketCamera, 61:PacketHeldItemSlot, 62:PacketScoreboardDisplayObjective, 63:PacketEntityMetadata, 64:PacketAttachEntity, 65:PacketEntityVelocity, 66:PacketEntityEquipment, 67:PacketExperience, 68:PacketUpdateHealth, 69:PacketScoreboardObjective, 70:PacketSetPassengers, 71:PacketTeams, 72:PacketScoreboardScore, 73:PacketSpawnPosition, 74:PacketUpdateTime, 75:PacketTitle, 76:PacketStopSound, 77:PacketSoundEffect, 78:PacketPlayerlistHeader, 79:PacketCollect, 80:PacketEntityTeleport, 82:PacketEntityUpdateAttributes, 83:PacketEntityEffect, 58:PacketSelectAdvancementTab, 84:PacketDeclareRecipes, 85:PacketTags, 2:PacketSpawnEntityWeather, 51:PacketBed },
|
||||||
|
403 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 81:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 49:PacketFacePlayer, 29:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 20:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 30:PacketExplosion, 31:PacketUnloadChunk, 32:PacketGameStateChange, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketLogin, 38:PacketMap, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 39:PacketEntity, 43:PacketVehicleMove, 44:PacketOpenSignEntity, 45:PacketCraftRecipeResponse, 46:PacketAbilities, 47:PacketCombatEvent, 48:PacketPlayerInfo, 50:PacketPosition, 52:PacketUnlockRecipes, 53:PacketEntityDestroy, 54:PacketRemoveEntityEffect, 55:PacketResourcePackSend, 56:PacketRespawn, 57:PacketEntityHeadRotation, 59:PacketWorldBorder, 60:PacketCamera, 61:PacketHeldItemSlot, 62:PacketScoreboardDisplayObjective, 63:PacketEntityMetadata, 64:PacketAttachEntity, 65:PacketEntityVelocity, 66:PacketEntityEquipment, 67:PacketExperience, 68:PacketUpdateHealth, 69:PacketScoreboardObjective, 70:PacketSetPassengers, 71:PacketTeams, 72:PacketScoreboardScore, 73:PacketSpawnPosition, 74:PacketUpdateTime, 75:PacketTitle, 76:PacketStopSound, 77:PacketSoundEffect, 78:PacketPlayerlistHeader, 79:PacketCollect, 80:PacketEntityTeleport, 82:PacketEntityUpdateAttributes, 83:PacketEntityEffect, 58:PacketSelectAdvancementTab, 84:PacketDeclareRecipes, 85:PacketTags, 2:PacketSpawnEntityWeather, 51:PacketBed },
|
||||||
|
402 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 81:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 49:PacketFacePlayer, 29:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 20:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 30:PacketExplosion, 31:PacketUnloadChunk, 32:PacketGameStateChange, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketLogin, 38:PacketMap, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 39:PacketEntity, 43:PacketVehicleMove, 44:PacketOpenSignEntity, 45:PacketCraftRecipeResponse, 46:PacketAbilities, 47:PacketCombatEvent, 48:PacketPlayerInfo, 50:PacketPosition, 52:PacketUnlockRecipes, 53:PacketEntityDestroy, 54:PacketRemoveEntityEffect, 55:PacketResourcePackSend, 56:PacketRespawn, 57:PacketEntityHeadRotation, 59:PacketWorldBorder, 60:PacketCamera, 61:PacketHeldItemSlot, 62:PacketScoreboardDisplayObjective, 63:PacketEntityMetadata, 64:PacketAttachEntity, 65:PacketEntityVelocity, 66:PacketEntityEquipment, 67:PacketExperience, 68:PacketUpdateHealth, 69:PacketScoreboardObjective, 70:PacketSetPassengers, 71:PacketTeams, 72:PacketScoreboardScore, 73:PacketSpawnPosition, 74:PacketUpdateTime, 75:PacketTitle, 76:PacketStopSound, 77:PacketSoundEffect, 78:PacketPlayerlistHeader, 79:PacketCollect, 80:PacketEntityTeleport, 82:PacketEntityUpdateAttributes, 83:PacketEntityEffect, 58:PacketSelectAdvancementTab, 84:PacketDeclareRecipes, 85:PacketTags, 2:PacketSpawnEntityWeather, 51:PacketBed },
|
||||||
|
401 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 81:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 16:PacketTabComplete, 17:PacketDeclareCommands, 49:PacketFacePlayer, 29:PacketNbtQueryResponse, 14:PacketChat, 15:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 20:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 30:PacketExplosion, 31:PacketUnloadChunk, 32:PacketGameStateChange, 33:PacketKeepAlive, 34:PacketMapChunk, 35:PacketWorldEvent, 36:PacketWorldParticles, 37:PacketLogin, 38:PacketMap, 40:PacketRelEntityMove, 41:PacketEntityMoveLook, 42:PacketEntityLook, 39:PacketEntity, 43:PacketVehicleMove, 44:PacketOpenSignEntity, 45:PacketCraftRecipeResponse, 46:PacketAbilities, 47:PacketCombatEvent, 48:PacketPlayerInfo, 50:PacketPosition, 52:PacketUnlockRecipes, 53:PacketEntityDestroy, 54:PacketRemoveEntityEffect, 55:PacketResourcePackSend, 56:PacketRespawn, 57:PacketEntityHeadRotation, 59:PacketWorldBorder, 60:PacketCamera, 61:PacketHeldItemSlot, 62:PacketScoreboardDisplayObjective, 63:PacketEntityMetadata, 64:PacketAttachEntity, 65:PacketEntityVelocity, 66:PacketEntityEquipment, 67:PacketExperience, 68:PacketUpdateHealth, 69:PacketScoreboardObjective, 70:PacketSetPassengers, 71:PacketTeams, 72:PacketScoreboardScore, 73:PacketSpawnPosition, 74:PacketUpdateTime, 75:PacketTitle, 76:PacketStopSound, 77:PacketSoundEffect, 78:PacketPlayerlistHeader, 79:PacketCollect, 80:PacketEntityTeleport, 82:PacketEntityUpdateAttributes, 83:PacketEntityEffect, 58:PacketSelectAdvancementTab, 84:PacketDeclareRecipes, 85:PacketTags, 2:PacketSpawnEntityWeather, 51:PacketBed },
|
||||||
|
335 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 76:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 38:PacketRelEntityMove, 39:PacketEntityMoveLook, 40:PacketEntityLook, 37:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketUnlockRecipes, 49:PacketEntityDestroy, 50:PacketRemoveEntityEffect, 51:PacketResourcePackSend, 52:PacketRespawn, 53:PacketEntityHeadRotation, 55:PacketWorldBorder, 56:PacketCamera, 57:PacketHeldItemSlot, 58:PacketScoreboardDisplayObjective, 59:PacketEntityMetadata, 60:PacketAttachEntity, 61:PacketEntityVelocity, 62:PacketEntityEquipment, 63:PacketExperience, 64:PacketUpdateHealth, 65:PacketScoreboardObjective, 66:PacketSetPassengers, 67:PacketTeams, 68:PacketScoreboardScore, 69:PacketSpawnPosition, 70:PacketUpdateTime, 71:PacketTitle, 72:PacketSoundEffect, 73:PacketPlayerlistHeader, 74:PacketCollect, 75:PacketEntityTeleport, 77:PacketEntityUpdateAttributes, 78:PacketEntityEffect, 54:PacketSelectAdvancementTab, 2:PacketSpawnEntityWeather, 47:PacketBed },
|
||||||
|
340 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 77:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 38:PacketRelEntityMove, 39:PacketEntityMoveLook, 40:PacketEntityLook, 37:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketCraftRecipeResponse, 44:PacketAbilities, 45:PacketCombatEvent, 46:PacketPlayerInfo, 47:PacketPosition, 49:PacketUnlockRecipes, 50:PacketEntityDestroy, 51:PacketRemoveEntityEffect, 52:PacketResourcePackSend, 53:PacketRespawn, 54:PacketEntityHeadRotation, 56:PacketWorldBorder, 57:PacketCamera, 58:PacketHeldItemSlot, 59:PacketScoreboardDisplayObjective, 60:PacketEntityMetadata, 61:PacketAttachEntity, 62:PacketEntityVelocity, 63:PacketEntityEquipment, 64:PacketExperience, 65:PacketUpdateHealth, 66:PacketScoreboardObjective, 67:PacketSetPassengers, 68:PacketTeams, 69:PacketScoreboardScore, 70:PacketSpawnPosition, 71:PacketUpdateTime, 72:PacketTitle, 73:PacketSoundEffect, 74:PacketPlayerlistHeader, 75:PacketCollect, 76:PacketEntityTeleport, 78:PacketEntityUpdateAttributes, 79:PacketEntityEffect, 55:PacketSelectAdvancementTab, 2:PacketSpawnEntityWeather, 48:PacketBed },
|
||||||
|
338 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 77:PacketAdvancements, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 38:PacketRelEntityMove, 39:PacketEntityMoveLook, 40:PacketEntityLook, 37:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketCraftRecipeResponse, 44:PacketAbilities, 45:PacketCombatEvent, 46:PacketPlayerInfo, 47:PacketPosition, 49:PacketUnlockRecipes, 50:PacketEntityDestroy, 51:PacketRemoveEntityEffect, 52:PacketResourcePackSend, 53:PacketRespawn, 54:PacketEntityHeadRotation, 56:PacketWorldBorder, 57:PacketCamera, 58:PacketHeldItemSlot, 59:PacketScoreboardDisplayObjective, 60:PacketEntityMetadata, 61:PacketAttachEntity, 62:PacketEntityVelocity, 63:PacketEntityEquipment, 64:PacketExperience, 65:PacketUpdateHealth, 66:PacketScoreboardObjective, 67:PacketSetPassengers, 68:PacketTeams, 69:PacketScoreboardScore, 70:PacketSpawnPosition, 71:PacketUpdateTime, 72:PacketTitle, 73:PacketSoundEffect, 74:PacketPlayerlistHeader, 75:PacketCollect, 76:PacketEntityTeleport, 78:PacketEntityUpdateAttributes, 79:PacketEntityEffect, 55:PacketSelectAdvancementTab, 2:PacketSpawnEntityWeather, 48:PacketBed },
|
||||||
|
331 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketAdvancements, 9:PacketBlockBreakAnimation, 10:PacketTileEntityData, 11:PacketBlockAction, 12:PacketBlockChange, 13:PacketBossBar, 14:PacketDifficulty, 15:PacketTabComplete, 16:PacketChat, 17:PacketMultiBlockChange, 18:PacketTransaction, 19:PacketCloseWindow, 20:PacketOpenWindow, 21:PacketWindowItems, 22:PacketCraftProgressBar, 23:PacketSetSlot, 24:PacketSetCooldown, 25:PacketCustomPayload, 26:PacketNamedSoundEffect, 27:PacketKickDisconnect, 28:PacketEntityStatus, 29:PacketExplosion, 30:PacketUnloadChunk, 31:PacketGameStateChange, 32:PacketKeepAlive, 33:PacketMapChunk, 34:PacketWorldEvent, 35:PacketWorldParticles, 36:PacketLogin, 37:PacketMap, 38:PacketRelEntityMove, 39:PacketEntityMoveLook, 40:PacketEntityLook, 41:PacketEntity, 42:PacketVehicleMove, 43:PacketOpenSignEntity, 44:PacketAbilities, 45:PacketCombatEvent, 46:PacketPlayerInfo, 47:PacketPosition, 49:PacketUnlockRecipes, 50:PacketEntityDestroy, 51:PacketRemoveEntityEffect, 52:PacketResourcePackSend, 53:PacketRespawn, 54:PacketEntityHeadRotation, 55:PacketWorldBorder, 56:PacketCamera, 57:PacketHeldItemSlot, 58:PacketScoreboardDisplayObjective, 59:PacketEntityMetadata, 60:PacketAttachEntity, 61:PacketEntityVelocity, 62:PacketEntityEquipment, 63:PacketExperience, 64:PacketUpdateHealth, 65:PacketScoreboardObjective, 66:PacketSetPassengers, 67:PacketTeams, 68:PacketScoreboardScore, 69:PacketSpawnPosition, 70:PacketUpdateTime, 71:PacketTitle, 72:PacketSoundEffect, 73:PacketPlayerlistHeader, 74:PacketCollect, 75:PacketEntityTeleport, 76:PacketEntityUpdateAttributes, 77:PacketEntityEffect, 2:PacketSpawnEntityWeather, 48:PacketBed, 78:PacketAdvancementProgress },
|
||||||
|
315 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 37:PacketRelEntityMove, 38:PacketEntityMoveLook, 39:PacketEntityLook, 40:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketEntityDestroy, 49:PacketRemoveEntityEffect, 50:PacketResourcePackSend, 51:PacketRespawn, 52:PacketEntityHeadRotation, 53:PacketWorldBorder, 54:PacketCamera, 55:PacketHeldItemSlot, 56:PacketScoreboardDisplayObjective, 57:PacketEntityMetadata, 58:PacketAttachEntity, 59:PacketEntityVelocity, 60:PacketEntityEquipment, 61:PacketExperience, 62:PacketUpdateHealth, 63:PacketScoreboardObjective, 64:PacketSetPassengers, 65:PacketTeams, 66:PacketScoreboardScore, 67:PacketSpawnPosition, 68:PacketUpdateTime, 69:PacketTitle, 70:PacketSoundEffect, 71:PacketPlayerlistHeader, 72:PacketCollect, 73:PacketEntityTeleport, 74:PacketEntityUpdateAttributes, 75:PacketEntityEffect, 2:PacketSpawnEntityWeather, 47:PacketBed },
|
||||||
|
210 : { 0:PacketSpawnEntity, 1:PacketSpawnEntityExperienceOrb, 3:PacketSpawnEntityLiving, 4:PacketSpawnEntityPainting, 5:PacketNamedEntitySpawn, 6:PacketAnimation, 7:PacketStatistics, 8:PacketBlockBreakAnimation, 9:PacketTileEntityData, 10:PacketBlockAction, 11:PacketBlockChange, 12:PacketBossBar, 13:PacketDifficulty, 14:PacketTabComplete, 15:PacketChat, 16:PacketMultiBlockChange, 17:PacketTransaction, 18:PacketCloseWindow, 19:PacketOpenWindow, 20:PacketWindowItems, 21:PacketCraftProgressBar, 22:PacketSetSlot, 23:PacketSetCooldown, 24:PacketCustomPayload, 25:PacketNamedSoundEffect, 26:PacketKickDisconnect, 27:PacketEntityStatus, 28:PacketExplosion, 29:PacketUnloadChunk, 30:PacketGameStateChange, 31:PacketKeepAlive, 32:PacketMapChunk, 33:PacketWorldEvent, 34:PacketWorldParticles, 35:PacketLogin, 36:PacketMap, 37:PacketRelEntityMove, 38:PacketEntityMoveLook, 39:PacketEntityLook, 40:PacketEntity, 41:PacketVehicleMove, 42:PacketOpenSignEntity, 43:PacketAbilities, 44:PacketCombatEvent, 45:PacketPlayerInfo, 46:PacketPosition, 48:PacketEntityDestroy, 49:PacketRemoveEntityEffect, 50:PacketResourcePackSend, 51:PacketRespawn, 52:PacketEntityHeadRotation, 53:PacketWorldBorder, 54:PacketCamera, 55:PacketHeldItemSlot, 56:PacketScoreboardDisplayObjective, 57:PacketEntityMetadata, 58:PacketAttachEntity, 59:PacketEntityVelocity, 60:PacketEntityEquipment, 61:PacketExperience, 62:PacketUpdateHealth, 63:PacketScoreboardObjective, 64:PacketSetPassengers, 65:PacketTeams, 66:PacketScoreboardScore, 67:PacketSpawnPosition, 68:PacketUpdateTime, 69:PacketTitle, 70:PacketSoundEffect, 71:PacketPlayerlistHeader, 72:PacketCollect, 73:PacketEntityTeleport, 74:PacketEntityUpdateAttributes, 75:PacketEntityEffect, 2:PacketSpawnEntityWeather, 47:PacketBed }
|
||||||
|
}
|
97
aiocraft/mc/proto/play/clientbound/packet_abilities.py
Normal file
97
aiocraft/mc/proto/play/clientbound/packet_abilities.py
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketAbilities(Packet):
|
||||||
|
__slots__ = ( 'id', 'walkingSpeed', 'flyingSpeed', 'flags' )
|
||||||
|
|
||||||
|
walkingSpeed : float
|
||||||
|
flyingSpeed : float
|
||||||
|
flags : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 57,
|
||||||
|
47 : 57,
|
||||||
|
76 : 43,
|
||||||
|
107 : 43,
|
||||||
|
108 : 43,
|
||||||
|
109 : 43,
|
||||||
|
110 : 43,
|
||||||
|
201 : 43,
|
||||||
|
210 : 43,
|
||||||
|
304 : 43,
|
||||||
|
315 : 43,
|
||||||
|
321 : 44,
|
||||||
|
327 : 44,
|
||||||
|
331 : 44,
|
||||||
|
335 : 43,
|
||||||
|
338 : 44,
|
||||||
|
340 : 44,
|
||||||
|
351 : 45,
|
||||||
|
393 : 46,
|
||||||
|
401 : 46,
|
||||||
|
402 : 46,
|
||||||
|
403 : 46,
|
||||||
|
404 : 46,
|
||||||
|
477 : 49,
|
||||||
|
480 : 49,
|
||||||
|
490 : 49,
|
||||||
|
498 : 49,
|
||||||
|
573 : 50,
|
||||||
|
575 : 50,
|
||||||
|
578 : 50,
|
||||||
|
709 : 50,
|
||||||
|
734 : 49,
|
||||||
|
735 : 49,
|
||||||
|
736 : 49,
|
||||||
|
751 : 48,
|
||||||
|
755 : 50,
|
||||||
|
756 : 50,
|
||||||
|
757 : 50,
|
||||||
|
1073741839 : 49
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
47 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
76 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
107 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
108 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
109 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
110 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
201 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
210 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
304 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
315 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
321 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
327 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
331 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
335 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
338 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
340 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
351 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
393 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
401 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
402 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
403 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
404 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
477 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
480 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
490 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
498 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
573 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
575 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
578 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
709 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
734 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
735 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
736 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
751 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
755 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
756 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
757 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ],
|
||||||
|
1073741839 : [ ( 'flags', Byte ), ( 'flyingSpeed', Float ), ( 'walkingSpeed', Float ) ]
|
||||||
|
}
|
|
@ -0,0 +1,46 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketAcknowledgePlayerDigging(Packet):
|
||||||
|
__slots__ = ( 'id', 'block', 'status', 'successful', 'location' )
|
||||||
|
|
||||||
|
block : int
|
||||||
|
status : int
|
||||||
|
successful : bool
|
||||||
|
location : tuple
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
498 : 92,
|
||||||
|
573 : 8,
|
||||||
|
575 : 8,
|
||||||
|
578 : 8,
|
||||||
|
709 : 8,
|
||||||
|
734 : 7,
|
||||||
|
735 : 7,
|
||||||
|
736 : 7,
|
||||||
|
751 : 7,
|
||||||
|
755 : 8,
|
||||||
|
756 : 8,
|
||||||
|
757 : 8,
|
||||||
|
1073741839 : 8
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
498 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
573 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
575 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
578 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
709 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
734 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
735 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
736 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
751 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
755 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
756 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
757 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ],
|
||||||
|
1073741839 : [ ( 'location', Position ), ( 'block', VarInt ), ( 'status', VarInt ), ( 'successful', Boolean ) ]
|
||||||
|
}
|
23
aiocraft/mc/proto/play/clientbound/packet_action_bar.py
Normal file
23
aiocraft/mc/proto/play/clientbound/packet_action_bar.py
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketActionBar(Packet):
|
||||||
|
__slots__ = ( 'id', 'text' )
|
||||||
|
|
||||||
|
text : str
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 65,
|
||||||
|
756 : 65,
|
||||||
|
757 : 65
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'text', String ) ],
|
||||||
|
756 : [ ( 'text', String ) ],
|
||||||
|
757 : [ ( 'text', String ) ]
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketAdvancementProgress(Packet):
|
||||||
|
__slots__ = ( 'id', 'id' )
|
||||||
|
|
||||||
|
id : tuple
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
331 : 78
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
331 : [ ( 'id', OptionalType(String, ) ) ]
|
||||||
|
}
|
76
aiocraft/mc/proto/play/clientbound/packet_advancements.py
Normal file
76
aiocraft/mc/proto/play/clientbound/packet_advancements.py
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketAdvancements(Packet):
|
||||||
|
__slots__ = ( 'id', 'progressMapping', 'reset', 'identifiers', 'advancementMapping' )
|
||||||
|
|
||||||
|
progressMapping : list
|
||||||
|
reset : bool
|
||||||
|
identifiers : list
|
||||||
|
advancementMapping : list
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
321 : 8,
|
||||||
|
327 : 8,
|
||||||
|
331 : 8,
|
||||||
|
335 : 76,
|
||||||
|
338 : 77,
|
||||||
|
340 : 77,
|
||||||
|
351 : 79,
|
||||||
|
393 : 81,
|
||||||
|
401 : 81,
|
||||||
|
402 : 81,
|
||||||
|
403 : 81,
|
||||||
|
404 : 81,
|
||||||
|
477 : 87,
|
||||||
|
480 : 87,
|
||||||
|
490 : 87,
|
||||||
|
498 : 87,
|
||||||
|
573 : 88,
|
||||||
|
575 : 88,
|
||||||
|
578 : 88,
|
||||||
|
709 : 88,
|
||||||
|
734 : 87,
|
||||||
|
735 : 87,
|
||||||
|
736 : 87,
|
||||||
|
751 : 87,
|
||||||
|
755 : 98,
|
||||||
|
756 : 98,
|
||||||
|
757 : 99,
|
||||||
|
1073741839 : 88
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
321 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', VarInt ), ( 'frameType', VarInt ), ( 'backgroundTexture', OptionalType(String, ) ), ( 'xCord', VarInt ), ( 'yCord', VarInt ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
327 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'backgroundTexture', OptionalType(String, ) ), ( 'showToast', Boolean ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
331 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', OptionalType(String, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
335 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
338 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
340 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
351 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
393 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
401 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
402 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
403 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
404 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
477 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
480 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
490 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
498 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
573 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
575 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
578 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
709 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
734 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
735 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
736 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
751 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
755 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
756 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
757 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
1073741839 : [ ( 'reset', Boolean ), ( 'advancementMapping', ArrayType(StructType(( 'key', String ), ( 'value', StructType(( 'parentId', OptionalType(String, ) ), ( 'displayData', OptionalType(StructType(( 'title', String ), ( 'description', String ), ( 'icon', Slot ), ( 'frameType', VarInt ), ( 'flags', Int ), ( 'backgroundTexture', SwitchType('has_background_texture', { 1 : String }, None, ) ), ( 'xCord', Float ), ( 'yCord', Float ), ), ) ), ( 'criteria', ArrayType(StructType(( 'key', String ), ( 'value', Void ), ), VarInt, ) ), ( 'requirements', ArrayType(ArrayType(String, VarInt, ), VarInt, ) ), ) ), ), VarInt, ) ), ( 'identifiers', ArrayType(String, VarInt, ) ), ( 'progressMapping', ArrayType(StructType(( 'key', String ), ( 'value', ArrayType(StructType(( 'criterionIdentifier', String ), ( 'criterionProgress', OptionalType(Long, ) ), ), VarInt, ) ), ), VarInt, ) ) ]
|
||||||
|
}
|
96
aiocraft/mc/proto/play/clientbound/packet_animation.py
Normal file
96
aiocraft/mc/proto/play/clientbound/packet_animation.py
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketAnimation(Packet):
|
||||||
|
__slots__ = ( 'id', 'animation', 'entityId' )
|
||||||
|
|
||||||
|
animation : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 11,
|
||||||
|
47 : 11,
|
||||||
|
76 : 6,
|
||||||
|
107 : 6,
|
||||||
|
108 : 6,
|
||||||
|
109 : 6,
|
||||||
|
110 : 6,
|
||||||
|
201 : 6,
|
||||||
|
210 : 6,
|
||||||
|
304 : 6,
|
||||||
|
315 : 6,
|
||||||
|
321 : 6,
|
||||||
|
327 : 6,
|
||||||
|
331 : 6,
|
||||||
|
335 : 6,
|
||||||
|
338 : 6,
|
||||||
|
340 : 6,
|
||||||
|
351 : 6,
|
||||||
|
393 : 6,
|
||||||
|
401 : 6,
|
||||||
|
402 : 6,
|
||||||
|
403 : 6,
|
||||||
|
404 : 6,
|
||||||
|
477 : 6,
|
||||||
|
480 : 6,
|
||||||
|
490 : 6,
|
||||||
|
498 : 6,
|
||||||
|
573 : 6,
|
||||||
|
575 : 6,
|
||||||
|
578 : 6,
|
||||||
|
709 : 6,
|
||||||
|
734 : 5,
|
||||||
|
735 : 5,
|
||||||
|
736 : 5,
|
||||||
|
751 : 5,
|
||||||
|
755 : 6,
|
||||||
|
756 : 6,
|
||||||
|
757 : 6,
|
||||||
|
1073741839 : 6
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'animation', Byte ) ]
|
||||||
|
}
|
97
aiocraft/mc/proto/play/clientbound/packet_attach_entity.py
Normal file
97
aiocraft/mc/proto/play/clientbound/packet_attach_entity.py
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketAttachEntity(Packet):
|
||||||
|
__slots__ = ( 'id', 'leash', 'vehicleId', 'entityId' )
|
||||||
|
|
||||||
|
leash : bool
|
||||||
|
vehicleId : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 27,
|
||||||
|
47 : 27,
|
||||||
|
76 : 58,
|
||||||
|
107 : 58,
|
||||||
|
108 : 58,
|
||||||
|
109 : 58,
|
||||||
|
110 : 58,
|
||||||
|
201 : 58,
|
||||||
|
210 : 58,
|
||||||
|
304 : 58,
|
||||||
|
315 : 58,
|
||||||
|
321 : 60,
|
||||||
|
327 : 60,
|
||||||
|
331 : 60,
|
||||||
|
335 : 60,
|
||||||
|
338 : 61,
|
||||||
|
340 : 61,
|
||||||
|
351 : 62,
|
||||||
|
393 : 64,
|
||||||
|
401 : 64,
|
||||||
|
402 : 64,
|
||||||
|
403 : 64,
|
||||||
|
404 : 64,
|
||||||
|
477 : 68,
|
||||||
|
480 : 68,
|
||||||
|
490 : 68,
|
||||||
|
498 : 68,
|
||||||
|
573 : 69,
|
||||||
|
575 : 69,
|
||||||
|
578 : 69,
|
||||||
|
709 : 70,
|
||||||
|
734 : 69,
|
||||||
|
735 : 69,
|
||||||
|
736 : 69,
|
||||||
|
751 : 69,
|
||||||
|
755 : 78,
|
||||||
|
756 : 78,
|
||||||
|
757 : 78,
|
||||||
|
1073741839 : 70
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'vehicleId', Int ), ( 'leash', Boolean ) ],
|
||||||
|
47 : [ ( 'entityId', Int ), ( 'vehicleId', Int ), ( 'leash', Boolean ) ],
|
||||||
|
76 : [ ( 'entityId', Int ), ( 'vehicleId', Int ), ( 'leash', Boolean ) ],
|
||||||
|
107 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
108 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
109 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
110 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
201 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
210 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
304 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
315 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
321 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
327 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
331 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
335 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
338 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
340 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
351 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
393 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
401 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
402 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
403 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
404 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
477 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
480 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
490 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
498 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
573 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
575 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
578 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
709 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
734 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
735 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
736 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
751 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
755 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
756 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
757 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ],
|
||||||
|
1073741839 : [ ( 'entityId', Int ), ( 'vehicleId', Int ) ]
|
||||||
|
}
|
64
aiocraft/mc/proto/play/clientbound/packet_bed.py
Normal file
64
aiocraft/mc/proto/play/clientbound/packet_bed.py
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketBed(Packet):
|
||||||
|
__slots__ = ( 'id', 'entityId', 'location' )
|
||||||
|
|
||||||
|
entityId : int
|
||||||
|
location : Union[tuple,bytes]
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 10,
|
||||||
|
47 : 10,
|
||||||
|
76 : 47,
|
||||||
|
107 : 47,
|
||||||
|
108 : 47,
|
||||||
|
109 : 47,
|
||||||
|
110 : 47,
|
||||||
|
201 : 47,
|
||||||
|
210 : 47,
|
||||||
|
304 : 47,
|
||||||
|
315 : 47,
|
||||||
|
321 : 48,
|
||||||
|
327 : 48,
|
||||||
|
331 : 48,
|
||||||
|
335 : 47,
|
||||||
|
338 : 48,
|
||||||
|
340 : 48,
|
||||||
|
351 : 49,
|
||||||
|
393 : 51,
|
||||||
|
401 : 51,
|
||||||
|
402 : 51,
|
||||||
|
403 : 51,
|
||||||
|
404 : 51
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'location', TrailingData ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'location', Position ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'location', Position ) ]
|
||||||
|
}
|
98
aiocraft/mc/proto/play/clientbound/packet_block_action.py
Normal file
98
aiocraft/mc/proto/play/clientbound/packet_block_action.py
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketBlockAction(Packet):
|
||||||
|
__slots__ = ( 'id', 'blockId', 'byte2', 'byte1', 'location' )
|
||||||
|
|
||||||
|
blockId : int
|
||||||
|
byte2 : int
|
||||||
|
byte1 : int
|
||||||
|
location : Union[tuple,bytes]
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 36,
|
||||||
|
47 : 36,
|
||||||
|
76 : 10,
|
||||||
|
107 : 10,
|
||||||
|
108 : 10,
|
||||||
|
109 : 10,
|
||||||
|
110 : 10,
|
||||||
|
201 : 10,
|
||||||
|
210 : 10,
|
||||||
|
304 : 10,
|
||||||
|
315 : 10,
|
||||||
|
321 : 11,
|
||||||
|
327 : 11,
|
||||||
|
331 : 11,
|
||||||
|
335 : 10,
|
||||||
|
338 : 10,
|
||||||
|
340 : 10,
|
||||||
|
351 : 10,
|
||||||
|
393 : 10,
|
||||||
|
401 : 10,
|
||||||
|
402 : 10,
|
||||||
|
403 : 10,
|
||||||
|
404 : 10,
|
||||||
|
477 : 10,
|
||||||
|
480 : 10,
|
||||||
|
490 : 10,
|
||||||
|
498 : 10,
|
||||||
|
573 : 11,
|
||||||
|
575 : 11,
|
||||||
|
578 : 11,
|
||||||
|
709 : 11,
|
||||||
|
734 : 10,
|
||||||
|
735 : 10,
|
||||||
|
736 : 10,
|
||||||
|
751 : 10,
|
||||||
|
755 : 11,
|
||||||
|
756 : 11,
|
||||||
|
757 : 11,
|
||||||
|
1073741839 : 11
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'location', TrailingData ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
47 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
76 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
107 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
108 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
109 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
110 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
201 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
210 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
304 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
315 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
321 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
327 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
331 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
335 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
338 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
340 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
351 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
393 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
401 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
402 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
403 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
404 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
477 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
480 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
490 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
498 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
573 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
575 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
578 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
709 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
734 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
735 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
736 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
751 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
755 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
756 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
757 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'location', Position ), ( 'byte1', Byte ), ( 'byte2', Byte ), ( 'blockId', VarInt ) ]
|
||||||
|
}
|
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketBlockBreakAnimation(Packet):
|
||||||
|
__slots__ = ( 'id', 'destroyStage', 'entityId', 'location' )
|
||||||
|
|
||||||
|
destroyStage : int
|
||||||
|
entityId : int
|
||||||
|
location : Union[tuple,bytes]
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 37,
|
||||||
|
47 : 37,
|
||||||
|
76 : 8,
|
||||||
|
107 : 8,
|
||||||
|
108 : 8,
|
||||||
|
109 : 8,
|
||||||
|
110 : 8,
|
||||||
|
201 : 8,
|
||||||
|
210 : 8,
|
||||||
|
304 : 8,
|
||||||
|
315 : 8,
|
||||||
|
321 : 9,
|
||||||
|
327 : 9,
|
||||||
|
331 : 9,
|
||||||
|
335 : 8,
|
||||||
|
338 : 8,
|
||||||
|
340 : 8,
|
||||||
|
351 : 8,
|
||||||
|
393 : 8,
|
||||||
|
401 : 8,
|
||||||
|
402 : 8,
|
||||||
|
403 : 8,
|
||||||
|
404 : 8,
|
||||||
|
477 : 8,
|
||||||
|
480 : 8,
|
||||||
|
490 : 8,
|
||||||
|
498 : 8,
|
||||||
|
573 : 9,
|
||||||
|
575 : 9,
|
||||||
|
578 : 9,
|
||||||
|
709 : 9,
|
||||||
|
734 : 8,
|
||||||
|
735 : 8,
|
||||||
|
736 : 8,
|
||||||
|
751 : 8,
|
||||||
|
755 : 9,
|
||||||
|
756 : 9,
|
||||||
|
757 : 9,
|
||||||
|
1073741839 : 9
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', VarInt ), ( 'location', TrailingData ), ( 'destroyStage', Byte ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'location', Position ), ( 'destroyStage', Byte ) ]
|
||||||
|
}
|
97
aiocraft/mc/proto/play/clientbound/packet_block_change.py
Normal file
97
aiocraft/mc/proto/play/clientbound/packet_block_change.py
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketBlockChange(Packet):
|
||||||
|
__slots__ = ( 'id', 'metadata', 'type', 'location' )
|
||||||
|
|
||||||
|
metadata : int
|
||||||
|
type : int
|
||||||
|
location : Union[tuple,bytes]
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 35,
|
||||||
|
47 : 35,
|
||||||
|
76 : 11,
|
||||||
|
107 : 11,
|
||||||
|
108 : 11,
|
||||||
|
109 : 11,
|
||||||
|
110 : 11,
|
||||||
|
201 : 11,
|
||||||
|
210 : 11,
|
||||||
|
304 : 11,
|
||||||
|
315 : 11,
|
||||||
|
321 : 12,
|
||||||
|
327 : 12,
|
||||||
|
331 : 12,
|
||||||
|
335 : 11,
|
||||||
|
338 : 11,
|
||||||
|
340 : 11,
|
||||||
|
351 : 11,
|
||||||
|
393 : 11,
|
||||||
|
401 : 11,
|
||||||
|
402 : 11,
|
||||||
|
403 : 11,
|
||||||
|
404 : 11,
|
||||||
|
477 : 11,
|
||||||
|
480 : 11,
|
||||||
|
490 : 11,
|
||||||
|
498 : 11,
|
||||||
|
573 : 12,
|
||||||
|
575 : 12,
|
||||||
|
578 : 12,
|
||||||
|
709 : 12,
|
||||||
|
734 : 11,
|
||||||
|
735 : 11,
|
||||||
|
736 : 11,
|
||||||
|
751 : 11,
|
||||||
|
755 : 12,
|
||||||
|
756 : 12,
|
||||||
|
757 : 12,
|
||||||
|
1073741839 : 12
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'location', TrailingData ), ( 'type', VarInt ), ( 'metadata', Byte ) ],
|
||||||
|
47 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
76 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
107 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
108 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
109 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
110 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
201 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
210 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
304 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
315 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
321 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
327 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
331 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
335 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
338 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
340 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
351 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
393 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
401 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
402 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
403 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
404 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
477 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
480 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
490 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
498 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
573 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
575 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
578 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
709 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
734 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
735 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
736 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
751 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
755 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
756 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
757 : [ ( 'location', Position ), ( 'type', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'location', Position ), ( 'type', VarInt ) ]
|
||||||
|
}
|
97
aiocraft/mc/proto/play/clientbound/packet_boss_bar.py
Normal file
97
aiocraft/mc/proto/play/clientbound/packet_boss_bar.py
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketBossBar(Packet):
|
||||||
|
__slots__ = ( 'id', 'dividers', 'action', 'title', 'flags', 'entityUUID', 'color', 'health' )
|
||||||
|
|
||||||
|
dividers : bytes
|
||||||
|
action : int
|
||||||
|
title : bytes
|
||||||
|
flags : bytes
|
||||||
|
entityUUID : str
|
||||||
|
color : bytes
|
||||||
|
health : bytes
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
76 : 12,
|
||||||
|
107 : 12,
|
||||||
|
108 : 12,
|
||||||
|
109 : 12,
|
||||||
|
110 : 12,
|
||||||
|
201 : 12,
|
||||||
|
210 : 12,
|
||||||
|
304 : 12,
|
||||||
|
315 : 12,
|
||||||
|
321 : 13,
|
||||||
|
327 : 13,
|
||||||
|
331 : 13,
|
||||||
|
335 : 12,
|
||||||
|
338 : 12,
|
||||||
|
340 : 12,
|
||||||
|
351 : 12,
|
||||||
|
393 : 12,
|
||||||
|
401 : 12,
|
||||||
|
402 : 12,
|
||||||
|
403 : 12,
|
||||||
|
404 : 12,
|
||||||
|
477 : 12,
|
||||||
|
480 : 12,
|
||||||
|
490 : 12,
|
||||||
|
498 : 12,
|
||||||
|
573 : 13,
|
||||||
|
575 : 13,
|
||||||
|
578 : 13,
|
||||||
|
709 : 13,
|
||||||
|
734 : 12,
|
||||||
|
735 : 12,
|
||||||
|
736 : 12,
|
||||||
|
751 : 12,
|
||||||
|
755 : 13,
|
||||||
|
756 : 13,
|
||||||
|
757 : 13,
|
||||||
|
1073741839 : 13
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
76 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
107 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
108 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
109 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
110 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
201 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
210 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
304 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
315 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
321 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
327 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
331 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
335 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
338 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
340 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
351 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
393 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
401 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
402 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
403 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
404 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
477 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
480 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
490 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
498 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
573 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
575 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
578 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
709 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
734 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
735 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
736 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
751 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
755 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
756 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
757 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ],
|
||||||
|
1073741839 : [ ( 'entityUUID', UUID ), ( 'action', VarInt ), ( 'title', SwitchType('action', { 0 : String, 3 : String }, None, ) ), ( 'health', SwitchType('action', { 0 : Float, 2 : Float }, None, ) ), ( 'color', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'dividers', SwitchType('action', { 0 : VarInt, 4 : VarInt }, None, ) ), ( 'flags', SwitchType('action', { 0 : Byte, 5 : Byte }, None, ) ) ]
|
||||||
|
}
|
93
aiocraft/mc/proto/play/clientbound/packet_camera.py
Normal file
93
aiocraft/mc/proto/play/clientbound/packet_camera.py
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketCamera(Packet):
|
||||||
|
__slots__ = ( 'id', 'cameraId' )
|
||||||
|
|
||||||
|
cameraId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
47 : 67,
|
||||||
|
76 : 54,
|
||||||
|
107 : 54,
|
||||||
|
108 : 54,
|
||||||
|
109 : 54,
|
||||||
|
110 : 54,
|
||||||
|
201 : 54,
|
||||||
|
210 : 54,
|
||||||
|
304 : 54,
|
||||||
|
315 : 54,
|
||||||
|
321 : 56,
|
||||||
|
327 : 56,
|
||||||
|
331 : 56,
|
||||||
|
335 : 56,
|
||||||
|
338 : 57,
|
||||||
|
340 : 57,
|
||||||
|
351 : 58,
|
||||||
|
393 : 60,
|
||||||
|
401 : 60,
|
||||||
|
402 : 60,
|
||||||
|
403 : 60,
|
||||||
|
404 : 60,
|
||||||
|
477 : 62,
|
||||||
|
480 : 62,
|
||||||
|
490 : 62,
|
||||||
|
498 : 62,
|
||||||
|
573 : 63,
|
||||||
|
575 : 63,
|
||||||
|
578 : 63,
|
||||||
|
709 : 63,
|
||||||
|
734 : 62,
|
||||||
|
735 : 62,
|
||||||
|
736 : 62,
|
||||||
|
751 : 62,
|
||||||
|
755 : 71,
|
||||||
|
756 : 71,
|
||||||
|
757 : 71,
|
||||||
|
1073741839 : 63
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
47 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
76 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
107 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
108 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
109 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
110 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
201 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
210 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
304 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
315 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
321 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
327 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
331 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
335 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
338 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
340 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
351 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
393 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
401 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
402 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
403 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
404 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
477 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
480 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
490 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
498 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
573 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
575 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
578 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
709 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
734 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
735 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
736 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
751 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
755 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
756 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
757 : [ ( 'cameraId', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'cameraId', VarInt ) ]
|
||||||
|
}
|
97
aiocraft/mc/proto/play/clientbound/packet_chat.py
Normal file
97
aiocraft/mc/proto/play/clientbound/packet_chat.py
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketChat(Packet):
|
||||||
|
__slots__ = ( 'id', 'message', 'position', 'sender' )
|
||||||
|
|
||||||
|
message : str
|
||||||
|
position : int
|
||||||
|
sender : str
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 2,
|
||||||
|
47 : 2,
|
||||||
|
76 : 15,
|
||||||
|
107 : 15,
|
||||||
|
108 : 15,
|
||||||
|
109 : 15,
|
||||||
|
110 : 15,
|
||||||
|
201 : 15,
|
||||||
|
210 : 15,
|
||||||
|
304 : 15,
|
||||||
|
315 : 15,
|
||||||
|
321 : 16,
|
||||||
|
327 : 16,
|
||||||
|
331 : 16,
|
||||||
|
335 : 15,
|
||||||
|
338 : 15,
|
||||||
|
340 : 15,
|
||||||
|
351 : 14,
|
||||||
|
393 : 14,
|
||||||
|
401 : 14,
|
||||||
|
402 : 14,
|
||||||
|
403 : 14,
|
||||||
|
404 : 14,
|
||||||
|
477 : 14,
|
||||||
|
480 : 14,
|
||||||
|
490 : 14,
|
||||||
|
498 : 14,
|
||||||
|
573 : 15,
|
||||||
|
575 : 15,
|
||||||
|
578 : 15,
|
||||||
|
709 : 15,
|
||||||
|
734 : 14,
|
||||||
|
735 : 14,
|
||||||
|
736 : 14,
|
||||||
|
751 : 14,
|
||||||
|
755 : 15,
|
||||||
|
756 : 15,
|
||||||
|
757 : 15,
|
||||||
|
1073741839 : 15
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'message', String ) ],
|
||||||
|
47 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
76 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
107 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
108 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
109 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
110 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
201 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
210 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
304 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
315 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
321 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
327 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
331 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
335 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
338 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
340 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
351 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
393 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
401 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
402 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
403 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
404 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
477 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
480 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
490 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
498 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
573 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
575 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
578 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
709 : [ ( 'message', String ), ( 'position', Byte ) ],
|
||||||
|
734 : [ ( 'message', String ), ( 'position', Byte ), ( 'sender', UUID ) ],
|
||||||
|
735 : [ ( 'message', String ), ( 'position', Byte ), ( 'sender', UUID ) ],
|
||||||
|
736 : [ ( 'message', String ), ( 'position', Byte ), ( 'sender', UUID ) ],
|
||||||
|
751 : [ ( 'message', String ), ( 'position', Byte ), ( 'sender', UUID ) ],
|
||||||
|
755 : [ ( 'message', String ), ( 'position', Byte ), ( 'sender', UUID ) ],
|
||||||
|
756 : [ ( 'message', String ), ( 'position', Byte ), ( 'sender', UUID ) ],
|
||||||
|
757 : [ ( 'message', String ), ( 'position', Byte ), ( 'sender', UUID ) ],
|
||||||
|
1073741839 : [ ( 'message', String ), ( 'position', Byte ), ( 'sender', UUID ) ]
|
||||||
|
}
|
23
aiocraft/mc/proto/play/clientbound/packet_clear_titles.py
Normal file
23
aiocraft/mc/proto/play/clientbound/packet_clear_titles.py
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketClearTitles(Packet):
|
||||||
|
__slots__ = ( 'id', 'reset' )
|
||||||
|
|
||||||
|
reset : bool
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 16,
|
||||||
|
756 : 16,
|
||||||
|
757 : 16
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'reset', Boolean ) ],
|
||||||
|
756 : [ ( 'reset', Boolean ) ],
|
||||||
|
757 : [ ( 'reset', Boolean ) ]
|
||||||
|
}
|
95
aiocraft/mc/proto/play/clientbound/packet_close_window.py
Normal file
95
aiocraft/mc/proto/play/clientbound/packet_close_window.py
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketCloseWindow(Packet):
|
||||||
|
__slots__ = ( 'id', 'windowId' )
|
||||||
|
|
||||||
|
windowId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 46,
|
||||||
|
47 : 46,
|
||||||
|
76 : 18,
|
||||||
|
107 : 18,
|
||||||
|
108 : 18,
|
||||||
|
109 : 18,
|
||||||
|
110 : 18,
|
||||||
|
201 : 18,
|
||||||
|
210 : 18,
|
||||||
|
304 : 18,
|
||||||
|
315 : 18,
|
||||||
|
321 : 19,
|
||||||
|
327 : 19,
|
||||||
|
331 : 19,
|
||||||
|
335 : 18,
|
||||||
|
338 : 18,
|
||||||
|
340 : 18,
|
||||||
|
351 : 19,
|
||||||
|
393 : 19,
|
||||||
|
401 : 19,
|
||||||
|
402 : 19,
|
||||||
|
403 : 19,
|
||||||
|
404 : 19,
|
||||||
|
477 : 19,
|
||||||
|
480 : 19,
|
||||||
|
490 : 19,
|
||||||
|
498 : 19,
|
||||||
|
573 : 20,
|
||||||
|
575 : 20,
|
||||||
|
578 : 20,
|
||||||
|
709 : 20,
|
||||||
|
734 : 19,
|
||||||
|
735 : 19,
|
||||||
|
736 : 19,
|
||||||
|
751 : 18,
|
||||||
|
755 : 19,
|
||||||
|
756 : 19,
|
||||||
|
757 : 19,
|
||||||
|
1073741839 : 19
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'windowId', Byte ) ],
|
||||||
|
47 : [ ( 'windowId', Byte ) ],
|
||||||
|
76 : [ ( 'windowId', Byte ) ],
|
||||||
|
107 : [ ( 'windowId', Byte ) ],
|
||||||
|
108 : [ ( 'windowId', Byte ) ],
|
||||||
|
109 : [ ( 'windowId', Byte ) ],
|
||||||
|
110 : [ ( 'windowId', Byte ) ],
|
||||||
|
201 : [ ( 'windowId', Byte ) ],
|
||||||
|
210 : [ ( 'windowId', Byte ) ],
|
||||||
|
304 : [ ( 'windowId', Byte ) ],
|
||||||
|
315 : [ ( 'windowId', Byte ) ],
|
||||||
|
321 : [ ( 'windowId', Byte ) ],
|
||||||
|
327 : [ ( 'windowId', Byte ) ],
|
||||||
|
331 : [ ( 'windowId', Byte ) ],
|
||||||
|
335 : [ ( 'windowId', Byte ) ],
|
||||||
|
338 : [ ( 'windowId', Byte ) ],
|
||||||
|
340 : [ ( 'windowId', Byte ) ],
|
||||||
|
351 : [ ( 'windowId', Byte ) ],
|
||||||
|
393 : [ ( 'windowId', Byte ) ],
|
||||||
|
401 : [ ( 'windowId', Byte ) ],
|
||||||
|
402 : [ ( 'windowId', Byte ) ],
|
||||||
|
403 : [ ( 'windowId', Byte ) ],
|
||||||
|
404 : [ ( 'windowId', Byte ) ],
|
||||||
|
477 : [ ( 'windowId', Byte ) ],
|
||||||
|
480 : [ ( 'windowId', Byte ) ],
|
||||||
|
490 : [ ( 'windowId', Byte ) ],
|
||||||
|
498 : [ ( 'windowId', Byte ) ],
|
||||||
|
573 : [ ( 'windowId', Byte ) ],
|
||||||
|
575 : [ ( 'windowId', Byte ) ],
|
||||||
|
578 : [ ( 'windowId', Byte ) ],
|
||||||
|
709 : [ ( 'windowId', Byte ) ],
|
||||||
|
734 : [ ( 'windowId', Byte ) ],
|
||||||
|
735 : [ ( 'windowId', Byte ) ],
|
||||||
|
736 : [ ( 'windowId', Byte ) ],
|
||||||
|
751 : [ ( 'windowId', Byte ) ],
|
||||||
|
755 : [ ( 'windowId', Byte ) ],
|
||||||
|
756 : [ ( 'windowId', Byte ) ],
|
||||||
|
757 : [ ( 'windowId', Byte ) ],
|
||||||
|
1073741839 : [ ( 'windowId', Byte ) ]
|
||||||
|
}
|
97
aiocraft/mc/proto/play/clientbound/packet_collect.py
Normal file
97
aiocraft/mc/proto/play/clientbound/packet_collect.py
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketCollect(Packet):
|
||||||
|
__slots__ = ( 'id', 'collectedEntityId', 'collectorEntityId', 'pickupItemCount' )
|
||||||
|
|
||||||
|
collectedEntityId : int
|
||||||
|
collectorEntityId : int
|
||||||
|
pickupItemCount : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 13,
|
||||||
|
47 : 13,
|
||||||
|
76 : 71,
|
||||||
|
107 : 73,
|
||||||
|
108 : 73,
|
||||||
|
109 : 73,
|
||||||
|
110 : 72,
|
||||||
|
201 : 72,
|
||||||
|
210 : 72,
|
||||||
|
304 : 72,
|
||||||
|
315 : 72,
|
||||||
|
321 : 74,
|
||||||
|
327 : 74,
|
||||||
|
331 : 74,
|
||||||
|
335 : 74,
|
||||||
|
338 : 75,
|
||||||
|
340 : 75,
|
||||||
|
351 : 77,
|
||||||
|
393 : 79,
|
||||||
|
401 : 79,
|
||||||
|
402 : 79,
|
||||||
|
403 : 79,
|
||||||
|
404 : 79,
|
||||||
|
477 : 85,
|
||||||
|
480 : 85,
|
||||||
|
490 : 85,
|
||||||
|
498 : 85,
|
||||||
|
573 : 86,
|
||||||
|
575 : 86,
|
||||||
|
578 : 86,
|
||||||
|
709 : 86,
|
||||||
|
734 : 85,
|
||||||
|
735 : 85,
|
||||||
|
736 : 85,
|
||||||
|
751 : 85,
|
||||||
|
755 : 96,
|
||||||
|
756 : 96,
|
||||||
|
757 : 97,
|
||||||
|
1073741839 : 86
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'collectedEntityId', Int ), ( 'collectorEntityId', Int ) ],
|
||||||
|
47 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ) ],
|
||||||
|
76 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ) ],
|
||||||
|
107 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ) ],
|
||||||
|
108 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ) ],
|
||||||
|
109 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ) ],
|
||||||
|
110 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ) ],
|
||||||
|
201 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ) ],
|
||||||
|
210 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ) ],
|
||||||
|
304 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
315 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
321 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
327 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
331 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
335 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
338 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
340 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
351 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
393 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
401 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
402 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
403 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
404 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
477 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
480 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
490 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
498 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
573 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
575 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
578 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
709 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
734 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
735 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
736 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
751 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
755 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
756 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
757 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'collectedEntityId', VarInt ), ( 'collectorEntityId', VarInt ), ( 'pickupItemCount', VarInt ) ]
|
||||||
|
}
|
91
aiocraft/mc/proto/play/clientbound/packet_combat_event.py
Normal file
91
aiocraft/mc/proto/play/clientbound/packet_combat_event.py
Normal file
|
@ -0,0 +1,91 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketCombatEvent(Packet):
|
||||||
|
__slots__ = ( 'id', 'event', 'duration', 'playerId', 'message', 'entityId' )
|
||||||
|
|
||||||
|
event : int
|
||||||
|
duration : bytes
|
||||||
|
playerId : bytes
|
||||||
|
message : bytes
|
||||||
|
entityId : bytes
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
47 : 66,
|
||||||
|
76 : 44,
|
||||||
|
107 : 44,
|
||||||
|
108 : 44,
|
||||||
|
109 : 44,
|
||||||
|
110 : 44,
|
||||||
|
201 : 44,
|
||||||
|
210 : 44,
|
||||||
|
304 : 44,
|
||||||
|
315 : 44,
|
||||||
|
321 : 45,
|
||||||
|
327 : 45,
|
||||||
|
331 : 45,
|
||||||
|
335 : 44,
|
||||||
|
338 : 45,
|
||||||
|
340 : 45,
|
||||||
|
351 : 46,
|
||||||
|
393 : 47,
|
||||||
|
401 : 47,
|
||||||
|
402 : 47,
|
||||||
|
403 : 47,
|
||||||
|
404 : 47,
|
||||||
|
477 : 50,
|
||||||
|
480 : 50,
|
||||||
|
490 : 50,
|
||||||
|
498 : 50,
|
||||||
|
573 : 51,
|
||||||
|
575 : 51,
|
||||||
|
578 : 51,
|
||||||
|
709 : 51,
|
||||||
|
734 : 50,
|
||||||
|
735 : 50,
|
||||||
|
736 : 50,
|
||||||
|
751 : 49,
|
||||||
|
1073741839 : 50
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
47 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
76 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
107 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
108 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
109 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
110 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
201 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
210 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
304 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
315 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
321 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
327 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
331 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
335 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
338 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
340 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
351 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
393 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
401 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
402 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
403 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
404 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
477 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
480 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
490 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
498 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
573 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
575 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
578 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
709 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
734 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
735 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
736 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
751 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ],
|
||||||
|
1073741839 : [ ( 'event', VarInt ), ( 'duration', SwitchType('event', { 1 : VarInt }, None, ) ), ( 'playerId', SwitchType('event', { 2 : VarInt }, None, ) ), ( 'entityId', SwitchType('event', { 1 : Int, 2 : Int }, None, ) ), ( 'message', SwitchType('event', { 2 : String }, None, ) ) ]
|
||||||
|
}
|
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketCraftProgressBar(Packet):
|
||||||
|
__slots__ = ( 'id', 'property', 'value', 'windowId' )
|
||||||
|
|
||||||
|
property : int
|
||||||
|
value : int
|
||||||
|
windowId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 49,
|
||||||
|
47 : 49,
|
||||||
|
76 : 21,
|
||||||
|
107 : 21,
|
||||||
|
108 : 21,
|
||||||
|
109 : 21,
|
||||||
|
110 : 21,
|
||||||
|
201 : 21,
|
||||||
|
210 : 21,
|
||||||
|
304 : 21,
|
||||||
|
315 : 21,
|
||||||
|
321 : 22,
|
||||||
|
327 : 22,
|
||||||
|
331 : 22,
|
||||||
|
335 : 21,
|
||||||
|
338 : 21,
|
||||||
|
340 : 21,
|
||||||
|
351 : 22,
|
||||||
|
393 : 22,
|
||||||
|
401 : 22,
|
||||||
|
402 : 22,
|
||||||
|
403 : 22,
|
||||||
|
404 : 22,
|
||||||
|
477 : 21,
|
||||||
|
480 : 21,
|
||||||
|
490 : 21,
|
||||||
|
498 : 21,
|
||||||
|
573 : 22,
|
||||||
|
575 : 22,
|
||||||
|
578 : 22,
|
||||||
|
709 : 22,
|
||||||
|
734 : 21,
|
||||||
|
735 : 21,
|
||||||
|
736 : 21,
|
||||||
|
751 : 20,
|
||||||
|
755 : 21,
|
||||||
|
756 : 21,
|
||||||
|
757 : 21,
|
||||||
|
1073741839 : 21
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
47 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
76 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
107 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
108 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
109 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
110 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
201 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
210 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
304 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
315 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
321 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
327 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
331 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
335 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
338 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
340 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
351 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
393 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
401 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
402 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
403 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
404 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
477 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
480 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
490 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
498 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
573 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
575 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
578 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
709 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
734 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
735 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
736 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
751 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
755 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
756 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
757 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ],
|
||||||
|
1073741839 : [ ( 'windowId', Byte ), ( 'property', Short ), ( 'value', Short ) ]
|
||||||
|
}
|
|
@ -0,0 +1,66 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketCraftRecipeResponse(Packet):
|
||||||
|
__slots__ = ( 'id', 'recipe', 'windowId' )
|
||||||
|
|
||||||
|
recipe : Union[str,int]
|
||||||
|
windowId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
338 : 43,
|
||||||
|
340 : 43,
|
||||||
|
351 : 44,
|
||||||
|
393 : 45,
|
||||||
|
401 : 45,
|
||||||
|
402 : 45,
|
||||||
|
403 : 45,
|
||||||
|
404 : 45,
|
||||||
|
477 : 48,
|
||||||
|
480 : 48,
|
||||||
|
490 : 48,
|
||||||
|
498 : 48,
|
||||||
|
573 : 49,
|
||||||
|
575 : 49,
|
||||||
|
578 : 49,
|
||||||
|
709 : 49,
|
||||||
|
734 : 48,
|
||||||
|
735 : 48,
|
||||||
|
736 : 48,
|
||||||
|
751 : 47,
|
||||||
|
755 : 49,
|
||||||
|
756 : 49,
|
||||||
|
757 : 49,
|
||||||
|
1073741839 : 48
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
338 : [ ( 'windowId', Byte ), ( 'recipe', VarInt ) ],
|
||||||
|
340 : [ ( 'windowId', Byte ), ( 'recipe', VarInt ) ],
|
||||||
|
351 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
393 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
401 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
402 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
403 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
404 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
477 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
480 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
490 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
498 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
573 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
575 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
578 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
709 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
734 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
735 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
736 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
751 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
755 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
756 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
757 : [ ( 'windowId', Byte ), ( 'recipe', String ) ],
|
||||||
|
1073741839 : [ ( 'windowId', Byte ), ( 'recipe', String ) ]
|
||||||
|
}
|
96
aiocraft/mc/proto/play/clientbound/packet_custom_payload.py
Normal file
96
aiocraft/mc/proto/play/clientbound/packet_custom_payload.py
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketCustomPayload(Packet):
|
||||||
|
__slots__ = ( 'id', 'data', 'channel' )
|
||||||
|
|
||||||
|
data : bytes
|
||||||
|
channel : str
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 63,
|
||||||
|
47 : 63,
|
||||||
|
76 : 24,
|
||||||
|
107 : 24,
|
||||||
|
108 : 24,
|
||||||
|
109 : 24,
|
||||||
|
110 : 24,
|
||||||
|
201 : 24,
|
||||||
|
210 : 24,
|
||||||
|
304 : 24,
|
||||||
|
315 : 24,
|
||||||
|
321 : 25,
|
||||||
|
327 : 25,
|
||||||
|
331 : 25,
|
||||||
|
335 : 24,
|
||||||
|
338 : 24,
|
||||||
|
340 : 24,
|
||||||
|
351 : 25,
|
||||||
|
393 : 25,
|
||||||
|
401 : 25,
|
||||||
|
402 : 25,
|
||||||
|
403 : 25,
|
||||||
|
404 : 25,
|
||||||
|
477 : 24,
|
||||||
|
480 : 24,
|
||||||
|
490 : 24,
|
||||||
|
498 : 24,
|
||||||
|
573 : 25,
|
||||||
|
575 : 25,
|
||||||
|
578 : 25,
|
||||||
|
709 : 25,
|
||||||
|
734 : 24,
|
||||||
|
735 : 24,
|
||||||
|
736 : 24,
|
||||||
|
751 : 23,
|
||||||
|
755 : 24,
|
||||||
|
756 : 24,
|
||||||
|
757 : 24,
|
||||||
|
1073741839 : 24
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'channel', String ), ( 'data', ByteArray ) ],
|
||||||
|
47 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
76 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
107 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
108 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
109 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
110 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
201 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
210 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
304 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
315 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
321 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
327 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
331 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
335 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
338 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
340 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
351 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
393 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
401 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
402 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
403 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
404 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
477 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
480 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
490 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
498 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
573 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
575 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
578 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
709 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
734 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
735 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
736 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
751 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
755 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
756 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
757 : [ ( 'channel', String ), ( 'data', TrailingData ) ],
|
||||||
|
1073741839 : [ ( 'channel', String ), ( 'data', TrailingData ) ]
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketDeathCombatEvent(Packet):
|
||||||
|
__slots__ = ( 'id', 'message', 'entityId', 'playerId' )
|
||||||
|
|
||||||
|
message : str
|
||||||
|
entityId : int
|
||||||
|
playerId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 53,
|
||||||
|
756 : 53,
|
||||||
|
757 : 53
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'playerId', VarInt ), ( 'entityId', Int ), ( 'message', String ) ],
|
||||||
|
756 : [ ( 'playerId', VarInt ), ( 'entityId', Int ), ( 'message', String ) ],
|
||||||
|
757 : [ ( 'playerId', VarInt ), ( 'entityId', Int ), ( 'message', String ) ]
|
||||||
|
}
|
|
@ -0,0 +1,62 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketDeclareCommands(Packet):
|
||||||
|
__slots__ = ( 'id', 'nodes', 'rootIndex' )
|
||||||
|
|
||||||
|
nodes : list
|
||||||
|
rootIndex : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
351 : 17,
|
||||||
|
393 : 17,
|
||||||
|
401 : 17,
|
||||||
|
402 : 17,
|
||||||
|
403 : 17,
|
||||||
|
404 : 17,
|
||||||
|
477 : 17,
|
||||||
|
480 : 17,
|
||||||
|
490 : 17,
|
||||||
|
498 : 17,
|
||||||
|
573 : 18,
|
||||||
|
575 : 18,
|
||||||
|
578 : 18,
|
||||||
|
709 : 18,
|
||||||
|
734 : 17,
|
||||||
|
735 : 17,
|
||||||
|
736 : 17,
|
||||||
|
751 : 16,
|
||||||
|
755 : 18,
|
||||||
|
756 : 18,
|
||||||
|
757 : 18,
|
||||||
|
1073741839 : 17
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
351 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
393 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
401 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
402 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
403 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
404 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
477 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
480 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
490 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
498 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
573 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
575 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
578 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
709 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
734 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
735 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
736 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
751 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
755 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
756 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
757 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'nodes', ArrayType(StructType(( 'flags', Int ), ( 'children', ArrayType(VarInt, VarInt, ) ), ( 'redirectNode', SwitchType('has_redirect_node', { 1 : VarInt }, None, ) ), ( 'extraNodeData', SwitchType('command_node_type', { 0 : Void, 1 : String, 2 : StructType(( 'name', String ), ( 'parser', String ), ( 'properties', SwitchType('parser', { 'brigadier:double' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Double }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Double }, None, ) ), ), 'brigadier:float' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Float }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Float }, None, ) ), ), 'brigadier:integer' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Int }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Int }, None, ) ), ), 'brigadier:long' : StructType(( 'flags', Int ), ( 'min', SwitchType('min_present', { 1 : Long }, None, ) ), ( 'max', SwitchType('max_present', { 1 : Long }, None, ) ), ), 'brigadier:string' : VarInt, 'minecraft:entity' : Byte, 'minecraft:range' : Boolean, 'minecraft:score_holder' : Byte }, None, ) ), ( 'suggests', SwitchType('has_custom_suggestions', { 1 : String }, None, ) ), ) }, None, ) ), ), VarInt, ) ), ( 'rootIndex', VarInt ) ]
|
||||||
|
}
|
61
aiocraft/mc/proto/play/clientbound/packet_declare_recipes.py
Normal file
61
aiocraft/mc/proto/play/clientbound/packet_declare_recipes.py
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketDeclareRecipes(Packet):
|
||||||
|
__slots__ = ( 'id', 'recipes' )
|
||||||
|
|
||||||
|
recipes : list
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
351 : 82,
|
||||||
|
393 : 84,
|
||||||
|
401 : 84,
|
||||||
|
402 : 84,
|
||||||
|
403 : 84,
|
||||||
|
404 : 84,
|
||||||
|
477 : 90,
|
||||||
|
480 : 90,
|
||||||
|
490 : 90,
|
||||||
|
498 : 90,
|
||||||
|
573 : 91,
|
||||||
|
575 : 91,
|
||||||
|
578 : 91,
|
||||||
|
709 : 91,
|
||||||
|
734 : 90,
|
||||||
|
735 : 90,
|
||||||
|
736 : 90,
|
||||||
|
751 : 90,
|
||||||
|
755 : 101,
|
||||||
|
756 : 101,
|
||||||
|
757 : 102,
|
||||||
|
1073741839 : 91
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
351 : [ ( 'recipes', ArrayType(StructType(( 'recipeId', String ), ( 'type', String ), ( 'data', SwitchType('type', { 'crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(ArrayType(Slot, VarInt, ), 'height', ), 'width', ) ), ( 'result', Slot ), ), 'crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(ArrayType(Slot, VarInt, ), VarInt, ) ), ( 'result', Slot ), ), 'crafting_special_armordye' : Void, 'crafting_special_banneraddpattern' : Void, 'crafting_special_bannerduplicate' : Void, 'crafting_special_bookcloning' : Void, 'crafting_special_firework_rocket' : Void, 'crafting_special_firework_star' : Void, 'crafting_special_firework_star_fade' : Void, 'crafting_special_mapcloning' : Void, 'crafting_special_mapextending' : Void, 'crafting_special_repairitem' : Void, 'crafting_special_shielddecoration' : Void, 'crafting_special_shulkerboxcoloring' : Void, 'crafting_special_tippedarrow' : Void }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
393 : [ ( 'recipes', ArrayType(StructType(( 'recipeId', String ), ( 'type', String ), ( 'data', SwitchType('type', { 'crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'crafting_special_armordye' : Void, 'crafting_special_banneraddpattern' : Void, 'crafting_special_bannerduplicate' : Void, 'crafting_special_bookcloning' : Void, 'crafting_special_firework_rocket' : Void, 'crafting_special_firework_star' : Void, 'crafting_special_firework_star_fade' : Void, 'crafting_special_mapcloning' : Void, 'crafting_special_mapextending' : Void, 'crafting_special_repairitem' : Void, 'crafting_special_shielddecoration' : Void, 'crafting_special_shulkerboxcoloring' : Void, 'crafting_special_tippedarrow' : Void, 'smelting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ( 'experience', Float ), ( 'cookTime', VarInt ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
401 : [ ( 'recipes', ArrayType(StructType(( 'recipeId', String ), ( 'type', String ), ( 'data', SwitchType('type', { 'crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'crafting_special_armordye' : Void, 'crafting_special_banneraddpattern' : Void, 'crafting_special_bannerduplicate' : Void, 'crafting_special_bookcloning' : Void, 'crafting_special_firework_rocket' : Void, 'crafting_special_firework_star' : Void, 'crafting_special_firework_star_fade' : Void, 'crafting_special_mapcloning' : Void, 'crafting_special_mapextending' : Void, 'crafting_special_repairitem' : Void, 'crafting_special_shielddecoration' : Void, 'crafting_special_shulkerboxcoloring' : Void, 'crafting_special_tippedarrow' : Void, 'smelting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ( 'experience', Float ), ( 'cookTime', VarInt ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
402 : [ ( 'recipes', ArrayType(StructType(( 'recipeId', String ), ( 'type', String ), ( 'data', SwitchType('type', { 'crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'crafting_special_armordye' : Void, 'crafting_special_banneraddpattern' : Void, 'crafting_special_bannerduplicate' : Void, 'crafting_special_bookcloning' : Void, 'crafting_special_firework_rocket' : Void, 'crafting_special_firework_star' : Void, 'crafting_special_firework_star_fade' : Void, 'crafting_special_mapcloning' : Void, 'crafting_special_mapextending' : Void, 'crafting_special_repairitem' : Void, 'crafting_special_shielddecoration' : Void, 'crafting_special_shulkerboxcoloring' : Void, 'crafting_special_tippedarrow' : Void, 'smelting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ( 'experience', Float ), ( 'cookTime', VarInt ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
403 : [ ( 'recipes', ArrayType(StructType(( 'recipeId', String ), ( 'type', String ), ( 'data', SwitchType('type', { 'crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'crafting_special_armordye' : Void, 'crafting_special_banneraddpattern' : Void, 'crafting_special_bannerduplicate' : Void, 'crafting_special_bookcloning' : Void, 'crafting_special_firework_rocket' : Void, 'crafting_special_firework_star' : Void, 'crafting_special_firework_star_fade' : Void, 'crafting_special_mapcloning' : Void, 'crafting_special_mapextending' : Void, 'crafting_special_repairitem' : Void, 'crafting_special_shielddecoration' : Void, 'crafting_special_shulkerboxcoloring' : Void, 'crafting_special_tippedarrow' : Void, 'smelting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ( 'experience', Float ), ( 'cookTime', VarInt ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
404 : [ ( 'recipes', ArrayType(StructType(( 'recipeId', String ), ( 'type', String ), ( 'data', SwitchType('type', { 'crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'crafting_special_armordye' : Void, 'crafting_special_banneraddpattern' : Void, 'crafting_special_bannerduplicate' : Void, 'crafting_special_bookcloning' : Void, 'crafting_special_firework_rocket' : Void, 'crafting_special_firework_star' : Void, 'crafting_special_firework_star_fade' : Void, 'crafting_special_mapcloning' : Void, 'crafting_special_mapextending' : Void, 'crafting_special_repairitem' : Void, 'crafting_special_shielddecoration' : Void, 'crafting_special_shulkerboxcoloring' : Void, 'crafting_special_tippedarrow' : Void, 'smelting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ( 'experience', Float ), ( 'cookTime', VarInt ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
477 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
480 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
490 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
498 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
573 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
575 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
578 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
709 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
734 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smithing' : StructType(( 'base', TrailingData ), ( 'addition', TrailingData ), ( 'result', Slot ), ), 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
735 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smithing' : StructType(( 'base', TrailingData ), ( 'addition', TrailingData ), ( 'result', Slot ), ), 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
736 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smithing' : StructType(( 'base', TrailingData ), ( 'addition', TrailingData ), ( 'result', Slot ), ), 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
751 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'width', ), 'height', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smithing' : StructType(( 'base', TrailingData ), ( 'addition', TrailingData ), ( 'result', Slot ), ), 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
755 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smithing' : StructType(( 'base', TrailingData ), ( 'addition', TrailingData ), ( 'result', Slot ), ), 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
756 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smithing' : StructType(( 'base', TrailingData ), ( 'addition', TrailingData ), ( 'result', Slot ), ), 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
757 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smithing' : StructType(( 'base', TrailingData ), ( 'addition', TrailingData ), ( 'result', Slot ), ), 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
1073741839 : [ ( 'recipes', ArrayType(StructType(( 'type', String ), ( 'recipeId', String ), ( 'data', SwitchType('type', { 'minecraft:blasting' : TrailingData, 'minecraft:campfire_cooking' : TrailingData, 'minecraft:crafting_shaped' : StructType(( 'width', VarInt ), ( 'height', VarInt ), ( 'group', String ), ( 'ingredients', ArrayType(ArrayType(TrailingData, 'height', ), 'width', ) ), ( 'result', Slot ), ), 'minecraft:crafting_shapeless' : StructType(( 'group', String ), ( 'ingredients', ArrayType(TrailingData, VarInt, ) ), ( 'result', Slot ), ), 'minecraft:crafting_special_armordye' : Void, 'minecraft:crafting_special_banneraddpattern' : Void, 'minecraft:crafting_special_bannerduplicate' : Void, 'minecraft:crafting_special_bookcloning' : Void, 'minecraft:crafting_special_firework_rocket' : Void, 'minecraft:crafting_special_firework_star' : Void, 'minecraft:crafting_special_firework_star_fade' : Void, 'minecraft:crafting_special_mapcloning' : Void, 'minecraft:crafting_special_mapextending' : Void, 'minecraft:crafting_special_repairitem' : Void, 'minecraft:crafting_special_shielddecoration' : Void, 'minecraft:crafting_special_shulkerboxcoloring' : Void, 'minecraft:crafting_special_suspiciousstew' : Void, 'minecraft:crafting_special_tippedarrow' : Void, 'minecraft:smelting' : TrailingData, 'minecraft:smithing' : StructType(( 'base', TrailingData ), ( 'addition', TrailingData ), ( 'result', Slot ), ), 'minecraft:smoking' : TrailingData, 'minecraft:stonecutting' : StructType(( 'group', String ), ( 'ingredient', TrailingData ), ( 'result', Slot ), ) }, None, ) ), ), VarInt, ) ) ]
|
||||||
|
}
|
19
aiocraft/mc/proto/play/clientbound/packet_destroy_entity.py
Normal file
19
aiocraft/mc/proto/play/clientbound/packet_destroy_entity.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketDestroyEntity(Packet):
|
||||||
|
__slots__ = ( 'id', 'entityId' )
|
||||||
|
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 58
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'entityId', VarInt ) ]
|
||||||
|
}
|
94
aiocraft/mc/proto/play/clientbound/packet_difficulty.py
Normal file
94
aiocraft/mc/proto/play/clientbound/packet_difficulty.py
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketDifficulty(Packet):
|
||||||
|
__slots__ = ( 'id', 'difficultyLocked', 'difficulty' )
|
||||||
|
|
||||||
|
difficultyLocked : bool
|
||||||
|
difficulty : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
47 : 65,
|
||||||
|
76 : 13,
|
||||||
|
107 : 13,
|
||||||
|
108 : 13,
|
||||||
|
109 : 13,
|
||||||
|
110 : 13,
|
||||||
|
201 : 13,
|
||||||
|
210 : 13,
|
||||||
|
304 : 13,
|
||||||
|
315 : 13,
|
||||||
|
321 : 14,
|
||||||
|
327 : 14,
|
||||||
|
331 : 14,
|
||||||
|
335 : 13,
|
||||||
|
338 : 13,
|
||||||
|
340 : 13,
|
||||||
|
351 : 13,
|
||||||
|
393 : 13,
|
||||||
|
401 : 13,
|
||||||
|
402 : 13,
|
||||||
|
403 : 13,
|
||||||
|
404 : 13,
|
||||||
|
477 : 13,
|
||||||
|
480 : 13,
|
||||||
|
490 : 13,
|
||||||
|
498 : 13,
|
||||||
|
573 : 14,
|
||||||
|
575 : 14,
|
||||||
|
578 : 14,
|
||||||
|
709 : 14,
|
||||||
|
734 : 13,
|
||||||
|
735 : 13,
|
||||||
|
736 : 13,
|
||||||
|
751 : 13,
|
||||||
|
755 : 14,
|
||||||
|
756 : 14,
|
||||||
|
757 : 14,
|
||||||
|
1073741839 : 14
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
47 : [ ( 'difficulty', Byte ) ],
|
||||||
|
76 : [ ( 'difficulty', Byte ) ],
|
||||||
|
107 : [ ( 'difficulty', Byte ) ],
|
||||||
|
108 : [ ( 'difficulty', Byte ) ],
|
||||||
|
109 : [ ( 'difficulty', Byte ) ],
|
||||||
|
110 : [ ( 'difficulty', Byte ) ],
|
||||||
|
201 : [ ( 'difficulty', Byte ) ],
|
||||||
|
210 : [ ( 'difficulty', Byte ) ],
|
||||||
|
304 : [ ( 'difficulty', Byte ) ],
|
||||||
|
315 : [ ( 'difficulty', Byte ) ],
|
||||||
|
321 : [ ( 'difficulty', Byte ) ],
|
||||||
|
327 : [ ( 'difficulty', Byte ) ],
|
||||||
|
331 : [ ( 'difficulty', Byte ) ],
|
||||||
|
335 : [ ( 'difficulty', Byte ) ],
|
||||||
|
338 : [ ( 'difficulty', Byte ) ],
|
||||||
|
340 : [ ( 'difficulty', Byte ) ],
|
||||||
|
351 : [ ( 'difficulty', Byte ) ],
|
||||||
|
393 : [ ( 'difficulty', Byte ) ],
|
||||||
|
401 : [ ( 'difficulty', Byte ) ],
|
||||||
|
402 : [ ( 'difficulty', Byte ) ],
|
||||||
|
403 : [ ( 'difficulty', Byte ) ],
|
||||||
|
404 : [ ( 'difficulty', Byte ) ],
|
||||||
|
477 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
480 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
490 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
498 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
573 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
575 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
578 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
709 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
734 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
735 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
736 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
751 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
755 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
756 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
757 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ],
|
||||||
|
1073741839 : [ ( 'difficulty', Byte ), ( 'difficultyLocked', Boolean ) ]
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEndCombatEvent(Packet):
|
||||||
|
__slots__ = ( 'id', 'duration', 'entityId' )
|
||||||
|
|
||||||
|
duration : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 51,
|
||||||
|
756 : 51,
|
||||||
|
757 : 51
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'duration', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
756 : [ ( 'duration', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
757 : [ ( 'duration', VarInt ), ( 'entityId', Int ) ]
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEnterCombatEvent(Packet):
|
||||||
|
__slots__ = ( 'id' )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 52,
|
||||||
|
756 : 52,
|
||||||
|
757 : 52
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ],
|
||||||
|
756 : [ ],
|
||||||
|
757 : [ ]
|
||||||
|
}
|
89
aiocraft/mc/proto/play/clientbound/packet_entity.py
Normal file
89
aiocraft/mc/proto/play/clientbound/packet_entity.py
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntity(Packet):
|
||||||
|
__slots__ = ( 'id', 'entityId' )
|
||||||
|
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 20,
|
||||||
|
47 : 20,
|
||||||
|
76 : 41,
|
||||||
|
107 : 40,
|
||||||
|
108 : 40,
|
||||||
|
109 : 40,
|
||||||
|
110 : 40,
|
||||||
|
201 : 40,
|
||||||
|
210 : 40,
|
||||||
|
304 : 40,
|
||||||
|
315 : 40,
|
||||||
|
321 : 41,
|
||||||
|
327 : 41,
|
||||||
|
331 : 41,
|
||||||
|
335 : 37,
|
||||||
|
338 : 37,
|
||||||
|
340 : 37,
|
||||||
|
351 : 38,
|
||||||
|
393 : 39,
|
||||||
|
401 : 39,
|
||||||
|
402 : 39,
|
||||||
|
403 : 39,
|
||||||
|
404 : 39,
|
||||||
|
477 : 43,
|
||||||
|
480 : 43,
|
||||||
|
490 : 43,
|
||||||
|
498 : 43,
|
||||||
|
573 : 44,
|
||||||
|
575 : 44,
|
||||||
|
578 : 44,
|
||||||
|
709 : 44,
|
||||||
|
734 : 43,
|
||||||
|
735 : 43,
|
||||||
|
736 : 43,
|
||||||
|
751 : 42,
|
||||||
|
1073741839 : 43
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ) ]
|
||||||
|
}
|
93
aiocraft/mc/proto/play/clientbound/packet_entity_destroy.py
Normal file
93
aiocraft/mc/proto/play/clientbound/packet_entity_destroy.py
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityDestroy(Packet):
|
||||||
|
__slots__ = ( 'id', 'entityIds' )
|
||||||
|
|
||||||
|
entityIds : list
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 19,
|
||||||
|
47 : 19,
|
||||||
|
76 : 48,
|
||||||
|
107 : 48,
|
||||||
|
108 : 48,
|
||||||
|
109 : 48,
|
||||||
|
110 : 48,
|
||||||
|
201 : 48,
|
||||||
|
210 : 48,
|
||||||
|
304 : 48,
|
||||||
|
315 : 48,
|
||||||
|
321 : 50,
|
||||||
|
327 : 50,
|
||||||
|
331 : 50,
|
||||||
|
335 : 49,
|
||||||
|
338 : 50,
|
||||||
|
340 : 50,
|
||||||
|
351 : 51,
|
||||||
|
393 : 53,
|
||||||
|
401 : 53,
|
||||||
|
402 : 53,
|
||||||
|
403 : 53,
|
||||||
|
404 : 53,
|
||||||
|
477 : 55,
|
||||||
|
480 : 55,
|
||||||
|
490 : 55,
|
||||||
|
498 : 55,
|
||||||
|
573 : 56,
|
||||||
|
575 : 56,
|
||||||
|
578 : 56,
|
||||||
|
709 : 56,
|
||||||
|
734 : 55,
|
||||||
|
735 : 55,
|
||||||
|
736 : 55,
|
||||||
|
751 : 54,
|
||||||
|
756 : 58,
|
||||||
|
757 : 58,
|
||||||
|
1073741839 : 55
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityIds', ArrayType(Int, Byte, ) ) ],
|
||||||
|
47 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
76 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
107 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
108 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
109 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
110 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
201 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
210 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
304 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
315 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
321 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
327 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
331 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
335 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
338 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
340 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
351 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
393 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
401 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
402 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
403 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
404 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
477 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
480 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
490 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
498 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
573 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
575 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
578 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
709 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
734 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
735 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
736 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
751 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
756 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
757 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
1073741839 : [ ( 'entityIds', ArrayType(VarInt, VarInt, ) ) ]
|
||||||
|
}
|
99
aiocraft/mc/proto/play/clientbound/packet_entity_effect.py
Normal file
99
aiocraft/mc/proto/play/clientbound/packet_entity_effect.py
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityEffect(Packet):
|
||||||
|
__slots__ = ( 'id', 'effectId', 'duration', 'amplifier', 'hideParticles', 'entityId' )
|
||||||
|
|
||||||
|
effectId : int
|
||||||
|
duration : int
|
||||||
|
amplifier : int
|
||||||
|
hideParticles : Union[int,bool]
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 29,
|
||||||
|
47 : 29,
|
||||||
|
76 : 74,
|
||||||
|
107 : 76,
|
||||||
|
108 : 76,
|
||||||
|
109 : 76,
|
||||||
|
110 : 75,
|
||||||
|
201 : 75,
|
||||||
|
210 : 75,
|
||||||
|
304 : 75,
|
||||||
|
315 : 75,
|
||||||
|
321 : 77,
|
||||||
|
327 : 77,
|
||||||
|
331 : 77,
|
||||||
|
335 : 78,
|
||||||
|
338 : 79,
|
||||||
|
340 : 79,
|
||||||
|
351 : 81,
|
||||||
|
393 : 83,
|
||||||
|
401 : 83,
|
||||||
|
402 : 83,
|
||||||
|
403 : 83,
|
||||||
|
404 : 83,
|
||||||
|
477 : 89,
|
||||||
|
480 : 89,
|
||||||
|
490 : 89,
|
||||||
|
498 : 89,
|
||||||
|
573 : 90,
|
||||||
|
575 : 90,
|
||||||
|
578 : 90,
|
||||||
|
709 : 90,
|
||||||
|
734 : 89,
|
||||||
|
735 : 89,
|
||||||
|
736 : 89,
|
||||||
|
751 : 89,
|
||||||
|
755 : 100,
|
||||||
|
756 : 100,
|
||||||
|
757 : 101,
|
||||||
|
1073741839 : 90
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', Short ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Boolean ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Boolean ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ), ( 'amplifier', Byte ), ( 'duration', VarInt ), ( 'hideParticles', Byte ) ]
|
||||||
|
}
|
|
@ -0,0 +1,98 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityEquipment(Packet):
|
||||||
|
__slots__ = ( 'id', 'item', 'slot', 'entityId', 'equipments' )
|
||||||
|
|
||||||
|
item : dict
|
||||||
|
slot : int
|
||||||
|
entityId : int
|
||||||
|
equipments : bytes
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 4,
|
||||||
|
47 : 4,
|
||||||
|
76 : 60,
|
||||||
|
107 : 60,
|
||||||
|
108 : 60,
|
||||||
|
109 : 60,
|
||||||
|
110 : 60,
|
||||||
|
201 : 60,
|
||||||
|
210 : 60,
|
||||||
|
304 : 60,
|
||||||
|
315 : 60,
|
||||||
|
321 : 62,
|
||||||
|
327 : 62,
|
||||||
|
331 : 62,
|
||||||
|
335 : 62,
|
||||||
|
338 : 63,
|
||||||
|
340 : 63,
|
||||||
|
351 : 64,
|
||||||
|
393 : 66,
|
||||||
|
401 : 66,
|
||||||
|
402 : 66,
|
||||||
|
403 : 66,
|
||||||
|
404 : 66,
|
||||||
|
477 : 70,
|
||||||
|
480 : 70,
|
||||||
|
490 : 70,
|
||||||
|
498 : 70,
|
||||||
|
573 : 71,
|
||||||
|
575 : 71,
|
||||||
|
578 : 71,
|
||||||
|
709 : 72,
|
||||||
|
734 : 71,
|
||||||
|
735 : 71,
|
||||||
|
736 : 71,
|
||||||
|
751 : 71,
|
||||||
|
755 : 80,
|
||||||
|
756 : 80,
|
||||||
|
757 : 80,
|
||||||
|
1073741839 : 72
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'slot', VarInt ), ( 'item', Slot ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'equipments', TrailingData ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'equipments', TrailingData ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'equipments', TrailingData ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'equipments', TrailingData ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'equipments', TrailingData ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'equipments', TrailingData ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'equipments', TrailingData ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'equipments', TrailingData ) ]
|
||||||
|
}
|
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityHeadRotation(Packet):
|
||||||
|
__slots__ = ( 'id', 'headYaw', 'entityId' )
|
||||||
|
|
||||||
|
headYaw : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 25,
|
||||||
|
47 : 25,
|
||||||
|
76 : 52,
|
||||||
|
107 : 52,
|
||||||
|
108 : 52,
|
||||||
|
109 : 52,
|
||||||
|
110 : 52,
|
||||||
|
201 : 52,
|
||||||
|
210 : 52,
|
||||||
|
304 : 52,
|
||||||
|
315 : 52,
|
||||||
|
321 : 54,
|
||||||
|
327 : 54,
|
||||||
|
331 : 54,
|
||||||
|
335 : 53,
|
||||||
|
338 : 54,
|
||||||
|
340 : 54,
|
||||||
|
351 : 55,
|
||||||
|
393 : 57,
|
||||||
|
401 : 57,
|
||||||
|
402 : 57,
|
||||||
|
403 : 57,
|
||||||
|
404 : 57,
|
||||||
|
477 : 59,
|
||||||
|
480 : 59,
|
||||||
|
490 : 59,
|
||||||
|
498 : 59,
|
||||||
|
573 : 60,
|
||||||
|
575 : 60,
|
||||||
|
578 : 60,
|
||||||
|
709 : 60,
|
||||||
|
734 : 59,
|
||||||
|
735 : 59,
|
||||||
|
736 : 59,
|
||||||
|
751 : 58,
|
||||||
|
755 : 62,
|
||||||
|
756 : 62,
|
||||||
|
757 : 62,
|
||||||
|
1073741839 : 59
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'headYaw', Byte ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'headYaw', Byte ) ]
|
||||||
|
}
|
98
aiocraft/mc/proto/play/clientbound/packet_entity_look.py
Normal file
98
aiocraft/mc/proto/play/clientbound/packet_entity_look.py
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityLook(Packet):
|
||||||
|
__slots__ = ( 'id', 'yaw', 'pitch', 'onGround', 'entityId' )
|
||||||
|
|
||||||
|
yaw : int
|
||||||
|
pitch : int
|
||||||
|
onGround : bool
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 22,
|
||||||
|
47 : 22,
|
||||||
|
76 : 40,
|
||||||
|
107 : 39,
|
||||||
|
108 : 39,
|
||||||
|
109 : 39,
|
||||||
|
110 : 39,
|
||||||
|
201 : 39,
|
||||||
|
210 : 39,
|
||||||
|
304 : 39,
|
||||||
|
315 : 39,
|
||||||
|
321 : 40,
|
||||||
|
327 : 40,
|
||||||
|
331 : 40,
|
||||||
|
335 : 40,
|
||||||
|
338 : 40,
|
||||||
|
340 : 40,
|
||||||
|
351 : 41,
|
||||||
|
393 : 42,
|
||||||
|
401 : 42,
|
||||||
|
402 : 42,
|
||||||
|
403 : 42,
|
||||||
|
404 : 42,
|
||||||
|
477 : 42,
|
||||||
|
480 : 42,
|
||||||
|
490 : 42,
|
||||||
|
498 : 42,
|
||||||
|
573 : 43,
|
||||||
|
575 : 43,
|
||||||
|
578 : 43,
|
||||||
|
709 : 43,
|
||||||
|
734 : 42,
|
||||||
|
735 : 42,
|
||||||
|
736 : 42,
|
||||||
|
751 : 41,
|
||||||
|
755 : 43,
|
||||||
|
756 : 43,
|
||||||
|
757 : 43,
|
||||||
|
1073741839 : 42
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ]
|
||||||
|
}
|
96
aiocraft/mc/proto/play/clientbound/packet_entity_metadata.py
Normal file
96
aiocraft/mc/proto/play/clientbound/packet_entity_metadata.py
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityMetadata(Packet):
|
||||||
|
__slots__ = ( 'id', 'metadata', 'entityId' )
|
||||||
|
|
||||||
|
metadata : bytes
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 28,
|
||||||
|
47 : 28,
|
||||||
|
76 : 57,
|
||||||
|
107 : 57,
|
||||||
|
108 : 57,
|
||||||
|
109 : 57,
|
||||||
|
110 : 57,
|
||||||
|
201 : 57,
|
||||||
|
210 : 57,
|
||||||
|
304 : 57,
|
||||||
|
315 : 57,
|
||||||
|
321 : 59,
|
||||||
|
327 : 59,
|
||||||
|
331 : 59,
|
||||||
|
335 : 59,
|
||||||
|
338 : 60,
|
||||||
|
340 : 60,
|
||||||
|
351 : 61,
|
||||||
|
393 : 63,
|
||||||
|
401 : 63,
|
||||||
|
402 : 63,
|
||||||
|
403 : 63,
|
||||||
|
404 : 63,
|
||||||
|
477 : 67,
|
||||||
|
480 : 67,
|
||||||
|
490 : 67,
|
||||||
|
498 : 67,
|
||||||
|
573 : 68,
|
||||||
|
575 : 68,
|
||||||
|
578 : 68,
|
||||||
|
709 : 69,
|
||||||
|
734 : 68,
|
||||||
|
735 : 68,
|
||||||
|
736 : 68,
|
||||||
|
751 : 68,
|
||||||
|
755 : 77,
|
||||||
|
756 : 77,
|
||||||
|
757 : 77,
|
||||||
|
1073741839 : 69
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'metadata', EntityMetadata ) ]
|
||||||
|
}
|
101
aiocraft/mc/proto/play/clientbound/packet_entity_move_look.py
Normal file
101
aiocraft/mc/proto/play/clientbound/packet_entity_move_look.py
Normal file
|
@ -0,0 +1,101 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityMoveLook(Packet):
|
||||||
|
__slots__ = ( 'id', 'dY', 'dX', 'onGround', 'dZ', 'yaw', 'entityId', 'pitch' )
|
||||||
|
|
||||||
|
dY : int
|
||||||
|
dX : int
|
||||||
|
onGround : bool
|
||||||
|
dZ : int
|
||||||
|
yaw : int
|
||||||
|
entityId : int
|
||||||
|
pitch : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 23,
|
||||||
|
47 : 23,
|
||||||
|
76 : 39,
|
||||||
|
107 : 38,
|
||||||
|
108 : 38,
|
||||||
|
109 : 38,
|
||||||
|
110 : 38,
|
||||||
|
201 : 38,
|
||||||
|
210 : 38,
|
||||||
|
304 : 38,
|
||||||
|
315 : 38,
|
||||||
|
321 : 39,
|
||||||
|
327 : 39,
|
||||||
|
331 : 39,
|
||||||
|
335 : 39,
|
||||||
|
338 : 39,
|
||||||
|
340 : 39,
|
||||||
|
351 : 40,
|
||||||
|
393 : 41,
|
||||||
|
401 : 41,
|
||||||
|
402 : 41,
|
||||||
|
403 : 41,
|
||||||
|
404 : 41,
|
||||||
|
477 : 41,
|
||||||
|
480 : 41,
|
||||||
|
490 : 41,
|
||||||
|
498 : 41,
|
||||||
|
573 : 42,
|
||||||
|
575 : 42,
|
||||||
|
578 : 42,
|
||||||
|
709 : 42,
|
||||||
|
734 : 41,
|
||||||
|
735 : 41,
|
||||||
|
736 : 41,
|
||||||
|
751 : 40,
|
||||||
|
755 : 42,
|
||||||
|
756 : 42,
|
||||||
|
757 : 42,
|
||||||
|
1073741839 : 41
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'dX', Byte ), ( 'dY', Byte ), ( 'dZ', Byte ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'dX', Byte ), ( 'dY', Byte ), ( 'dZ', Byte ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'dX', Byte ), ( 'dY', Byte ), ( 'dZ', Byte ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ]
|
||||||
|
}
|
|
@ -0,0 +1,53 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntitySoundEffect(Packet):
|
||||||
|
__slots__ = ( 'id', 'volume', 'entityId', 'soundId', 'pitch', 'soundCategory' )
|
||||||
|
|
||||||
|
volume : float
|
||||||
|
entityId : int
|
||||||
|
soundId : int
|
||||||
|
pitch : float
|
||||||
|
soundCategory : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
477 : 80,
|
||||||
|
480 : 80,
|
||||||
|
490 : 80,
|
||||||
|
498 : 80,
|
||||||
|
573 : 81,
|
||||||
|
575 : 81,
|
||||||
|
578 : 81,
|
||||||
|
709 : 81,
|
||||||
|
734 : 80,
|
||||||
|
735 : 80,
|
||||||
|
736 : 80,
|
||||||
|
751 : 80,
|
||||||
|
755 : 91,
|
||||||
|
756 : 91,
|
||||||
|
757 : 92,
|
||||||
|
1073741839 : 81
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
477 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
480 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
490 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
498 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
573 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
575 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
578 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
709 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
734 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
735 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
736 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
751 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
755 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
756 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
757 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
1073741839 : [ ( 'soundId', VarInt ), ( 'soundCategory', VarInt ), ( 'entityId', VarInt ), ( 'volume', Float ), ( 'pitch', Float ) ]
|
||||||
|
}
|
96
aiocraft/mc/proto/play/clientbound/packet_entity_status.py
Normal file
96
aiocraft/mc/proto/play/clientbound/packet_entity_status.py
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityStatus(Packet):
|
||||||
|
__slots__ = ( 'id', 'entityStatus', 'entityId' )
|
||||||
|
|
||||||
|
entityStatus : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 26,
|
||||||
|
47 : 26,
|
||||||
|
76 : 26,
|
||||||
|
107 : 27,
|
||||||
|
108 : 27,
|
||||||
|
109 : 27,
|
||||||
|
110 : 27,
|
||||||
|
201 : 27,
|
||||||
|
210 : 27,
|
||||||
|
304 : 27,
|
||||||
|
315 : 27,
|
||||||
|
321 : 28,
|
||||||
|
327 : 28,
|
||||||
|
331 : 28,
|
||||||
|
335 : 27,
|
||||||
|
338 : 27,
|
||||||
|
340 : 27,
|
||||||
|
351 : 28,
|
||||||
|
393 : 28,
|
||||||
|
401 : 28,
|
||||||
|
402 : 28,
|
||||||
|
403 : 28,
|
||||||
|
404 : 28,
|
||||||
|
477 : 27,
|
||||||
|
480 : 27,
|
||||||
|
490 : 27,
|
||||||
|
498 : 27,
|
||||||
|
573 : 28,
|
||||||
|
575 : 28,
|
||||||
|
578 : 28,
|
||||||
|
709 : 28,
|
||||||
|
734 : 27,
|
||||||
|
735 : 27,
|
||||||
|
736 : 27,
|
||||||
|
751 : 26,
|
||||||
|
755 : 27,
|
||||||
|
756 : 27,
|
||||||
|
757 : 27,
|
||||||
|
1073741839 : 27
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
47 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
76 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
107 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
108 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
109 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
110 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
201 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
210 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
304 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
315 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
321 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
327 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
331 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
335 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
338 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
340 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
351 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
393 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
401 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
402 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
403 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
404 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
477 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
480 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
490 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
498 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
573 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
575 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
578 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
709 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
734 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
735 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
736 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
751 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
755 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
756 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
757 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ],
|
||||||
|
1073741839 : [ ( 'entityId', Int ), ( 'entityStatus', Byte ) ]
|
||||||
|
}
|
101
aiocraft/mc/proto/play/clientbound/packet_entity_teleport.py
Normal file
101
aiocraft/mc/proto/play/clientbound/packet_entity_teleport.py
Normal file
|
@ -0,0 +1,101 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityTeleport(Packet):
|
||||||
|
__slots__ = ( 'id', 'onGround', 'x', 'yaw', 'entityId', 'y', 'z', 'pitch' )
|
||||||
|
|
||||||
|
onGround : bool
|
||||||
|
x : Union[float,int]
|
||||||
|
yaw : int
|
||||||
|
entityId : int
|
||||||
|
y : Union[float,int]
|
||||||
|
z : Union[float,int]
|
||||||
|
pitch : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 24,
|
||||||
|
47 : 24,
|
||||||
|
76 : 72,
|
||||||
|
107 : 74,
|
||||||
|
108 : 74,
|
||||||
|
109 : 74,
|
||||||
|
110 : 73,
|
||||||
|
201 : 73,
|
||||||
|
210 : 73,
|
||||||
|
304 : 73,
|
||||||
|
315 : 73,
|
||||||
|
321 : 75,
|
||||||
|
327 : 75,
|
||||||
|
331 : 75,
|
||||||
|
335 : 75,
|
||||||
|
338 : 76,
|
||||||
|
340 : 76,
|
||||||
|
351 : 78,
|
||||||
|
393 : 80,
|
||||||
|
401 : 80,
|
||||||
|
402 : 80,
|
||||||
|
403 : 80,
|
||||||
|
404 : 80,
|
||||||
|
477 : 86,
|
||||||
|
480 : 86,
|
||||||
|
490 : 86,
|
||||||
|
498 : 86,
|
||||||
|
573 : 87,
|
||||||
|
575 : 87,
|
||||||
|
578 : 87,
|
||||||
|
709 : 87,
|
||||||
|
734 : 86,
|
||||||
|
735 : 86,
|
||||||
|
736 : 86,
|
||||||
|
751 : 86,
|
||||||
|
755 : 97,
|
||||||
|
756 : 97,
|
||||||
|
757 : 98,
|
||||||
|
1073741839 : 87
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'onGround', Boolean ) ]
|
||||||
|
}
|
|
@ -0,0 +1,90 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityUpdateAttributes(Packet):
|
||||||
|
__slots__ = ( 'id', 'properties', 'entityId' )
|
||||||
|
|
||||||
|
properties : list
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
107 : 75,
|
||||||
|
108 : 75,
|
||||||
|
109 : 75,
|
||||||
|
110 : 74,
|
||||||
|
201 : 74,
|
||||||
|
210 : 74,
|
||||||
|
304 : 74,
|
||||||
|
315 : 74,
|
||||||
|
321 : 76,
|
||||||
|
327 : 76,
|
||||||
|
331 : 76,
|
||||||
|
335 : 77,
|
||||||
|
338 : 78,
|
||||||
|
340 : 78,
|
||||||
|
351 : 80,
|
||||||
|
393 : 82,
|
||||||
|
401 : 82,
|
||||||
|
402 : 82,
|
||||||
|
403 : 82,
|
||||||
|
404 : 82,
|
||||||
|
477 : 88,
|
||||||
|
480 : 88,
|
||||||
|
490 : 88,
|
||||||
|
498 : 88,
|
||||||
|
573 : 89,
|
||||||
|
575 : 89,
|
||||||
|
578 : 89,
|
||||||
|
709 : 89,
|
||||||
|
734 : 88,
|
||||||
|
735 : 88,
|
||||||
|
736 : 88,
|
||||||
|
751 : 88,
|
||||||
|
755 : 99,
|
||||||
|
756 : 99,
|
||||||
|
757 : 100,
|
||||||
|
1073741839 : 89
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), VarInt, ) ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'properties', ArrayType(StructType(( 'key', String ), ( 'value', Double ), ( 'modifiers', ArrayType(StructType(( 'uuid', UUID ), ( 'amount', Double ), ( 'operation', Byte ), ), VarInt, ) ), ), Int, ) ) ]
|
||||||
|
}
|
98
aiocraft/mc/proto/play/clientbound/packet_entity_velocity.py
Normal file
98
aiocraft/mc/proto/play/clientbound/packet_entity_velocity.py
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketEntityVelocity(Packet):
|
||||||
|
__slots__ = ( 'id', 'velocityX', 'velocityZ', 'velocityY', 'entityId' )
|
||||||
|
|
||||||
|
velocityX : int
|
||||||
|
velocityZ : int
|
||||||
|
velocityY : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 18,
|
||||||
|
47 : 18,
|
||||||
|
76 : 59,
|
||||||
|
107 : 59,
|
||||||
|
108 : 59,
|
||||||
|
109 : 59,
|
||||||
|
110 : 59,
|
||||||
|
201 : 59,
|
||||||
|
210 : 59,
|
||||||
|
304 : 59,
|
||||||
|
315 : 59,
|
||||||
|
321 : 61,
|
||||||
|
327 : 61,
|
||||||
|
331 : 61,
|
||||||
|
335 : 61,
|
||||||
|
338 : 62,
|
||||||
|
340 : 62,
|
||||||
|
351 : 63,
|
||||||
|
393 : 65,
|
||||||
|
401 : 65,
|
||||||
|
402 : 65,
|
||||||
|
403 : 65,
|
||||||
|
404 : 65,
|
||||||
|
477 : 69,
|
||||||
|
480 : 69,
|
||||||
|
490 : 69,
|
||||||
|
498 : 69,
|
||||||
|
573 : 70,
|
||||||
|
575 : 70,
|
||||||
|
578 : 70,
|
||||||
|
709 : 71,
|
||||||
|
734 : 70,
|
||||||
|
735 : 70,
|
||||||
|
736 : 70,
|
||||||
|
751 : 70,
|
||||||
|
755 : 79,
|
||||||
|
756 : 79,
|
||||||
|
757 : 79,
|
||||||
|
1073741839 : 71
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'velocityX', Short ), ( 'velocityY', Short ), ( 'velocityZ', Short ) ]
|
||||||
|
}
|
97
aiocraft/mc/proto/play/clientbound/packet_experience.py
Normal file
97
aiocraft/mc/proto/play/clientbound/packet_experience.py
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketExperience(Packet):
|
||||||
|
__slots__ = ( 'id', 'level', 'experienceBar', 'totalExperience' )
|
||||||
|
|
||||||
|
level : int
|
||||||
|
experienceBar : float
|
||||||
|
totalExperience : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 31,
|
||||||
|
47 : 31,
|
||||||
|
76 : 61,
|
||||||
|
107 : 61,
|
||||||
|
108 : 61,
|
||||||
|
109 : 61,
|
||||||
|
110 : 61,
|
||||||
|
201 : 61,
|
||||||
|
210 : 61,
|
||||||
|
304 : 61,
|
||||||
|
315 : 61,
|
||||||
|
321 : 63,
|
||||||
|
327 : 63,
|
||||||
|
331 : 63,
|
||||||
|
335 : 63,
|
||||||
|
338 : 64,
|
||||||
|
340 : 64,
|
||||||
|
351 : 65,
|
||||||
|
393 : 67,
|
||||||
|
401 : 67,
|
||||||
|
402 : 67,
|
||||||
|
403 : 67,
|
||||||
|
404 : 67,
|
||||||
|
477 : 71,
|
||||||
|
480 : 71,
|
||||||
|
490 : 71,
|
||||||
|
498 : 71,
|
||||||
|
573 : 72,
|
||||||
|
575 : 72,
|
||||||
|
578 : 72,
|
||||||
|
709 : 73,
|
||||||
|
734 : 72,
|
||||||
|
735 : 72,
|
||||||
|
736 : 72,
|
||||||
|
751 : 72,
|
||||||
|
755 : 81,
|
||||||
|
756 : 81,
|
||||||
|
757 : 81,
|
||||||
|
1073741839 : 73
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'experienceBar', Float ), ( 'level', Short ), ( 'totalExperience', Short ) ],
|
||||||
|
47 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
76 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
107 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
108 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
109 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
110 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
201 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
210 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
304 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
315 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
321 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
327 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
331 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
335 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
338 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
340 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
351 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
393 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
401 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
402 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
403 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
404 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
477 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
480 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
490 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
498 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
573 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
575 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
578 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
709 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
734 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
735 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
736 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
751 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
755 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
756 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
757 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'experienceBar', Float ), ( 'level', VarInt ), ( 'totalExperience', VarInt ) ]
|
||||||
|
}
|
102
aiocraft/mc/proto/play/clientbound/packet_explosion.py
Normal file
102
aiocraft/mc/proto/play/clientbound/packet_explosion.py
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketExplosion(Packet):
|
||||||
|
__slots__ = ( 'id', 'playerMotionZ', 'playerMotionY', 'radius', 'playerMotionX', 'x', 'y', 'z', 'affectedBlockOffsets' )
|
||||||
|
|
||||||
|
playerMotionZ : float
|
||||||
|
playerMotionY : float
|
||||||
|
radius : float
|
||||||
|
playerMotionX : float
|
||||||
|
x : float
|
||||||
|
y : float
|
||||||
|
z : float
|
||||||
|
affectedBlockOffsets : list
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 39,
|
||||||
|
47 : 39,
|
||||||
|
76 : 27,
|
||||||
|
107 : 28,
|
||||||
|
108 : 28,
|
||||||
|
109 : 28,
|
||||||
|
110 : 28,
|
||||||
|
201 : 28,
|
||||||
|
210 : 28,
|
||||||
|
304 : 28,
|
||||||
|
315 : 28,
|
||||||
|
321 : 29,
|
||||||
|
327 : 29,
|
||||||
|
331 : 29,
|
||||||
|
335 : 28,
|
||||||
|
338 : 28,
|
||||||
|
340 : 28,
|
||||||
|
351 : 29,
|
||||||
|
393 : 30,
|
||||||
|
401 : 30,
|
||||||
|
402 : 30,
|
||||||
|
403 : 30,
|
||||||
|
404 : 30,
|
||||||
|
477 : 28,
|
||||||
|
480 : 28,
|
||||||
|
490 : 28,
|
||||||
|
498 : 28,
|
||||||
|
573 : 29,
|
||||||
|
575 : 29,
|
||||||
|
578 : 29,
|
||||||
|
709 : 29,
|
||||||
|
734 : 28,
|
||||||
|
735 : 28,
|
||||||
|
736 : 28,
|
||||||
|
751 : 27,
|
||||||
|
755 : 28,
|
||||||
|
756 : 28,
|
||||||
|
757 : 28,
|
||||||
|
1073741839 : 28
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
47 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
76 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
107 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
108 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
109 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
110 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
201 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
210 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
304 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
315 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
321 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
327 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
331 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
335 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
338 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
340 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
351 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
393 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
401 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
402 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
403 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
404 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
477 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
480 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
490 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
498 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
573 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
575 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
578 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
709 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
734 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
735 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
736 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
751 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
755 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
756 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
757 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ],
|
||||||
|
1073741839 : [ ( 'x', Float ), ( 'y', Float ), ( 'z', Float ), ( 'radius', Float ), ( 'affectedBlockOffsets', ArrayType(StructType(( 'x', Byte ), ( 'y', Byte ), ( 'z', Byte ), ), Int, ) ), ( 'playerMotionX', Float ), ( 'playerMotionY', Float ), ( 'playerMotionZ', Float ) ]
|
||||||
|
}
|
65
aiocraft/mc/proto/play/clientbound/packet_face_player.py
Normal file
65
aiocraft/mc/proto/play/clientbound/packet_face_player.py
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketFacePlayer(Packet):
|
||||||
|
__slots__ = ( 'id', 'feet_eyes', 'x', 'entityId', 'y', 'z', 'isEntity', 'entity_feet_eyes' )
|
||||||
|
|
||||||
|
feet_eyes : int
|
||||||
|
x : float
|
||||||
|
entityId : bytes
|
||||||
|
y : float
|
||||||
|
z : float
|
||||||
|
isEntity : bool
|
||||||
|
entity_feet_eyes : bytes
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
393 : 49,
|
||||||
|
401 : 49,
|
||||||
|
402 : 49,
|
||||||
|
403 : 49,
|
||||||
|
404 : 49,
|
||||||
|
477 : 52,
|
||||||
|
480 : 52,
|
||||||
|
490 : 52,
|
||||||
|
498 : 52,
|
||||||
|
573 : 53,
|
||||||
|
575 : 53,
|
||||||
|
578 : 53,
|
||||||
|
709 : 53,
|
||||||
|
734 : 52,
|
||||||
|
735 : 52,
|
||||||
|
736 : 52,
|
||||||
|
751 : 51,
|
||||||
|
755 : 55,
|
||||||
|
756 : 55,
|
||||||
|
757 : 55,
|
||||||
|
1073741839 : 52
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
393 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
401 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
402 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
403 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
404 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
477 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
480 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
490 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
498 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
573 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
575 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
578 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
709 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
734 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
735 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
736 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
751 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
755 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
756 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
757 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ],
|
||||||
|
1073741839 : [ ( 'feet_eyes', VarInt ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'isEntity', Boolean ), ( 'entityId', SwitchType('isEntity', { 'true' : VarInt }, None, ) ), ( 'entity_feet_eyes', SwitchType('isEntity', { 'true' : String }, None, ) ) ]
|
||||||
|
}
|
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketGameStateChange(Packet):
|
||||||
|
__slots__ = ( 'id', 'reason', 'gameMode' )
|
||||||
|
|
||||||
|
reason : int
|
||||||
|
gameMode : float
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 43,
|
||||||
|
47 : 43,
|
||||||
|
76 : 30,
|
||||||
|
107 : 30,
|
||||||
|
108 : 30,
|
||||||
|
109 : 30,
|
||||||
|
110 : 30,
|
||||||
|
201 : 30,
|
||||||
|
210 : 30,
|
||||||
|
304 : 30,
|
||||||
|
315 : 30,
|
||||||
|
321 : 31,
|
||||||
|
327 : 31,
|
||||||
|
331 : 31,
|
||||||
|
335 : 30,
|
||||||
|
338 : 30,
|
||||||
|
340 : 30,
|
||||||
|
351 : 31,
|
||||||
|
393 : 32,
|
||||||
|
401 : 32,
|
||||||
|
402 : 32,
|
||||||
|
403 : 32,
|
||||||
|
404 : 32,
|
||||||
|
477 : 30,
|
||||||
|
480 : 30,
|
||||||
|
490 : 30,
|
||||||
|
498 : 30,
|
||||||
|
573 : 31,
|
||||||
|
575 : 31,
|
||||||
|
578 : 31,
|
||||||
|
709 : 31,
|
||||||
|
734 : 30,
|
||||||
|
735 : 30,
|
||||||
|
736 : 30,
|
||||||
|
751 : 29,
|
||||||
|
755 : 30,
|
||||||
|
756 : 30,
|
||||||
|
757 : 30,
|
||||||
|
1073741839 : 30
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
47 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
76 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
107 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
108 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
109 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
110 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
201 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
210 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
304 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
315 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
321 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
327 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
331 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
335 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
338 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
340 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
351 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
393 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
401 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
402 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
403 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
404 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
477 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
480 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
490 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
498 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
573 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
575 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
578 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
709 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
734 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
735 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
736 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
751 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
755 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
756 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
757 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ],
|
||||||
|
1073741839 : [ ( 'reason', Byte ), ( 'gameMode', Float ) ]
|
||||||
|
}
|
95
aiocraft/mc/proto/play/clientbound/packet_held_item_slot.py
Normal file
95
aiocraft/mc/proto/play/clientbound/packet_held_item_slot.py
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketHeldItemSlot(Packet):
|
||||||
|
__slots__ = ( 'id', 'slot' )
|
||||||
|
|
||||||
|
slot : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 9,
|
||||||
|
47 : 9,
|
||||||
|
76 : 55,
|
||||||
|
107 : 55,
|
||||||
|
108 : 55,
|
||||||
|
109 : 55,
|
||||||
|
110 : 55,
|
||||||
|
201 : 55,
|
||||||
|
210 : 55,
|
||||||
|
304 : 55,
|
||||||
|
315 : 55,
|
||||||
|
321 : 57,
|
||||||
|
327 : 57,
|
||||||
|
331 : 57,
|
||||||
|
335 : 57,
|
||||||
|
338 : 58,
|
||||||
|
340 : 58,
|
||||||
|
351 : 59,
|
||||||
|
393 : 61,
|
||||||
|
401 : 61,
|
||||||
|
402 : 61,
|
||||||
|
403 : 61,
|
||||||
|
404 : 61,
|
||||||
|
477 : 63,
|
||||||
|
480 : 63,
|
||||||
|
490 : 63,
|
||||||
|
498 : 63,
|
||||||
|
573 : 64,
|
||||||
|
575 : 64,
|
||||||
|
578 : 64,
|
||||||
|
709 : 64,
|
||||||
|
734 : 63,
|
||||||
|
735 : 63,
|
||||||
|
736 : 63,
|
||||||
|
751 : 63,
|
||||||
|
755 : 72,
|
||||||
|
756 : 72,
|
||||||
|
757 : 72,
|
||||||
|
1073741839 : 64
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'slot', Byte ) ],
|
||||||
|
47 : [ ( 'slot', Byte ) ],
|
||||||
|
76 : [ ( 'slot', Byte ) ],
|
||||||
|
107 : [ ( 'slot', Byte ) ],
|
||||||
|
108 : [ ( 'slot', Byte ) ],
|
||||||
|
109 : [ ( 'slot', Byte ) ],
|
||||||
|
110 : [ ( 'slot', Byte ) ],
|
||||||
|
201 : [ ( 'slot', Byte ) ],
|
||||||
|
210 : [ ( 'slot', Byte ) ],
|
||||||
|
304 : [ ( 'slot', Byte ) ],
|
||||||
|
315 : [ ( 'slot', Byte ) ],
|
||||||
|
321 : [ ( 'slot', Byte ) ],
|
||||||
|
327 : [ ( 'slot', Byte ) ],
|
||||||
|
331 : [ ( 'slot', Byte ) ],
|
||||||
|
335 : [ ( 'slot', Byte ) ],
|
||||||
|
338 : [ ( 'slot', Byte ) ],
|
||||||
|
340 : [ ( 'slot', Byte ) ],
|
||||||
|
351 : [ ( 'slot', Byte ) ],
|
||||||
|
393 : [ ( 'slot', Byte ) ],
|
||||||
|
401 : [ ( 'slot', Byte ) ],
|
||||||
|
402 : [ ( 'slot', Byte ) ],
|
||||||
|
403 : [ ( 'slot', Byte ) ],
|
||||||
|
404 : [ ( 'slot', Byte ) ],
|
||||||
|
477 : [ ( 'slot', Byte ) ],
|
||||||
|
480 : [ ( 'slot', Byte ) ],
|
||||||
|
490 : [ ( 'slot', Byte ) ],
|
||||||
|
498 : [ ( 'slot', Byte ) ],
|
||||||
|
573 : [ ( 'slot', Byte ) ],
|
||||||
|
575 : [ ( 'slot', Byte ) ],
|
||||||
|
578 : [ ( 'slot', Byte ) ],
|
||||||
|
709 : [ ( 'slot', Byte ) ],
|
||||||
|
734 : [ ( 'slot', Byte ) ],
|
||||||
|
735 : [ ( 'slot', Byte ) ],
|
||||||
|
736 : [ ( 'slot', Byte ) ],
|
||||||
|
751 : [ ( 'slot', Byte ) ],
|
||||||
|
755 : [ ( 'slot', Byte ) ],
|
||||||
|
756 : [ ( 'slot', Byte ) ],
|
||||||
|
757 : [ ( 'slot', Byte ) ],
|
||||||
|
1073741839 : [ ( 'slot', Byte ) ]
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketInitializeWorldBorder(Packet):
|
||||||
|
__slots__ = ( 'id', 'newDiameter', 'speed', 'x', 'portalTeleportBoundary', 'warningBlocks', 'warningTime', 'oldDiameter', 'z' )
|
||||||
|
|
||||||
|
newDiameter : float
|
||||||
|
speed : int
|
||||||
|
x : float
|
||||||
|
portalTeleportBoundary : int
|
||||||
|
warningBlocks : int
|
||||||
|
warningTime : int
|
||||||
|
oldDiameter : float
|
||||||
|
z : float
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 32,
|
||||||
|
756 : 32,
|
||||||
|
757 : 32
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarInt ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||||
|
756 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarInt ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ],
|
||||||
|
757 : [ ( 'x', Double ), ( 'z', Double ), ( 'oldDiameter', Double ), ( 'newDiameter', Double ), ( 'speed', VarInt ), ( 'portalTeleportBoundary', VarInt ), ( 'warningBlocks', VarInt ), ( 'warningTime', VarInt ) ]
|
||||||
|
}
|
95
aiocraft/mc/proto/play/clientbound/packet_keep_alive.py
Normal file
95
aiocraft/mc/proto/play/clientbound/packet_keep_alive.py
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketKeepAlive(Packet):
|
||||||
|
__slots__ = ( 'id', 'keepAliveId' )
|
||||||
|
|
||||||
|
keepAliveId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 0,
|
||||||
|
47 : 0,
|
||||||
|
76 : 31,
|
||||||
|
107 : 31,
|
||||||
|
108 : 31,
|
||||||
|
109 : 31,
|
||||||
|
110 : 31,
|
||||||
|
201 : 31,
|
||||||
|
210 : 31,
|
||||||
|
304 : 31,
|
||||||
|
315 : 31,
|
||||||
|
321 : 32,
|
||||||
|
327 : 32,
|
||||||
|
331 : 32,
|
||||||
|
335 : 31,
|
||||||
|
338 : 31,
|
||||||
|
340 : 31,
|
||||||
|
351 : 32,
|
||||||
|
393 : 33,
|
||||||
|
401 : 33,
|
||||||
|
402 : 33,
|
||||||
|
403 : 33,
|
||||||
|
404 : 33,
|
||||||
|
477 : 32,
|
||||||
|
480 : 32,
|
||||||
|
490 : 32,
|
||||||
|
498 : 32,
|
||||||
|
573 : 33,
|
||||||
|
575 : 33,
|
||||||
|
578 : 33,
|
||||||
|
709 : 33,
|
||||||
|
734 : 32,
|
||||||
|
735 : 32,
|
||||||
|
736 : 32,
|
||||||
|
751 : 31,
|
||||||
|
755 : 33,
|
||||||
|
756 : 33,
|
||||||
|
757 : 33,
|
||||||
|
1073741839 : 32
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'keepAliveId', Int ) ],
|
||||||
|
47 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
76 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
107 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
108 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
109 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
110 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
201 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
210 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
304 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
315 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
321 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
327 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
331 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
335 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
338 : [ ( 'keepAliveId', VarInt ) ],
|
||||||
|
340 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
351 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
393 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
401 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
402 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
403 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
404 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
477 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
480 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
490 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
498 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
573 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
575 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
578 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
709 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
734 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
735 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
736 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
751 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
755 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
756 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
757 : [ ( 'keepAliveId', Long ) ],
|
||||||
|
1073741839 : [ ( 'keepAliveId', Long ) ]
|
||||||
|
}
|
95
aiocraft/mc/proto/play/clientbound/packet_kick_disconnect.py
Normal file
95
aiocraft/mc/proto/play/clientbound/packet_kick_disconnect.py
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketKickDisconnect(Packet):
|
||||||
|
__slots__ = ( 'id', 'reason' )
|
||||||
|
|
||||||
|
reason : str
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 64,
|
||||||
|
47 : 64,
|
||||||
|
76 : 25,
|
||||||
|
107 : 26,
|
||||||
|
108 : 26,
|
||||||
|
109 : 26,
|
||||||
|
110 : 26,
|
||||||
|
201 : 26,
|
||||||
|
210 : 26,
|
||||||
|
304 : 26,
|
||||||
|
315 : 26,
|
||||||
|
321 : 27,
|
||||||
|
327 : 27,
|
||||||
|
331 : 27,
|
||||||
|
335 : 26,
|
||||||
|
338 : 26,
|
||||||
|
340 : 26,
|
||||||
|
351 : 27,
|
||||||
|
393 : 27,
|
||||||
|
401 : 27,
|
||||||
|
402 : 27,
|
||||||
|
403 : 27,
|
||||||
|
404 : 27,
|
||||||
|
477 : 26,
|
||||||
|
480 : 26,
|
||||||
|
490 : 26,
|
||||||
|
498 : 26,
|
||||||
|
573 : 27,
|
||||||
|
575 : 27,
|
||||||
|
578 : 27,
|
||||||
|
709 : 27,
|
||||||
|
734 : 26,
|
||||||
|
735 : 26,
|
||||||
|
736 : 26,
|
||||||
|
751 : 25,
|
||||||
|
755 : 26,
|
||||||
|
756 : 26,
|
||||||
|
757 : 26,
|
||||||
|
1073741839 : 26
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'reason', String ) ],
|
||||||
|
47 : [ ( 'reason', String ) ],
|
||||||
|
76 : [ ( 'reason', String ) ],
|
||||||
|
107 : [ ( 'reason', String ) ],
|
||||||
|
108 : [ ( 'reason', String ) ],
|
||||||
|
109 : [ ( 'reason', String ) ],
|
||||||
|
110 : [ ( 'reason', String ) ],
|
||||||
|
201 : [ ( 'reason', String ) ],
|
||||||
|
210 : [ ( 'reason', String ) ],
|
||||||
|
304 : [ ( 'reason', String ) ],
|
||||||
|
315 : [ ( 'reason', String ) ],
|
||||||
|
321 : [ ( 'reason', String ) ],
|
||||||
|
327 : [ ( 'reason', String ) ],
|
||||||
|
331 : [ ( 'reason', String ) ],
|
||||||
|
335 : [ ( 'reason', String ) ],
|
||||||
|
338 : [ ( 'reason', String ) ],
|
||||||
|
340 : [ ( 'reason', String ) ],
|
||||||
|
351 : [ ( 'reason', String ) ],
|
||||||
|
393 : [ ( 'reason', String ) ],
|
||||||
|
401 : [ ( 'reason', String ) ],
|
||||||
|
402 : [ ( 'reason', String ) ],
|
||||||
|
403 : [ ( 'reason', String ) ],
|
||||||
|
404 : [ ( 'reason', String ) ],
|
||||||
|
477 : [ ( 'reason', String ) ],
|
||||||
|
480 : [ ( 'reason', String ) ],
|
||||||
|
490 : [ ( 'reason', String ) ],
|
||||||
|
498 : [ ( 'reason', String ) ],
|
||||||
|
573 : [ ( 'reason', String ) ],
|
||||||
|
575 : [ ( 'reason', String ) ],
|
||||||
|
578 : [ ( 'reason', String ) ],
|
||||||
|
709 : [ ( 'reason', String ) ],
|
||||||
|
734 : [ ( 'reason', String ) ],
|
||||||
|
735 : [ ( 'reason', String ) ],
|
||||||
|
736 : [ ( 'reason', String ) ],
|
||||||
|
751 : [ ( 'reason', String ) ],
|
||||||
|
755 : [ ( 'reason', String ) ],
|
||||||
|
756 : [ ( 'reason', String ) ],
|
||||||
|
757 : [ ( 'reason', String ) ],
|
||||||
|
1073741839 : [ ( 'reason', String ) ]
|
||||||
|
}
|
112
aiocraft/mc/proto/play/clientbound/packet_login.py
Normal file
112
aiocraft/mc/proto/play/clientbound/packet_login.py
Normal file
|
@ -0,0 +1,112 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketLogin(Packet):
|
||||||
|
__slots__ = ( 'id', 'maxPlayers', 'viewDistance', 'previousGameMode', 'reducedDebugInfo', 'simulationDistance', 'worldName', 'hashedSeed', 'gameMode', 'isDebug', 'isHardcore', 'dimension', 'enableRespawnScreen', 'entityId', 'levelType', 'dimensionCodec', 'isFlat', 'worldNames', 'difficulty' )
|
||||||
|
|
||||||
|
maxPlayers : int
|
||||||
|
viewDistance : int
|
||||||
|
previousGameMode : int
|
||||||
|
reducedDebugInfo : bool
|
||||||
|
simulationDistance : int
|
||||||
|
worldName : str
|
||||||
|
hashedSeed : int
|
||||||
|
gameMode : int
|
||||||
|
isDebug : bool
|
||||||
|
isHardcore : bool
|
||||||
|
dimension : Union[bytes,str,int]
|
||||||
|
enableRespawnScreen : bool
|
||||||
|
entityId : int
|
||||||
|
levelType : str
|
||||||
|
dimensionCodec : bytes
|
||||||
|
isFlat : bool
|
||||||
|
worldNames : list
|
||||||
|
difficulty : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 1,
|
||||||
|
47 : 1,
|
||||||
|
76 : 36,
|
||||||
|
107 : 35,
|
||||||
|
108 : 35,
|
||||||
|
109 : 35,
|
||||||
|
110 : 35,
|
||||||
|
201 : 35,
|
||||||
|
210 : 35,
|
||||||
|
304 : 35,
|
||||||
|
315 : 35,
|
||||||
|
321 : 36,
|
||||||
|
327 : 36,
|
||||||
|
331 : 36,
|
||||||
|
335 : 35,
|
||||||
|
338 : 35,
|
||||||
|
340 : 35,
|
||||||
|
351 : 36,
|
||||||
|
393 : 37,
|
||||||
|
401 : 37,
|
||||||
|
402 : 37,
|
||||||
|
403 : 37,
|
||||||
|
404 : 37,
|
||||||
|
477 : 37,
|
||||||
|
480 : 37,
|
||||||
|
490 : 37,
|
||||||
|
498 : 37,
|
||||||
|
573 : 38,
|
||||||
|
575 : 38,
|
||||||
|
578 : 38,
|
||||||
|
709 : 38,
|
||||||
|
734 : 37,
|
||||||
|
735 : 37,
|
||||||
|
736 : 37,
|
||||||
|
751 : 36,
|
||||||
|
755 : 38,
|
||||||
|
756 : 38,
|
||||||
|
757 : 38,
|
||||||
|
1073741839 : 37
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Byte ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ) ],
|
||||||
|
47 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Byte ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
76 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Byte ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
107 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Byte ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
108 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
109 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
110 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
201 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
210 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
304 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
315 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
321 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
327 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
331 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
335 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
338 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
340 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
351 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
393 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
401 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
402 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
403 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
404 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
477 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
480 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
490 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
498 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ) ],
|
||||||
|
573 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'hashedSeed', Long ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ) ],
|
||||||
|
575 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'hashedSeed', Long ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ) ],
|
||||||
|
578 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'hashedSeed', Long ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ) ],
|
||||||
|
709 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'dimension', Int ), ( 'hashedSeed', Long ), ( 'maxPlayers', Byte ), ( 'levelType', String ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ) ],
|
||||||
|
734 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'previousGameMode', Byte ), ( 'worldNames', ArrayType(String, VarInt, ) ), ( 'dimensionCodec', NBTTag ), ( 'dimension', String ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'maxPlayers', Byte ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ) ],
|
||||||
|
735 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'previousGameMode', Byte ), ( 'worldNames', ArrayType(String, VarInt, ) ), ( 'dimensionCodec', NBTTag ), ( 'dimension', String ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'maxPlayers', Byte ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ) ],
|
||||||
|
736 : [ ( 'entityId', Int ), ( 'gameMode', Byte ), ( 'previousGameMode', Byte ), ( 'worldNames', ArrayType(String, VarInt, ) ), ( 'dimensionCodec', NBTTag ), ( 'dimension', String ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'maxPlayers', Byte ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ) ],
|
||||||
|
751 : [ ( 'entityId', Int ), ( 'isHardcore', Boolean ), ( 'gameMode', Byte ), ( 'previousGameMode', Byte ), ( 'worldNames', ArrayType(String, VarInt, ) ), ( 'dimensionCodec', NBTTag ), ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'maxPlayers', VarInt ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ) ],
|
||||||
|
755 : [ ( 'entityId', Int ), ( 'isHardcore', Boolean ), ( 'gameMode', Byte ), ( 'previousGameMode', Byte ), ( 'worldNames', ArrayType(String, VarInt, ) ), ( 'dimensionCodec', NBTTag ), ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'maxPlayers', VarInt ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ) ],
|
||||||
|
756 : [ ( 'entityId', Int ), ( 'isHardcore', Boolean ), ( 'gameMode', Byte ), ( 'previousGameMode', Byte ), ( 'worldNames', ArrayType(String, VarInt, ) ), ( 'dimensionCodec', NBTTag ), ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'maxPlayers', VarInt ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ) ],
|
||||||
|
757 : [ ( 'entityId', Int ), ( 'isHardcore', Boolean ), ( 'gameMode', Byte ), ( 'previousGameMode', Byte ), ( 'worldNames', ArrayType(String, VarInt, ) ), ( 'dimensionCodec', NBTTag ), ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'maxPlayers', VarInt ), ( 'viewDistance', VarInt ), ( 'simulationDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ) ],
|
||||||
|
1073741839 : [ ( 'entityId', Int ), ( 'isHardcore', Boolean ), ( 'gameMode', Byte ), ( 'previousGameMode', Byte ), ( 'worldNames', ArrayType(String, VarInt, ) ), ( 'dimensionCodec', NBTTag ), ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'maxPlayers', VarInt ), ( 'viewDistance', VarInt ), ( 'reducedDebugInfo', Boolean ), ( 'enableRespawnScreen', Boolean ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ) ]
|
||||||
|
}
|
104
aiocraft/mc/proto/play/clientbound/packet_map.py
Normal file
104
aiocraft/mc/proto/play/clientbound/packet_map.py
Normal file
|
@ -0,0 +1,104 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketMap(Packet):
|
||||||
|
__slots__ = ( 'id', 'itemDamage', 'locked', 'scale', 'data', 'icons', 'x', 'trackingPosition', 'rows', 'y', 'columns' )
|
||||||
|
|
||||||
|
itemDamage : int
|
||||||
|
locked : bool
|
||||||
|
scale : int
|
||||||
|
data : bytes
|
||||||
|
icons : Union[tuple,list]
|
||||||
|
x : bytes
|
||||||
|
trackingPosition : bool
|
||||||
|
rows : bytes
|
||||||
|
y : bytes
|
||||||
|
columns : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 52,
|
||||||
|
47 : 52,
|
||||||
|
76 : 37,
|
||||||
|
107 : 36,
|
||||||
|
108 : 36,
|
||||||
|
109 : 36,
|
||||||
|
110 : 36,
|
||||||
|
201 : 36,
|
||||||
|
210 : 36,
|
||||||
|
304 : 36,
|
||||||
|
315 : 36,
|
||||||
|
321 : 37,
|
||||||
|
327 : 37,
|
||||||
|
331 : 37,
|
||||||
|
335 : 36,
|
||||||
|
338 : 36,
|
||||||
|
340 : 36,
|
||||||
|
351 : 37,
|
||||||
|
393 : 38,
|
||||||
|
401 : 38,
|
||||||
|
402 : 38,
|
||||||
|
403 : 38,
|
||||||
|
404 : 38,
|
||||||
|
477 : 38,
|
||||||
|
480 : 38,
|
||||||
|
490 : 38,
|
||||||
|
498 : 38,
|
||||||
|
573 : 39,
|
||||||
|
575 : 39,
|
||||||
|
578 : 39,
|
||||||
|
709 : 39,
|
||||||
|
734 : 38,
|
||||||
|
735 : 38,
|
||||||
|
736 : 38,
|
||||||
|
751 : 37,
|
||||||
|
755 : 39,
|
||||||
|
756 : 39,
|
||||||
|
757 : 39,
|
||||||
|
1073741839 : 38
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'itemDamage', VarInt ), ( 'data', ByteArray ) ],
|
||||||
|
47 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
76 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
107 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
108 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
109 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
110 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
201 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
210 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
304 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
315 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
321 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
327 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
331 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
335 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
338 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
340 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
351 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'directionAndType', Byte ), ( 'x', Byte ), ( 'z', Byte ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
393 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
401 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
402 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
403 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
404 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
477 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
480 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
490 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
498 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
573 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
575 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
578 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
709 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
734 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
735 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
736 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
751 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
755 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'locked', Boolean ), ( 'icons', OptionalType(ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ), ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
756 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'locked', Boolean ), ( 'icons', OptionalType(ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ), ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
757 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'locked', Boolean ), ( 'icons', OptionalType(ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ), ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ],
|
||||||
|
1073741839 : [ ( 'itemDamage', VarInt ), ( 'scale', Byte ), ( 'trackingPosition', Boolean ), ( 'locked', Boolean ), ( 'icons', ArrayType(StructType(( 'type', VarInt ), ( 'x', Byte ), ( 'z', Byte ), ( 'direction', Byte ), ( 'displayName', OptionalType(String, ) ), ), VarInt, ) ), ( 'columns', Byte ), ( 'rows', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'x', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'y', SwitchType('columns', { 0 : Void }, Byte, ) ), ( 'data', SwitchType('columns', { 0 : Void }, ByteArray, ) ) ]
|
||||||
|
}
|
113
aiocraft/mc/proto/play/clientbound/packet_map_chunk.py
Normal file
113
aiocraft/mc/proto/play/clientbound/packet_map_chunk.py
Normal file
|
@ -0,0 +1,113 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketMapChunk(Packet):
|
||||||
|
__slots__ = ( 'id', 'blockLight', 'skyLight', 'compressedChunkData', 'emptySkyLightMask', 'biomes', 'primaryBitMask', 'x', 'ignoreOldData', 'groundUp', 'trustEdges', 'z', 'heightmaps', 'blockLightMask', 'chunkData', 'addBitMap', 'emptyBlockLightMask', 'blockEntities', 'skyLightMask', 'bitMap' )
|
||||||
|
|
||||||
|
blockLight : list
|
||||||
|
skyLight : list
|
||||||
|
compressedChunkData : bytes
|
||||||
|
emptySkyLightMask : list
|
||||||
|
biomes : Union[bytes,list]
|
||||||
|
primaryBitMask : list
|
||||||
|
x : int
|
||||||
|
ignoreOldData : bool
|
||||||
|
groundUp : bool
|
||||||
|
trustEdges : bool
|
||||||
|
z : int
|
||||||
|
heightmaps : bytes
|
||||||
|
blockLightMask : list
|
||||||
|
chunkData : bytes
|
||||||
|
addBitMap : int
|
||||||
|
emptyBlockLightMask : list
|
||||||
|
blockEntities : list
|
||||||
|
skyLightMask : list
|
||||||
|
bitMap : Union[int,list]
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 33,
|
||||||
|
47 : 33,
|
||||||
|
76 : 32,
|
||||||
|
107 : 32,
|
||||||
|
108 : 32,
|
||||||
|
109 : 32,
|
||||||
|
110 : 32,
|
||||||
|
201 : 32,
|
||||||
|
210 : 32,
|
||||||
|
304 : 32,
|
||||||
|
315 : 32,
|
||||||
|
321 : 33,
|
||||||
|
327 : 33,
|
||||||
|
331 : 33,
|
||||||
|
335 : 32,
|
||||||
|
338 : 32,
|
||||||
|
340 : 32,
|
||||||
|
351 : 33,
|
||||||
|
393 : 34,
|
||||||
|
401 : 34,
|
||||||
|
402 : 34,
|
||||||
|
403 : 34,
|
||||||
|
404 : 34,
|
||||||
|
477 : 33,
|
||||||
|
480 : 33,
|
||||||
|
490 : 33,
|
||||||
|
498 : 33,
|
||||||
|
573 : 34,
|
||||||
|
575 : 34,
|
||||||
|
578 : 34,
|
||||||
|
709 : 34,
|
||||||
|
734 : 33,
|
||||||
|
735 : 33,
|
||||||
|
736 : 33,
|
||||||
|
751 : 32,
|
||||||
|
755 : 34,
|
||||||
|
756 : 34,
|
||||||
|
757 : 34,
|
||||||
|
1073741839 : 33
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', UnsignedShort ), ( 'addBitMap', UnsignedShort ), ( 'compressedChunkData', ByteArray ) ],
|
||||||
|
47 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', UnsignedShort ), ( 'chunkData', ByteArray ) ],
|
||||||
|
76 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ) ],
|
||||||
|
107 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ) ],
|
||||||
|
108 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ) ],
|
||||||
|
109 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ) ],
|
||||||
|
110 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
201 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
210 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
304 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
315 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
321 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
327 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
331 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
335 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
338 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
340 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
351 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
393 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
401 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
402 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
403 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
404 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
477 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
480 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
490 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
498 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
573 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'biomes', SwitchType('groundUp', { 'false' : Void, 'true' : ArrayType(Int, 1024, ) }, None, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
575 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'biomes', SwitchType('groundUp', { 'false' : Void, 'true' : ArrayType(Int, 1024, ) }, None, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
578 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'biomes', SwitchType('groundUp', { 'false' : Void, 'true' : ArrayType(Int, 1024, ) }, None, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
709 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'biomes', SwitchType('groundUp', { 'false' : Void, 'true' : ArrayType(Int, 1024, ) }, None, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
734 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'ignoreOldData', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'biomes', SwitchType('groundUp', { 'false' : Void, 'true' : ArrayType(Int, 1024, ) }, None, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
735 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'ignoreOldData', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'biomes', SwitchType('groundUp', { 'false' : Void, 'true' : ArrayType(Int, 1024, ) }, None, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
736 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'ignoreOldData', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'biomes', SwitchType('groundUp', { 'false' : Void, 'true' : ArrayType(Int, 1024, ) }, None, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
751 : [ ( 'x', Int ), ( 'z', Int ), ( 'groundUp', Boolean ), ( 'bitMap', VarInt ), ( 'heightmaps', NBTTag ), ( 'biomes', SwitchType('groundUp', { 'false' : Void, 'true' : ArrayType(VarInt, VarInt, ) }, None, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
755 : [ ( 'x', Int ), ( 'z', Int ), ( 'bitMap', ArrayType(Long, VarInt, ) ), ( 'heightmaps', NBTTag ), ( 'biomes', ArrayType(VarInt, VarInt, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
756 : [ ( 'x', Int ), ( 'z', Int ), ( 'bitMap', ArrayType(Long, VarInt, ) ), ( 'heightmaps', NBTTag ), ( 'biomes', ArrayType(VarInt, VarInt, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ],
|
||||||
|
757 : [ ( 'x', Int ), ( 'z', Int ), ( 'heightmaps', NBTTag ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(TrailingData, VarInt, ) ), ( 'trustEdges', Boolean ), ( 'skyLightMask', ArrayType(Long, VarInt, ) ), ( 'blockLightMask', ArrayType(Long, VarInt, ) ), ( 'emptySkyLightMask', ArrayType(Long, VarInt, ) ), ( 'emptyBlockLightMask', ArrayType(Long, VarInt, ) ), ( 'skyLight', ArrayType(ArrayType(Byte, VarInt, ), VarInt, ) ), ( 'blockLight', ArrayType(ArrayType(Byte, VarInt, ), VarInt, ) ) ],
|
||||||
|
1073741839 : [ ( 'x', Int ), ( 'z', Int ), ( 'primaryBitMask', ArrayType(Long, VarInt, ) ), ( 'heightmaps', NBTTag ), ( 'biomes', ArrayType(VarInt, VarInt, ) ), ( 'chunkData', ByteArray ), ( 'blockEntities', ArrayType(NBTTag, VarInt, ) ) ]
|
||||||
|
}
|
26
aiocraft/mc/proto/play/clientbound/packet_map_chunk_bulk.py
Normal file
26
aiocraft/mc/proto/play/clientbound/packet_map_chunk_bulk.py
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketMapChunkBulk(Packet):
|
||||||
|
__slots__ = ( 'id', 'chunkColumnCount', 'data', 'meta', 'compressedChunkData', 'skyLightSent', 'dataLength' )
|
||||||
|
|
||||||
|
chunkColumnCount : bytes
|
||||||
|
data : bytes
|
||||||
|
meta : list
|
||||||
|
compressedChunkData : bytes
|
||||||
|
skyLightSent : bool
|
||||||
|
dataLength : bytes
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 38,
|
||||||
|
47 : 38
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'chunkColumnCount', TrailingData ), ( 'dataLength', TrailingData ), ( 'skyLightSent', Boolean ), ( 'compressedChunkData', ByteArray ), ( 'meta', ArrayType(StructType(( 'x', Int ), ( 'z', Int ), ( 'bitMap', UnsignedShort ), ( 'addBitMap', UnsignedShort ), ), 'chunkColumnCount', ) ) ],
|
||||||
|
47 : [ ( 'skyLightSent', Boolean ), ( 'meta', ArrayType(StructType(( 'x', Int ), ( 'z', Int ), ( 'bitMap', UnsignedShort ), ), VarInt, ) ), ( 'data', TrailingData ) ]
|
||||||
|
}
|
101
aiocraft/mc/proto/play/clientbound/packet_multi_block_change.py
Normal file
101
aiocraft/mc/proto/play/clientbound/packet_multi_block_change.py
Normal file
|
@ -0,0 +1,101 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketMultiBlockChange(Packet):
|
||||||
|
__slots__ = ( 'id', 'chunkX', 'notTrustEdges', 'recordCount', 'chunkCoordinates', 'chunkZ', 'dataLength', 'records' )
|
||||||
|
|
||||||
|
chunkX : int
|
||||||
|
notTrustEdges : bool
|
||||||
|
recordCount : bytes
|
||||||
|
chunkCoordinates : bytes
|
||||||
|
chunkZ : int
|
||||||
|
dataLength : int
|
||||||
|
records : list
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 34,
|
||||||
|
47 : 34,
|
||||||
|
76 : 16,
|
||||||
|
107 : 16,
|
||||||
|
108 : 16,
|
||||||
|
109 : 16,
|
||||||
|
110 : 16,
|
||||||
|
201 : 16,
|
||||||
|
210 : 16,
|
||||||
|
304 : 16,
|
||||||
|
315 : 16,
|
||||||
|
321 : 17,
|
||||||
|
327 : 17,
|
||||||
|
331 : 17,
|
||||||
|
335 : 16,
|
||||||
|
338 : 16,
|
||||||
|
340 : 16,
|
||||||
|
351 : 15,
|
||||||
|
393 : 15,
|
||||||
|
401 : 15,
|
||||||
|
402 : 15,
|
||||||
|
403 : 15,
|
||||||
|
404 : 15,
|
||||||
|
477 : 15,
|
||||||
|
480 : 15,
|
||||||
|
490 : 15,
|
||||||
|
498 : 15,
|
||||||
|
573 : 16,
|
||||||
|
575 : 16,
|
||||||
|
578 : 16,
|
||||||
|
709 : 16,
|
||||||
|
734 : 15,
|
||||||
|
735 : 15,
|
||||||
|
736 : 15,
|
||||||
|
751 : 59,
|
||||||
|
755 : 63,
|
||||||
|
756 : 63,
|
||||||
|
757 : 63,
|
||||||
|
1073741839 : 60
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'recordCount', TrailingData ), ( 'dataLength', Int ), ( 'records', ArrayType(StructType(( 'y', Byte ), ), 'recordCount', ) ) ],
|
||||||
|
47 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
76 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
107 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
108 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
109 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
110 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
201 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
210 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
304 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
315 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
321 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
327 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
331 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
335 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
338 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
340 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
351 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
393 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
401 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
402 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
403 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
404 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
477 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
480 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
490 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
498 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
573 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
575 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
578 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
709 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
734 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
735 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
736 : [ ( 'chunkX', Int ), ( 'chunkZ', Int ), ( 'records', ArrayType(StructType(( 'horizontalPos', Byte ), ( 'y', Byte ), ( 'blockId', VarInt ), ), VarInt, ) ) ],
|
||||||
|
751 : [ ( 'chunkCoordinates', Int ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
755 : [ ( 'chunkCoordinates', Int ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
756 : [ ( 'chunkCoordinates', Int ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
757 : [ ( 'chunkCoordinates', Int ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
1073741839 : [ ( 'chunkCoordinates', Int ), ( 'notTrustEdges', Boolean ), ( 'records', ArrayType(VarInt, VarInt, ) ) ]
|
||||||
|
}
|
105
aiocraft/mc/proto/play/clientbound/packet_named_entity_spawn.py
Normal file
105
aiocraft/mc/proto/play/clientbound/packet_named_entity_spawn.py
Normal file
|
@ -0,0 +1,105 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketNamedEntitySpawn(Packet):
|
||||||
|
__slots__ = ( 'id', 'metadata', 'currentItem', 'playerUUID', 'data', 'x', 'yaw', 'entityId', 'y', 'z', 'playerName', 'pitch' )
|
||||||
|
|
||||||
|
metadata : bytes
|
||||||
|
currentItem : int
|
||||||
|
playerUUID : str
|
||||||
|
data : list
|
||||||
|
x : Union[float,int]
|
||||||
|
yaw : int
|
||||||
|
entityId : int
|
||||||
|
y : Union[float,int]
|
||||||
|
z : Union[float,int]
|
||||||
|
playerName : str
|
||||||
|
pitch : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 12,
|
||||||
|
47 : 12,
|
||||||
|
76 : 5,
|
||||||
|
107 : 5,
|
||||||
|
108 : 5,
|
||||||
|
109 : 5,
|
||||||
|
110 : 5,
|
||||||
|
201 : 5,
|
||||||
|
210 : 5,
|
||||||
|
304 : 5,
|
||||||
|
315 : 5,
|
||||||
|
321 : 5,
|
||||||
|
327 : 5,
|
||||||
|
331 : 5,
|
||||||
|
335 : 5,
|
||||||
|
338 : 5,
|
||||||
|
340 : 5,
|
||||||
|
351 : 5,
|
||||||
|
393 : 5,
|
||||||
|
401 : 5,
|
||||||
|
402 : 5,
|
||||||
|
403 : 5,
|
||||||
|
404 : 5,
|
||||||
|
477 : 5,
|
||||||
|
480 : 5,
|
||||||
|
490 : 5,
|
||||||
|
498 : 5,
|
||||||
|
573 : 5,
|
||||||
|
575 : 5,
|
||||||
|
578 : 5,
|
||||||
|
709 : 5,
|
||||||
|
734 : 4,
|
||||||
|
735 : 4,
|
||||||
|
736 : 4,
|
||||||
|
751 : 4,
|
||||||
|
755 : 4,
|
||||||
|
756 : 4,
|
||||||
|
757 : 4,
|
||||||
|
1073741839 : 4
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', VarInt ), ( 'playerUUID', String ), ( 'playerName', String ), ( 'data', ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', String ), ), VarInt, ) ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'currentItem', Short ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'currentItem', Short ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ), ( 'metadata', EntityMetadata ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'playerUUID', UUID ), ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Byte ), ( 'pitch', Byte ) ]
|
||||||
|
}
|
101
aiocraft/mc/proto/play/clientbound/packet_named_sound_effect.py
Normal file
101
aiocraft/mc/proto/play/clientbound/packet_named_sound_effect.py
Normal file
|
@ -0,0 +1,101 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketNamedSoundEffect(Packet):
|
||||||
|
__slots__ = ( 'id', 'soundName', 'x', 'volume', 'y', 'z', 'pitch', 'soundCategory' )
|
||||||
|
|
||||||
|
soundName : str
|
||||||
|
x : int
|
||||||
|
volume : float
|
||||||
|
y : int
|
||||||
|
z : int
|
||||||
|
pitch : Union[float,int]
|
||||||
|
soundCategory : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 41,
|
||||||
|
47 : 41,
|
||||||
|
76 : 35,
|
||||||
|
107 : 25,
|
||||||
|
108 : 25,
|
||||||
|
109 : 25,
|
||||||
|
110 : 25,
|
||||||
|
201 : 25,
|
||||||
|
210 : 25,
|
||||||
|
304 : 25,
|
||||||
|
315 : 25,
|
||||||
|
321 : 26,
|
||||||
|
327 : 26,
|
||||||
|
331 : 26,
|
||||||
|
335 : 25,
|
||||||
|
338 : 25,
|
||||||
|
340 : 25,
|
||||||
|
351 : 26,
|
||||||
|
393 : 26,
|
||||||
|
401 : 26,
|
||||||
|
402 : 26,
|
||||||
|
403 : 26,
|
||||||
|
404 : 26,
|
||||||
|
477 : 25,
|
||||||
|
480 : 25,
|
||||||
|
490 : 25,
|
||||||
|
498 : 25,
|
||||||
|
573 : 26,
|
||||||
|
575 : 26,
|
||||||
|
578 : 26,
|
||||||
|
709 : 26,
|
||||||
|
734 : 25,
|
||||||
|
735 : 25,
|
||||||
|
736 : 25,
|
||||||
|
751 : 24,
|
||||||
|
755 : 25,
|
||||||
|
756 : 25,
|
||||||
|
757 : 25,
|
||||||
|
1073741839 : 25
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'soundName', String ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Byte ) ],
|
||||||
|
47 : [ ( 'soundName', String ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Byte ) ],
|
||||||
|
76 : [ ( 'soundName', String ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Byte ) ],
|
||||||
|
107 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Byte ) ],
|
||||||
|
108 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Byte ) ],
|
||||||
|
109 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Byte ) ],
|
||||||
|
110 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Byte ) ],
|
||||||
|
201 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
210 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
304 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
315 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
321 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
327 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
331 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
335 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
338 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
340 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
351 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
393 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
401 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
402 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
403 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
404 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
477 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
480 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
490 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
498 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
573 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
575 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
578 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
709 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
734 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
735 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
736 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
751 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
755 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
756 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
757 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ],
|
||||||
|
1073741839 : [ ( 'soundName', String ), ( 'soundCategory', VarInt ), ( 'x', Int ), ( 'y', Int ), ( 'z', Int ), ( 'volume', Float ), ( 'pitch', Float ) ]
|
||||||
|
}
|
|
@ -0,0 +1,60 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketNbtQueryResponse(Packet):
|
||||||
|
__slots__ = ( 'id', 'transactionId', 'nbt' )
|
||||||
|
|
||||||
|
transactionId : int
|
||||||
|
nbt : bytes
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
393 : 29,
|
||||||
|
401 : 29,
|
||||||
|
402 : 29,
|
||||||
|
403 : 29,
|
||||||
|
404 : 29,
|
||||||
|
477 : 84,
|
||||||
|
480 : 84,
|
||||||
|
490 : 84,
|
||||||
|
498 : 84,
|
||||||
|
573 : 85,
|
||||||
|
575 : 85,
|
||||||
|
578 : 85,
|
||||||
|
709 : 85,
|
||||||
|
734 : 84,
|
||||||
|
735 : 84,
|
||||||
|
736 : 84,
|
||||||
|
751 : 84,
|
||||||
|
755 : 95,
|
||||||
|
756 : 95,
|
||||||
|
757 : 96,
|
||||||
|
1073741839 : 85
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
393 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
401 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
402 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
403 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
404 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
477 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
480 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
490 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
498 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
573 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
575 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
578 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
709 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
734 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
735 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
736 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
751 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
755 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
756 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
757 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ],
|
||||||
|
1073741839 : [ ( 'transactionId', VarInt ), ( 'nbt', TrailingData ) ]
|
||||||
|
}
|
49
aiocraft/mc/proto/play/clientbound/packet_open_book.py
Normal file
49
aiocraft/mc/proto/play/clientbound/packet_open_book.py
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketOpenBook(Packet):
|
||||||
|
__slots__ = ( 'id', 'hand' )
|
||||||
|
|
||||||
|
hand : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
477 : 45,
|
||||||
|
480 : 45,
|
||||||
|
490 : 45,
|
||||||
|
498 : 45,
|
||||||
|
573 : 46,
|
||||||
|
575 : 46,
|
||||||
|
578 : 46,
|
||||||
|
709 : 46,
|
||||||
|
734 : 45,
|
||||||
|
735 : 45,
|
||||||
|
736 : 45,
|
||||||
|
751 : 44,
|
||||||
|
755 : 45,
|
||||||
|
756 : 45,
|
||||||
|
757 : 45,
|
||||||
|
1073741839 : 45
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
477 : [ ( 'hand', VarInt ) ],
|
||||||
|
480 : [ ( 'hand', VarInt ) ],
|
||||||
|
490 : [ ( 'hand', VarInt ) ],
|
||||||
|
498 : [ ( 'hand', VarInt ) ],
|
||||||
|
573 : [ ( 'hand', VarInt ) ],
|
||||||
|
575 : [ ( 'hand', VarInt ) ],
|
||||||
|
578 : [ ( 'hand', VarInt ) ],
|
||||||
|
709 : [ ( 'hand', VarInt ) ],
|
||||||
|
734 : [ ( 'hand', VarInt ) ],
|
||||||
|
735 : [ ( 'hand', VarInt ) ],
|
||||||
|
736 : [ ( 'hand', VarInt ) ],
|
||||||
|
751 : [ ( 'hand', VarInt ) ],
|
||||||
|
755 : [ ( 'hand', VarInt ) ],
|
||||||
|
756 : [ ( 'hand', VarInt ) ],
|
||||||
|
757 : [ ( 'hand', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'hand', VarInt ) ]
|
||||||
|
}
|
|
@ -0,0 +1,51 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketOpenHorseWindow(Packet):
|
||||||
|
__slots__ = ( 'id', 'entityId', 'windowId', 'nbSlots' )
|
||||||
|
|
||||||
|
entityId : int
|
||||||
|
windowId : int
|
||||||
|
nbSlots : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
477 : 31,
|
||||||
|
480 : 31,
|
||||||
|
490 : 31,
|
||||||
|
498 : 31,
|
||||||
|
573 : 32,
|
||||||
|
575 : 32,
|
||||||
|
578 : 32,
|
||||||
|
709 : 32,
|
||||||
|
734 : 31,
|
||||||
|
735 : 31,
|
||||||
|
736 : 31,
|
||||||
|
751 : 30,
|
||||||
|
755 : 31,
|
||||||
|
756 : 31,
|
||||||
|
757 : 31,
|
||||||
|
1073741839 : 31
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
477 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
480 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
490 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
498 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
573 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
575 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
578 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
709 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
734 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
735 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
736 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
751 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
755 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
756 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
757 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ],
|
||||||
|
1073741839 : [ ( 'windowId', Byte ), ( 'nbSlots', VarInt ), ( 'entityId', Int ) ]
|
||||||
|
}
|
|
@ -0,0 +1,95 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketOpenSignEntity(Packet):
|
||||||
|
__slots__ = ( 'id', 'location' )
|
||||||
|
|
||||||
|
location : Union[tuple,bytes]
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 54,
|
||||||
|
47 : 54,
|
||||||
|
76 : 42,
|
||||||
|
107 : 42,
|
||||||
|
108 : 42,
|
||||||
|
109 : 42,
|
||||||
|
110 : 42,
|
||||||
|
201 : 42,
|
||||||
|
210 : 42,
|
||||||
|
304 : 42,
|
||||||
|
315 : 42,
|
||||||
|
321 : 43,
|
||||||
|
327 : 43,
|
||||||
|
331 : 43,
|
||||||
|
335 : 42,
|
||||||
|
338 : 42,
|
||||||
|
340 : 42,
|
||||||
|
351 : 43,
|
||||||
|
393 : 44,
|
||||||
|
401 : 44,
|
||||||
|
402 : 44,
|
||||||
|
403 : 44,
|
||||||
|
404 : 44,
|
||||||
|
477 : 47,
|
||||||
|
480 : 47,
|
||||||
|
490 : 47,
|
||||||
|
498 : 47,
|
||||||
|
573 : 48,
|
||||||
|
575 : 48,
|
||||||
|
578 : 48,
|
||||||
|
709 : 48,
|
||||||
|
734 : 47,
|
||||||
|
735 : 47,
|
||||||
|
736 : 47,
|
||||||
|
751 : 46,
|
||||||
|
755 : 47,
|
||||||
|
756 : 47,
|
||||||
|
757 : 47,
|
||||||
|
1073741839 : 47
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'location', TrailingData ) ],
|
||||||
|
47 : [ ( 'location', Position ) ],
|
||||||
|
76 : [ ( 'location', Position ) ],
|
||||||
|
107 : [ ( 'location', Position ) ],
|
||||||
|
108 : [ ( 'location', Position ) ],
|
||||||
|
109 : [ ( 'location', Position ) ],
|
||||||
|
110 : [ ( 'location', Position ) ],
|
||||||
|
201 : [ ( 'location', Position ) ],
|
||||||
|
210 : [ ( 'location', Position ) ],
|
||||||
|
304 : [ ( 'location', Position ) ],
|
||||||
|
315 : [ ( 'location', Position ) ],
|
||||||
|
321 : [ ( 'location', Position ) ],
|
||||||
|
327 : [ ( 'location', Position ) ],
|
||||||
|
331 : [ ( 'location', Position ) ],
|
||||||
|
335 : [ ( 'location', Position ) ],
|
||||||
|
338 : [ ( 'location', Position ) ],
|
||||||
|
340 : [ ( 'location', Position ) ],
|
||||||
|
351 : [ ( 'location', Position ) ],
|
||||||
|
393 : [ ( 'location', Position ) ],
|
||||||
|
401 : [ ( 'location', Position ) ],
|
||||||
|
402 : [ ( 'location', Position ) ],
|
||||||
|
403 : [ ( 'location', Position ) ],
|
||||||
|
404 : [ ( 'location', Position ) ],
|
||||||
|
477 : [ ( 'location', Position ) ],
|
||||||
|
480 : [ ( 'location', Position ) ],
|
||||||
|
490 : [ ( 'location', Position ) ],
|
||||||
|
498 : [ ( 'location', Position ) ],
|
||||||
|
573 : [ ( 'location', Position ) ],
|
||||||
|
575 : [ ( 'location', Position ) ],
|
||||||
|
578 : [ ( 'location', Position ) ],
|
||||||
|
709 : [ ( 'location', Position ) ],
|
||||||
|
734 : [ ( 'location', Position ) ],
|
||||||
|
735 : [ ( 'location', Position ) ],
|
||||||
|
736 : [ ( 'location', Position ) ],
|
||||||
|
751 : [ ( 'location', Position ) ],
|
||||||
|
755 : [ ( 'location', Position ) ],
|
||||||
|
756 : [ ( 'location', Position ) ],
|
||||||
|
757 : [ ( 'location', Position ) ],
|
||||||
|
1073741839 : [ ( 'location', Position ) ]
|
||||||
|
}
|
100
aiocraft/mc/proto/play/clientbound/packet_open_window.py
Normal file
100
aiocraft/mc/proto/play/clientbound/packet_open_window.py
Normal file
|
@ -0,0 +1,100 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketOpenWindow(Packet):
|
||||||
|
__slots__ = ( 'id', 'inventoryType', 'windowTitle', 'windowId', 'entityId', 'useProvidedTitle', 'slotCount' )
|
||||||
|
|
||||||
|
inventoryType : Union[str,int]
|
||||||
|
windowTitle : str
|
||||||
|
windowId : int
|
||||||
|
entityId : bytes
|
||||||
|
useProvidedTitle : bool
|
||||||
|
slotCount : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 45,
|
||||||
|
47 : 45,
|
||||||
|
76 : 19,
|
||||||
|
107 : 19,
|
||||||
|
108 : 19,
|
||||||
|
109 : 19,
|
||||||
|
110 : 19,
|
||||||
|
201 : 19,
|
||||||
|
210 : 19,
|
||||||
|
304 : 19,
|
||||||
|
315 : 19,
|
||||||
|
321 : 20,
|
||||||
|
327 : 20,
|
||||||
|
331 : 20,
|
||||||
|
335 : 19,
|
||||||
|
338 : 19,
|
||||||
|
340 : 19,
|
||||||
|
351 : 20,
|
||||||
|
393 : 20,
|
||||||
|
401 : 20,
|
||||||
|
402 : 20,
|
||||||
|
403 : 20,
|
||||||
|
404 : 20,
|
||||||
|
477 : 46,
|
||||||
|
480 : 46,
|
||||||
|
490 : 46,
|
||||||
|
498 : 46,
|
||||||
|
573 : 47,
|
||||||
|
575 : 47,
|
||||||
|
578 : 47,
|
||||||
|
709 : 47,
|
||||||
|
734 : 46,
|
||||||
|
735 : 46,
|
||||||
|
736 : 46,
|
||||||
|
751 : 45,
|
||||||
|
755 : 46,
|
||||||
|
756 : 46,
|
||||||
|
757 : 46,
|
||||||
|
1073741839 : 46
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'windowId', Byte ), ( 'inventoryType', Byte ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'useProvidedTitle', Boolean ), ( 'entityId', SwitchType('inventoryType', { 11 : Int }, None, ) ) ],
|
||||||
|
47 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
76 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
107 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
108 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
109 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
110 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
201 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
210 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
304 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
315 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
321 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
327 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
331 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
335 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
338 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
340 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
351 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
393 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
401 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
402 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
403 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
404 : [ ( 'windowId', Byte ), ( 'inventoryType', String ), ( 'windowTitle', String ), ( 'slotCount', Byte ), ( 'entityId', SwitchType('inventoryType', { 'EntityHorse' : Int }, None, ) ) ],
|
||||||
|
477 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
480 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
490 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
498 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
573 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
575 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
578 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
709 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
734 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
735 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
736 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
751 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
755 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
756 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
757 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ],
|
||||||
|
1073741839 : [ ( 'windowId', VarInt ), ( 'inventoryType', VarInt ), ( 'windowTitle', String ) ]
|
||||||
|
}
|
23
aiocraft/mc/proto/play/clientbound/packet_ping.py
Normal file
23
aiocraft/mc/proto/play/clientbound/packet_ping.py
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketPing(Packet):
|
||||||
|
__slots__ = ( 'id', 'id' )
|
||||||
|
|
||||||
|
id : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 48,
|
||||||
|
756 : 48,
|
||||||
|
757 : 48
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'id', Int ) ],
|
||||||
|
756 : [ ( 'id', Int ) ],
|
||||||
|
757 : [ ( 'id', Int ) ]
|
||||||
|
}
|
99
aiocraft/mc/proto/play/clientbound/packet_player_info.py
Normal file
99
aiocraft/mc/proto/play/clientbound/packet_player_info.py
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketPlayerInfo(Packet):
|
||||||
|
__slots__ = ( 'id', 'online', 'action', 'data', 'playerName', 'ping' )
|
||||||
|
|
||||||
|
online : bool
|
||||||
|
action : int
|
||||||
|
data : list
|
||||||
|
playerName : str
|
||||||
|
ping : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 56,
|
||||||
|
47 : 56,
|
||||||
|
76 : 45,
|
||||||
|
107 : 45,
|
||||||
|
108 : 45,
|
||||||
|
109 : 45,
|
||||||
|
110 : 45,
|
||||||
|
201 : 45,
|
||||||
|
210 : 45,
|
||||||
|
304 : 45,
|
||||||
|
315 : 45,
|
||||||
|
321 : 46,
|
||||||
|
327 : 46,
|
||||||
|
331 : 46,
|
||||||
|
335 : 45,
|
||||||
|
338 : 46,
|
||||||
|
340 : 46,
|
||||||
|
351 : 47,
|
||||||
|
393 : 48,
|
||||||
|
401 : 48,
|
||||||
|
402 : 48,
|
||||||
|
403 : 48,
|
||||||
|
404 : 48,
|
||||||
|
477 : 51,
|
||||||
|
480 : 51,
|
||||||
|
490 : 51,
|
||||||
|
498 : 51,
|
||||||
|
573 : 52,
|
||||||
|
575 : 52,
|
||||||
|
578 : 52,
|
||||||
|
709 : 52,
|
||||||
|
734 : 51,
|
||||||
|
735 : 51,
|
||||||
|
736 : 51,
|
||||||
|
751 : 50,
|
||||||
|
755 : 54,
|
||||||
|
756 : 54,
|
||||||
|
757 : 54,
|
||||||
|
1073741839 : 51
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'playerName', String ), ( 'online', Boolean ), ( 'ping', Short ) ],
|
||||||
|
47 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
76 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
107 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
108 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
109 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
110 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
201 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
210 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
304 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
315 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
321 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
327 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
331 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
335 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
338 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
340 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
351 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
393 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
401 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
402 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
403 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
404 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
477 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
480 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
490 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
498 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
573 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
575 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
578 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
709 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
734 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
735 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
736 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
751 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
755 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
756 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
757 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ],
|
||||||
|
1073741839 : [ ( 'action', VarInt ), ( 'data', ArrayType(StructType(( 'UUID', UUID ), ( 'name', SwitchType('action', { 0 : String }, None, ) ), ( 'properties', SwitchType('action', { 0 : ArrayType(StructType(( 'name', String ), ( 'value', String ), ( 'signature', OptionalType(String, ) ), ), VarInt, ) }, None, ) ), ( 'gamemode', SwitchType('action', { 0 : VarInt, 1 : VarInt }, None, ) ), ( 'ping', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ), ( 'displayName', SwitchType('action', { 0 : OptionalType(String, ), 3 : OptionalType(String, ) }, None, ) ), ), VarInt, ) ) ]
|
||||||
|
}
|
|
@ -0,0 +1,94 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketPlayerlistHeader(Packet):
|
||||||
|
__slots__ = ( 'id', 'header', 'footer' )
|
||||||
|
|
||||||
|
header : str
|
||||||
|
footer : str
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
47 : 71,
|
||||||
|
76 : 70,
|
||||||
|
107 : 72,
|
||||||
|
108 : 72,
|
||||||
|
109 : 72,
|
||||||
|
110 : 71,
|
||||||
|
201 : 71,
|
||||||
|
210 : 71,
|
||||||
|
304 : 71,
|
||||||
|
315 : 71,
|
||||||
|
321 : 73,
|
||||||
|
327 : 73,
|
||||||
|
331 : 73,
|
||||||
|
335 : 73,
|
||||||
|
338 : 74,
|
||||||
|
340 : 74,
|
||||||
|
351 : 76,
|
||||||
|
393 : 78,
|
||||||
|
401 : 78,
|
||||||
|
402 : 78,
|
||||||
|
403 : 78,
|
||||||
|
404 : 78,
|
||||||
|
477 : 83,
|
||||||
|
480 : 83,
|
||||||
|
490 : 83,
|
||||||
|
498 : 83,
|
||||||
|
573 : 84,
|
||||||
|
575 : 84,
|
||||||
|
578 : 84,
|
||||||
|
709 : 84,
|
||||||
|
734 : 83,
|
||||||
|
735 : 83,
|
||||||
|
736 : 83,
|
||||||
|
751 : 83,
|
||||||
|
755 : 94,
|
||||||
|
756 : 94,
|
||||||
|
757 : 95,
|
||||||
|
1073741839 : 84
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
47 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
76 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
107 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
108 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
109 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
110 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
201 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
210 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
304 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
315 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
321 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
327 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
331 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
335 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
338 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
340 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
351 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
393 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
401 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
402 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
403 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
404 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
477 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
480 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
490 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
498 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
573 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
575 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
578 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
709 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
734 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
735 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
736 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
751 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
755 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
756 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
757 : [ ( 'header', String ), ( 'footer', String ) ],
|
||||||
|
1073741839 : [ ( 'header', String ), ( 'footer', String ) ]
|
||||||
|
}
|
103
aiocraft/mc/proto/play/clientbound/packet_position.py
Normal file
103
aiocraft/mc/proto/play/clientbound/packet_position.py
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketPosition(Packet):
|
||||||
|
__slots__ = ( 'id', 'teleportId', 'dismountVehicle', 'flags', 'onGround', 'x', 'yaw', 'y', 'z', 'pitch' )
|
||||||
|
|
||||||
|
teleportId : int
|
||||||
|
dismountVehicle : bool
|
||||||
|
flags : int
|
||||||
|
onGround : bool
|
||||||
|
x : float
|
||||||
|
yaw : float
|
||||||
|
y : float
|
||||||
|
z : float
|
||||||
|
pitch : float
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 8,
|
||||||
|
47 : 8,
|
||||||
|
76 : 46,
|
||||||
|
107 : 46,
|
||||||
|
108 : 46,
|
||||||
|
109 : 46,
|
||||||
|
110 : 46,
|
||||||
|
201 : 46,
|
||||||
|
210 : 46,
|
||||||
|
304 : 46,
|
||||||
|
315 : 46,
|
||||||
|
321 : 47,
|
||||||
|
327 : 47,
|
||||||
|
331 : 47,
|
||||||
|
335 : 46,
|
||||||
|
338 : 47,
|
||||||
|
340 : 47,
|
||||||
|
351 : 48,
|
||||||
|
393 : 50,
|
||||||
|
401 : 50,
|
||||||
|
402 : 50,
|
||||||
|
403 : 50,
|
||||||
|
404 : 50,
|
||||||
|
477 : 53,
|
||||||
|
480 : 53,
|
||||||
|
490 : 53,
|
||||||
|
498 : 53,
|
||||||
|
573 : 54,
|
||||||
|
575 : 54,
|
||||||
|
578 : 54,
|
||||||
|
709 : 54,
|
||||||
|
734 : 53,
|
||||||
|
735 : 53,
|
||||||
|
736 : 53,
|
||||||
|
751 : 52,
|
||||||
|
755 : 56,
|
||||||
|
756 : 56,
|
||||||
|
757 : 56,
|
||||||
|
1073741839 : 53
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'onGround', Boolean ) ],
|
||||||
|
47 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ) ],
|
||||||
|
76 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ) ],
|
||||||
|
107 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
108 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
109 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
110 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
201 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
210 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
304 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
315 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
321 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
327 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
331 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
335 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
338 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
340 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
351 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
393 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
401 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
402 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
403 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
404 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
477 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
480 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
490 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
498 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
573 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
575 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
578 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
709 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
734 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
735 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
736 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
751 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ) ],
|
||||||
|
755 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ), ( 'dismountVehicle', Boolean ) ],
|
||||||
|
756 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ), ( 'dismountVehicle', Boolean ) ],
|
||||||
|
757 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ), ( 'dismountVehicle', Boolean ) ],
|
||||||
|
1073741839 : [ ( 'x', Double ), ( 'y', Double ), ( 'z', Double ), ( 'yaw', Float ), ( 'pitch', Float ), ( 'flags', Byte ), ( 'teleportId', VarInt ), ( 'dismountVehicle', Boolean ) ]
|
||||||
|
}
|
99
aiocraft/mc/proto/play/clientbound/packet_rel_entity_move.py
Normal file
99
aiocraft/mc/proto/play/clientbound/packet_rel_entity_move.py
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketRelEntityMove(Packet):
|
||||||
|
__slots__ = ( 'id', 'dY', 'dX', 'onGround', 'dZ', 'entityId' )
|
||||||
|
|
||||||
|
dY : int
|
||||||
|
dX : int
|
||||||
|
onGround : bool
|
||||||
|
dZ : int
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 21,
|
||||||
|
47 : 21,
|
||||||
|
76 : 38,
|
||||||
|
107 : 37,
|
||||||
|
108 : 37,
|
||||||
|
109 : 37,
|
||||||
|
110 : 37,
|
||||||
|
201 : 37,
|
||||||
|
210 : 37,
|
||||||
|
304 : 37,
|
||||||
|
315 : 37,
|
||||||
|
321 : 38,
|
||||||
|
327 : 38,
|
||||||
|
331 : 38,
|
||||||
|
335 : 38,
|
||||||
|
338 : 38,
|
||||||
|
340 : 38,
|
||||||
|
351 : 39,
|
||||||
|
393 : 40,
|
||||||
|
401 : 40,
|
||||||
|
402 : 40,
|
||||||
|
403 : 40,
|
||||||
|
404 : 40,
|
||||||
|
477 : 40,
|
||||||
|
480 : 40,
|
||||||
|
490 : 40,
|
||||||
|
498 : 40,
|
||||||
|
573 : 41,
|
||||||
|
575 : 41,
|
||||||
|
578 : 41,
|
||||||
|
709 : 41,
|
||||||
|
734 : 40,
|
||||||
|
735 : 40,
|
||||||
|
736 : 40,
|
||||||
|
751 : 39,
|
||||||
|
755 : 41,
|
||||||
|
756 : 41,
|
||||||
|
757 : 41,
|
||||||
|
1073741839 : 40
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'dX', Byte ), ( 'dY', Byte ), ( 'dZ', Byte ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'dX', Byte ), ( 'dY', Byte ), ( 'dZ', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'dX', Byte ), ( 'dY', Byte ), ( 'dZ', Byte ), ( 'onGround', Boolean ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'dX', Short ), ( 'dY', Short ), ( 'dZ', Short ), ( 'onGround', Boolean ) ]
|
||||||
|
}
|
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketRemoveEntityEffect(Packet):
|
||||||
|
__slots__ = ( 'id', 'entityId', 'effectId' )
|
||||||
|
|
||||||
|
entityId : int
|
||||||
|
effectId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 30,
|
||||||
|
47 : 30,
|
||||||
|
76 : 49,
|
||||||
|
107 : 49,
|
||||||
|
108 : 49,
|
||||||
|
109 : 49,
|
||||||
|
110 : 49,
|
||||||
|
201 : 49,
|
||||||
|
210 : 49,
|
||||||
|
304 : 49,
|
||||||
|
315 : 49,
|
||||||
|
321 : 51,
|
||||||
|
327 : 51,
|
||||||
|
331 : 51,
|
||||||
|
335 : 50,
|
||||||
|
338 : 51,
|
||||||
|
340 : 51,
|
||||||
|
351 : 52,
|
||||||
|
393 : 54,
|
||||||
|
401 : 54,
|
||||||
|
402 : 54,
|
||||||
|
403 : 54,
|
||||||
|
404 : 54,
|
||||||
|
477 : 56,
|
||||||
|
480 : 56,
|
||||||
|
490 : 56,
|
||||||
|
498 : 56,
|
||||||
|
573 : 57,
|
||||||
|
575 : 57,
|
||||||
|
578 : 57,
|
||||||
|
709 : 57,
|
||||||
|
734 : 56,
|
||||||
|
735 : 56,
|
||||||
|
736 : 56,
|
||||||
|
751 : 55,
|
||||||
|
755 : 59,
|
||||||
|
756 : 59,
|
||||||
|
757 : 59,
|
||||||
|
1073741839 : 56
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'entityId', Int ), ( 'effectId', Byte ) ],
|
||||||
|
47 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
76 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'effectId', Byte ) ]
|
||||||
|
}
|
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketResourcePackSend(Packet):
|
||||||
|
__slots__ = ( 'id', 'url', 'hash', 'forced', 'promptMessage' )
|
||||||
|
|
||||||
|
url : str
|
||||||
|
hash : str
|
||||||
|
forced : bool
|
||||||
|
promptMessage : tuple
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
47 : 72,
|
||||||
|
76 : 50,
|
||||||
|
107 : 50,
|
||||||
|
108 : 50,
|
||||||
|
109 : 50,
|
||||||
|
110 : 50,
|
||||||
|
201 : 50,
|
||||||
|
210 : 50,
|
||||||
|
304 : 50,
|
||||||
|
315 : 50,
|
||||||
|
321 : 52,
|
||||||
|
327 : 52,
|
||||||
|
331 : 52,
|
||||||
|
335 : 51,
|
||||||
|
338 : 52,
|
||||||
|
340 : 52,
|
||||||
|
351 : 53,
|
||||||
|
393 : 55,
|
||||||
|
401 : 55,
|
||||||
|
402 : 55,
|
||||||
|
403 : 55,
|
||||||
|
404 : 55,
|
||||||
|
477 : 57,
|
||||||
|
480 : 57,
|
||||||
|
490 : 57,
|
||||||
|
498 : 57,
|
||||||
|
573 : 58,
|
||||||
|
575 : 58,
|
||||||
|
578 : 58,
|
||||||
|
709 : 58,
|
||||||
|
734 : 57,
|
||||||
|
735 : 57,
|
||||||
|
736 : 57,
|
||||||
|
751 : 56,
|
||||||
|
755 : 60,
|
||||||
|
756 : 60,
|
||||||
|
757 : 60,
|
||||||
|
1073741839 : 57
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
47 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
76 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
107 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
108 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
109 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
110 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
201 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
210 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
304 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
315 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
321 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
327 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
331 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
335 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
338 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
340 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
351 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
393 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
401 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
402 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
403 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
404 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
477 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
480 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
490 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
498 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
573 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
575 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
578 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
709 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
734 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
735 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
736 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
751 : [ ( 'url', String ), ( 'hash', String ) ],
|
||||||
|
755 : [ ( 'url', String ), ( 'hash', String ), ( 'forced', Boolean ), ( 'promptMessage', OptionalType(String, ) ) ],
|
||||||
|
756 : [ ( 'url', String ), ( 'hash', String ), ( 'forced', Boolean ), ( 'promptMessage', OptionalType(String, ) ) ],
|
||||||
|
757 : [ ( 'url', String ), ( 'hash', String ), ( 'forced', Boolean ), ( 'promptMessage', OptionalType(String, ) ) ],
|
||||||
|
1073741839 : [ ( 'url', String ), ( 'hash', String ), ( 'forced', Boolean ) ]
|
||||||
|
}
|
104
aiocraft/mc/proto/play/clientbound/packet_respawn.py
Normal file
104
aiocraft/mc/proto/play/clientbound/packet_respawn.py
Normal file
|
@ -0,0 +1,104 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketRespawn(Packet):
|
||||||
|
__slots__ = ( 'id', 'isFlat', 'hashedSeed', 'worldName', 'isDebug', 'dimension', 'levelType', 'previousGamemode', 'gamemode', 'copyMetadata', 'difficulty' )
|
||||||
|
|
||||||
|
isFlat : bool
|
||||||
|
hashedSeed : int
|
||||||
|
worldName : str
|
||||||
|
isDebug : bool
|
||||||
|
dimension : Union[bytes,str,int]
|
||||||
|
levelType : str
|
||||||
|
previousGamemode : int
|
||||||
|
gamemode : int
|
||||||
|
copyMetadata : bool
|
||||||
|
difficulty : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 7,
|
||||||
|
47 : 7,
|
||||||
|
76 : 51,
|
||||||
|
107 : 51,
|
||||||
|
108 : 51,
|
||||||
|
109 : 51,
|
||||||
|
110 : 51,
|
||||||
|
201 : 51,
|
||||||
|
210 : 51,
|
||||||
|
304 : 51,
|
||||||
|
315 : 51,
|
||||||
|
321 : 53,
|
||||||
|
327 : 53,
|
||||||
|
331 : 53,
|
||||||
|
335 : 52,
|
||||||
|
338 : 53,
|
||||||
|
340 : 53,
|
||||||
|
351 : 54,
|
||||||
|
393 : 56,
|
||||||
|
401 : 56,
|
||||||
|
402 : 56,
|
||||||
|
403 : 56,
|
||||||
|
404 : 56,
|
||||||
|
477 : 58,
|
||||||
|
480 : 58,
|
||||||
|
490 : 58,
|
||||||
|
498 : 58,
|
||||||
|
573 : 59,
|
||||||
|
575 : 59,
|
||||||
|
578 : 59,
|
||||||
|
709 : 59,
|
||||||
|
734 : 58,
|
||||||
|
735 : 58,
|
||||||
|
736 : 58,
|
||||||
|
751 : 57,
|
||||||
|
755 : 61,
|
||||||
|
756 : 61,
|
||||||
|
757 : 61,
|
||||||
|
1073741839 : 58
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
47 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
76 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
107 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
108 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
109 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
110 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
201 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
210 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
304 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
315 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
321 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
327 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
331 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
335 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
338 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
340 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
351 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
393 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
401 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
402 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
403 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
404 : [ ( 'dimension', Int ), ( 'difficulty', Byte ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
477 : [ ( 'dimension', Int ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
480 : [ ( 'dimension', Int ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
490 : [ ( 'dimension', Int ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
498 : [ ( 'dimension', Int ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
573 : [ ( 'dimension', Int ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
575 : [ ( 'dimension', Int ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
578 : [ ( 'dimension', Int ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
709 : [ ( 'dimension', Int ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'levelType', String ) ],
|
||||||
|
734 : [ ( 'dimension', String ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'previousGamemode', Byte ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ), ( 'copyMetadata', Boolean ) ],
|
||||||
|
735 : [ ( 'dimension', String ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'previousGamemode', Byte ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ), ( 'copyMetadata', Boolean ) ],
|
||||||
|
736 : [ ( 'dimension', String ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'previousGamemode', Byte ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ), ( 'copyMetadata', Boolean ) ],
|
||||||
|
751 : [ ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'previousGamemode', Byte ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ), ( 'copyMetadata', Boolean ) ],
|
||||||
|
755 : [ ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'previousGamemode', Byte ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ), ( 'copyMetadata', Boolean ) ],
|
||||||
|
756 : [ ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'previousGamemode', Byte ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ), ( 'copyMetadata', Boolean ) ],
|
||||||
|
757 : [ ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'previousGamemode', Byte ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ), ( 'copyMetadata', Boolean ) ],
|
||||||
|
1073741839 : [ ( 'dimension', NBTTag ), ( 'worldName', String ), ( 'hashedSeed', Long ), ( 'gamemode', Byte ), ( 'previousGamemode', Byte ), ( 'isDebug', Boolean ), ( 'isFlat', Boolean ), ( 'copyMetadata', Boolean ) ]
|
||||||
|
}
|
|
@ -0,0 +1,96 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketScoreboardDisplayObjective(Packet):
|
||||||
|
__slots__ = ( 'id', 'name', 'position' )
|
||||||
|
|
||||||
|
name : str
|
||||||
|
position : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 61,
|
||||||
|
47 : 61,
|
||||||
|
76 : 56,
|
||||||
|
107 : 56,
|
||||||
|
108 : 56,
|
||||||
|
109 : 56,
|
||||||
|
110 : 56,
|
||||||
|
201 : 56,
|
||||||
|
210 : 56,
|
||||||
|
304 : 56,
|
||||||
|
315 : 56,
|
||||||
|
321 : 58,
|
||||||
|
327 : 58,
|
||||||
|
331 : 58,
|
||||||
|
335 : 58,
|
||||||
|
338 : 59,
|
||||||
|
340 : 59,
|
||||||
|
351 : 60,
|
||||||
|
393 : 62,
|
||||||
|
401 : 62,
|
||||||
|
402 : 62,
|
||||||
|
403 : 62,
|
||||||
|
404 : 62,
|
||||||
|
477 : 66,
|
||||||
|
480 : 66,
|
||||||
|
490 : 66,
|
||||||
|
498 : 66,
|
||||||
|
573 : 67,
|
||||||
|
575 : 67,
|
||||||
|
578 : 67,
|
||||||
|
709 : 68,
|
||||||
|
734 : 67,
|
||||||
|
735 : 67,
|
||||||
|
736 : 67,
|
||||||
|
751 : 67,
|
||||||
|
755 : 76,
|
||||||
|
756 : 76,
|
||||||
|
757 : 76,
|
||||||
|
1073741839 : 68
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
47 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
76 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
107 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
108 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
109 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
110 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
201 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
210 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
304 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
315 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
321 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
327 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
331 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
335 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
338 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
340 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
351 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
393 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
401 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
402 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
403 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
404 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
477 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
480 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
490 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
498 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
573 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
575 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
578 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
709 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
734 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
735 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
736 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
751 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
755 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
756 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
757 : [ ( 'position', Byte ), ( 'name', String ) ],
|
||||||
|
1073741839 : [ ( 'position', Byte ), ( 'name', String ) ]
|
||||||
|
}
|
|
@ -0,0 +1,98 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketScoreboardObjective(Packet):
|
||||||
|
__slots__ = ( 'id', 'name', 'type', 'displayText', 'action' )
|
||||||
|
|
||||||
|
name : str
|
||||||
|
type : bytes
|
||||||
|
displayText : Union[bytes,str]
|
||||||
|
action : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 59,
|
||||||
|
47 : 59,
|
||||||
|
76 : 63,
|
||||||
|
107 : 63,
|
||||||
|
108 : 63,
|
||||||
|
109 : 63,
|
||||||
|
110 : 63,
|
||||||
|
201 : 63,
|
||||||
|
210 : 63,
|
||||||
|
304 : 63,
|
||||||
|
315 : 63,
|
||||||
|
321 : 65,
|
||||||
|
327 : 65,
|
||||||
|
331 : 65,
|
||||||
|
335 : 65,
|
||||||
|
338 : 66,
|
||||||
|
340 : 66,
|
||||||
|
351 : 67,
|
||||||
|
393 : 69,
|
||||||
|
401 : 69,
|
||||||
|
402 : 69,
|
||||||
|
403 : 69,
|
||||||
|
404 : 69,
|
||||||
|
477 : 73,
|
||||||
|
480 : 73,
|
||||||
|
490 : 73,
|
||||||
|
498 : 73,
|
||||||
|
573 : 74,
|
||||||
|
575 : 74,
|
||||||
|
578 : 74,
|
||||||
|
709 : 75,
|
||||||
|
734 : 74,
|
||||||
|
735 : 74,
|
||||||
|
736 : 74,
|
||||||
|
751 : 74,
|
||||||
|
755 : 83,
|
||||||
|
756 : 83,
|
||||||
|
757 : 83,
|
||||||
|
1073741839 : 75
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'name', String ), ( 'displayText', String ), ( 'action', Byte ) ],
|
||||||
|
47 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
76 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
107 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
108 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
109 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
110 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
201 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
210 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
304 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
315 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
321 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
327 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
331 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
335 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
338 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
340 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
351 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : String, 2 : String }, None, ) ) ],
|
||||||
|
393 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
401 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
402 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
403 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
404 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
477 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
480 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
490 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
498 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
573 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
575 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
578 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
709 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
734 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
735 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
736 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
751 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
755 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
756 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
757 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ],
|
||||||
|
1073741839 : [ ( 'name', String ), ( 'action', Byte ), ( 'displayText', SwitchType('action', { 0 : String, 2 : String }, None, ) ), ( 'type', SwitchType('action', { 0 : VarInt, 2 : VarInt }, None, ) ) ]
|
||||||
|
}
|
|
@ -0,0 +1,98 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketScoreboardScore(Packet):
|
||||||
|
__slots__ = ( 'id', 'action', 'value', 'itemName', 'scoreName' )
|
||||||
|
|
||||||
|
action : int
|
||||||
|
value : bytes
|
||||||
|
itemName : str
|
||||||
|
scoreName : Union[bytes,str]
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 60,
|
||||||
|
47 : 60,
|
||||||
|
76 : 65,
|
||||||
|
107 : 66,
|
||||||
|
108 : 66,
|
||||||
|
109 : 66,
|
||||||
|
110 : 66,
|
||||||
|
201 : 66,
|
||||||
|
210 : 66,
|
||||||
|
304 : 66,
|
||||||
|
315 : 66,
|
||||||
|
321 : 68,
|
||||||
|
327 : 68,
|
||||||
|
331 : 68,
|
||||||
|
335 : 68,
|
||||||
|
338 : 69,
|
||||||
|
340 : 69,
|
||||||
|
351 : 70,
|
||||||
|
393 : 72,
|
||||||
|
401 : 72,
|
||||||
|
402 : 72,
|
||||||
|
403 : 72,
|
||||||
|
404 : 72,
|
||||||
|
477 : 76,
|
||||||
|
480 : 76,
|
||||||
|
490 : 76,
|
||||||
|
498 : 76,
|
||||||
|
573 : 77,
|
||||||
|
575 : 77,
|
||||||
|
578 : 77,
|
||||||
|
709 : 78,
|
||||||
|
734 : 77,
|
||||||
|
735 : 77,
|
||||||
|
736 : 77,
|
||||||
|
751 : 77,
|
||||||
|
755 : 86,
|
||||||
|
756 : 86,
|
||||||
|
757 : 86,
|
||||||
|
1073741839 : 78
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', SwitchType('action', { 1 : Void }, String, ) ), ( 'value', SwitchType('action', { 1 : Void }, Int, ) ) ],
|
||||||
|
47 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
76 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
107 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
108 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
109 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
110 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
201 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
210 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
304 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
315 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
321 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
327 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
331 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
335 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
338 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
340 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
351 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
393 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
401 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
402 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
403 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
404 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
477 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
480 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
490 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
498 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
573 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
575 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
578 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
709 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
734 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
735 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
736 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
751 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
755 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
756 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
757 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ],
|
||||||
|
1073741839 : [ ( 'itemName', String ), ( 'action', Byte ), ( 'scoreName', String ), ( 'value', SwitchType('action', { 1 : Void }, VarInt, ) ) ]
|
||||||
|
}
|
32
aiocraft/mc/proto/play/clientbound/packet_scoreboard_team.py
Normal file
32
aiocraft/mc/proto/play/clientbound/packet_scoreboard_team.py
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketScoreboardTeam(Packet):
|
||||||
|
__slots__ = ( 'id', 'team', 'nameTagVisibility', 'friendlyFire', 'name', 'players', 'prefix', 'mode', 'color', 'collisionRule', 'suffix' )
|
||||||
|
|
||||||
|
team : str
|
||||||
|
nameTagVisibility : bytes
|
||||||
|
friendlyFire : bytes
|
||||||
|
name : bytes
|
||||||
|
players : bytes
|
||||||
|
prefix : bytes
|
||||||
|
mode : int
|
||||||
|
color : bytes
|
||||||
|
collisionRule : bytes
|
||||||
|
suffix : bytes
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 62,
|
||||||
|
47 : 62,
|
||||||
|
76 : 64
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'team', String ), ( 'mode', Byte ), ( 'name', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'prefix', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'suffix', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'friendlyFire', SwitchType('mode', { 0 : Byte, 2 : Byte }, None, ) ), ( 'players', SwitchType('mode', { 0 : ArrayType(String, Short, ), 3 : ArrayType(String, Short, ), 4 : ArrayType(String, Short, ) }, None, ) ) ],
|
||||||
|
47 : [ ( 'team', String ), ( 'mode', Byte ), ( 'name', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'prefix', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'suffix', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'friendlyFire', SwitchType('mode', { 0 : Byte, 2 : Byte }, None, ) ), ( 'nameTagVisibility', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'color', SwitchType('mode', { 0 : Byte, 2 : Byte }, None, ) ), ( 'players', SwitchType('mode', { 0 : ArrayType(String, VarInt, ), 3 : ArrayType(String, VarInt, ), 4 : ArrayType(String, VarInt, ) }, None, ) ) ],
|
||||||
|
76 : [ ( 'team', String ), ( 'mode', Byte ), ( 'name', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'prefix', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'suffix', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'friendlyFire', SwitchType('mode', { 0 : Byte, 2 : Byte }, None, ) ), ( 'nameTagVisibility', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'collisionRule', SwitchType('mode', { 0 : String, 2 : String }, None, ) ), ( 'color', SwitchType('mode', { 0 : Byte, 2 : Byte }, None, ) ), ( 'players', SwitchType('mode', { 0 : ArrayType(String, VarInt, ), 3 : ArrayType(String, VarInt, ), 4 : ArrayType(String, VarInt, ) }, None, ) ) ]
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSculkVibrationSignal(Packet):
|
||||||
|
__slots__ = ( 'id', 'sourcePosition', 'destination', 'arrivalTicks', 'destinationIdentifier' )
|
||||||
|
|
||||||
|
sourcePosition : tuple
|
||||||
|
destination : bytes
|
||||||
|
arrivalTicks : int
|
||||||
|
destinationIdentifier : str
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 5,
|
||||||
|
756 : 5,
|
||||||
|
757 : 5,
|
||||||
|
1073741839 : 5
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'sourcePosition', Position ), ( 'destinationIdentifier', String ), ( 'destination', SwitchType('destinationIdentifier', { 'block' : Position, 'entityId' : VarInt }, None, ) ), ( 'arrivalTicks', VarInt ) ],
|
||||||
|
756 : [ ( 'sourcePosition', Position ), ( 'destinationIdentifier', String ), ( 'destination', SwitchType('destinationIdentifier', { 'block' : Position, 'entityId' : VarInt }, None, ) ), ( 'arrivalTicks', VarInt ) ],
|
||||||
|
757 : [ ( 'sourcePosition', Position ), ( 'destinationIdentifier', String ), ( 'destination', SwitchType('destinationIdentifier', { 'block' : Position, 'entityId' : VarInt }, None, ) ), ( 'arrivalTicks', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'sourcePosition', Position ), ( 'destinationIdentifier', String ), ( 'destination', SwitchType('destinationIdentifier', { 'block' : Position, 'entityId' : VarInt }, None, ) ), ( 'arrivalTicks', VarInt ) ]
|
||||||
|
}
|
|
@ -0,0 +1,67 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSelectAdvancementTab(Packet):
|
||||||
|
__slots__ = ( 'id', 'id' )
|
||||||
|
|
||||||
|
id : tuple
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
335 : 54,
|
||||||
|
338 : 55,
|
||||||
|
340 : 55,
|
||||||
|
351 : 56,
|
||||||
|
393 : 58,
|
||||||
|
401 : 58,
|
||||||
|
402 : 58,
|
||||||
|
403 : 58,
|
||||||
|
404 : 58,
|
||||||
|
477 : 60,
|
||||||
|
480 : 60,
|
||||||
|
490 : 60,
|
||||||
|
498 : 60,
|
||||||
|
573 : 61,
|
||||||
|
575 : 61,
|
||||||
|
578 : 61,
|
||||||
|
709 : 61,
|
||||||
|
734 : 60,
|
||||||
|
735 : 60,
|
||||||
|
736 : 60,
|
||||||
|
751 : 60,
|
||||||
|
755 : 64,
|
||||||
|
756 : 64,
|
||||||
|
757 : 64,
|
||||||
|
1073741839 : 61
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
335 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
338 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
340 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
351 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
393 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
401 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
402 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
403 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
404 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
477 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
480 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
490 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
498 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
573 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
575 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
578 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
709 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
734 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
735 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
736 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
751 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
755 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
756 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
757 : [ ( 'id', OptionalType(String, ) ) ],
|
||||||
|
1073741839 : [ ( 'id', OptionalType(String, ) ) ]
|
||||||
|
}
|
21
aiocraft/mc/proto/play/clientbound/packet_set_compression.py
Normal file
21
aiocraft/mc/proto/play/clientbound/packet_set_compression.py
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSetCompression(Packet):
|
||||||
|
__slots__ = ( 'id', 'threshold' )
|
||||||
|
|
||||||
|
threshold : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
47 : 70,
|
||||||
|
76 : 29
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
47 : [ ( 'threshold', VarInt ) ],
|
||||||
|
76 : [ ( 'threshold', VarInt ) ]
|
||||||
|
}
|
92
aiocraft/mc/proto/play/clientbound/packet_set_cooldown.py
Normal file
92
aiocraft/mc/proto/play/clientbound/packet_set_cooldown.py
Normal file
|
@ -0,0 +1,92 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSetCooldown(Packet):
|
||||||
|
__slots__ = ( 'id', 'cooldownTicks', 'itemID' )
|
||||||
|
|
||||||
|
cooldownTicks : int
|
||||||
|
itemID : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
76 : 23,
|
||||||
|
107 : 23,
|
||||||
|
108 : 23,
|
||||||
|
109 : 23,
|
||||||
|
110 : 23,
|
||||||
|
201 : 23,
|
||||||
|
210 : 23,
|
||||||
|
304 : 23,
|
||||||
|
315 : 23,
|
||||||
|
321 : 24,
|
||||||
|
327 : 24,
|
||||||
|
331 : 24,
|
||||||
|
335 : 23,
|
||||||
|
338 : 23,
|
||||||
|
340 : 23,
|
||||||
|
351 : 24,
|
||||||
|
393 : 24,
|
||||||
|
401 : 24,
|
||||||
|
402 : 24,
|
||||||
|
403 : 24,
|
||||||
|
404 : 24,
|
||||||
|
477 : 23,
|
||||||
|
480 : 23,
|
||||||
|
490 : 23,
|
||||||
|
498 : 23,
|
||||||
|
573 : 24,
|
||||||
|
575 : 24,
|
||||||
|
578 : 24,
|
||||||
|
709 : 24,
|
||||||
|
734 : 23,
|
||||||
|
735 : 23,
|
||||||
|
736 : 23,
|
||||||
|
751 : 22,
|
||||||
|
755 : 23,
|
||||||
|
756 : 23,
|
||||||
|
757 : 23,
|
||||||
|
1073741839 : 23
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
76 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
107 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
108 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
109 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
110 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
201 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
210 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
304 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
315 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
321 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
327 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
331 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
335 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
338 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
340 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
351 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
393 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
401 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
402 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
403 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
404 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
477 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
480 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
490 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
498 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
573 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
575 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
578 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
709 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
734 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
735 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
736 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
751 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
755 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
756 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
757 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ],
|
||||||
|
1073741839 : [ ( 'itemID', VarInt ), ( 'cooldownTicks', VarInt ) ]
|
||||||
|
}
|
90
aiocraft/mc/proto/play/clientbound/packet_set_passengers.py
Normal file
90
aiocraft/mc/proto/play/clientbound/packet_set_passengers.py
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSetPassengers(Packet):
|
||||||
|
__slots__ = ( 'id', 'passengers', 'entityId' )
|
||||||
|
|
||||||
|
passengers : list
|
||||||
|
entityId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
107 : 64,
|
||||||
|
108 : 64,
|
||||||
|
109 : 64,
|
||||||
|
110 : 64,
|
||||||
|
201 : 64,
|
||||||
|
210 : 64,
|
||||||
|
304 : 64,
|
||||||
|
315 : 64,
|
||||||
|
321 : 66,
|
||||||
|
327 : 66,
|
||||||
|
331 : 66,
|
||||||
|
335 : 66,
|
||||||
|
338 : 67,
|
||||||
|
340 : 67,
|
||||||
|
351 : 68,
|
||||||
|
393 : 70,
|
||||||
|
401 : 70,
|
||||||
|
402 : 70,
|
||||||
|
403 : 70,
|
||||||
|
404 : 70,
|
||||||
|
477 : 74,
|
||||||
|
480 : 74,
|
||||||
|
490 : 74,
|
||||||
|
498 : 74,
|
||||||
|
573 : 75,
|
||||||
|
575 : 75,
|
||||||
|
578 : 75,
|
||||||
|
709 : 76,
|
||||||
|
734 : 75,
|
||||||
|
735 : 75,
|
||||||
|
736 : 75,
|
||||||
|
751 : 75,
|
||||||
|
755 : 84,
|
||||||
|
756 : 84,
|
||||||
|
757 : 84,
|
||||||
|
1073741839 : 76
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
107 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
108 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
109 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
110 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
201 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
210 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
304 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
315 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
321 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
327 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
331 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
335 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
338 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
340 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
351 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
393 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
401 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
402 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
403 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
404 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
477 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
480 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
490 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
498 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
573 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
575 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
578 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
709 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
734 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
735 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
736 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
751 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
755 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
756 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
757 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ],
|
||||||
|
1073741839 : [ ( 'entityId', VarInt ), ( 'passengers', ArrayType(VarInt, VarInt, ) ) ]
|
||||||
|
}
|
98
aiocraft/mc/proto/play/clientbound/packet_set_slot.py
Normal file
98
aiocraft/mc/proto/play/clientbound/packet_set_slot.py
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSetSlot(Packet):
|
||||||
|
__slots__ = ( 'id', 'stateId', 'item', 'slot', 'windowId' )
|
||||||
|
|
||||||
|
stateId : int
|
||||||
|
item : dict
|
||||||
|
slot : int
|
||||||
|
windowId : int
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
5 : 47,
|
||||||
|
47 : 47,
|
||||||
|
76 : 22,
|
||||||
|
107 : 22,
|
||||||
|
108 : 22,
|
||||||
|
109 : 22,
|
||||||
|
110 : 22,
|
||||||
|
201 : 22,
|
||||||
|
210 : 22,
|
||||||
|
304 : 22,
|
||||||
|
315 : 22,
|
||||||
|
321 : 23,
|
||||||
|
327 : 23,
|
||||||
|
331 : 23,
|
||||||
|
335 : 22,
|
||||||
|
338 : 22,
|
||||||
|
340 : 22,
|
||||||
|
351 : 23,
|
||||||
|
393 : 23,
|
||||||
|
401 : 23,
|
||||||
|
402 : 23,
|
||||||
|
403 : 23,
|
||||||
|
404 : 23,
|
||||||
|
477 : 22,
|
||||||
|
480 : 22,
|
||||||
|
490 : 22,
|
||||||
|
498 : 22,
|
||||||
|
573 : 23,
|
||||||
|
575 : 23,
|
||||||
|
578 : 23,
|
||||||
|
709 : 23,
|
||||||
|
734 : 22,
|
||||||
|
735 : 22,
|
||||||
|
736 : 22,
|
||||||
|
751 : 21,
|
||||||
|
755 : 22,
|
||||||
|
756 : 22,
|
||||||
|
757 : 22,
|
||||||
|
1073741839 : 22
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
5 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
47 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
76 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
107 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
108 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
109 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
110 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
201 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
210 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
304 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
315 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
321 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
327 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
331 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
335 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
338 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
340 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
351 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
393 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
401 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
402 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
403 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
404 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
477 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
480 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
490 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
498 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
573 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
575 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
578 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
709 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
734 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
735 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
736 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
751 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
755 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
756 : [ ( 'windowId', Byte ), ( 'stateId', VarInt ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
757 : [ ( 'windowId', Byte ), ( 'stateId', VarInt ), ( 'slot', Short ), ( 'item', Slot ) ],
|
||||||
|
1073741839 : [ ( 'windowId', Byte ), ( 'slot', Short ), ( 'item', Slot ) ]
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSetTitleSubtitle(Packet):
|
||||||
|
__slots__ = ( 'id', 'text' )
|
||||||
|
|
||||||
|
text : str
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 87,
|
||||||
|
756 : 87,
|
||||||
|
757 : 88
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'text', String ) ],
|
||||||
|
756 : [ ( 'text', String ) ],
|
||||||
|
757 : [ ( 'text', String ) ]
|
||||||
|
}
|
23
aiocraft/mc/proto/play/clientbound/packet_set_title_text.py
Normal file
23
aiocraft/mc/proto/play/clientbound/packet_set_title_text.py
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
"""[!] This file is autogenerated"""
|
||||||
|
|
||||||
|
from typing import Tuple, List, Dict, Union
|
||||||
|
from ....packet import Packet
|
||||||
|
from ....types import *
|
||||||
|
|
||||||
|
class PacketSetTitleText(Packet):
|
||||||
|
__slots__ = ( 'id', 'text' )
|
||||||
|
|
||||||
|
text : str
|
||||||
|
|
||||||
|
_state : int = 3
|
||||||
|
|
||||||
|
_ids : Dict[int, int] = {
|
||||||
|
755 : 89,
|
||||||
|
756 : 89,
|
||||||
|
757 : 90
|
||||||
|
}
|
||||||
|
_definitions : Dict[int, List[Tuple[str, Type]]] = {
|
||||||
|
755 : [ ( 'text', String ) ],
|
||||||
|
756 : [ ( 'text', String ) ],
|
||||||
|
757 : [ ( 'text', String ) ]
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue