From 4ed1825196850fc6844ad2268a9b3945b4e331bc Mon Sep 17 00:00:00 2001 From: alemidev Date: Tue, 4 Jan 2022 15:38:25 +0100 Subject: [PATCH] recompiled proto (ughh why does the order change...) --- .../serverbound/packet_set_protocol.py | 6 ++-- .../clientbound/packet_encryption_begin.py | 4 +-- .../packet_login_plugin_request.py | 4 +-- .../proto/login/clientbound/packet_success.py | 4 +-- .../serverbound/packet_encryption_begin.py | 4 +-- .../play/clientbound/packet_abilities.py | 4 +-- .../packet_acknowledge_player_digging.py | 4 +-- .../play/clientbound/packet_advancements.py | 6 ++-- .../play/clientbound/packet_attach_entity.py | 4 +-- .../play/clientbound/packet_block_action.py | 4 +-- .../packet_block_break_animation.py | 4 +-- .../play/clientbound/packet_block_change.py | 4 +-- .../proto/play/clientbound/packet_boss_bar.py | 12 +++---- .../mc/proto/play/clientbound/packet_chat.py | 6 ++-- .../proto/play/clientbound/packet_collect.py | 4 +-- .../play/clientbound/packet_combat_event.py | 8 ++--- .../clientbound/packet_craft_progress_bar.py | 4 +-- .../clientbound/packet_death_combat_event.py | 6 ++-- .../clientbound/packet_declare_commands.py | 4 +-- .../play/clientbound/packet_difficulty.py | 4 +-- .../play/clientbound/packet_entity_effect.py | 8 ++--- .../clientbound/packet_entity_equipment.py | 8 ++--- .../packet_entity_head_rotation.py | 4 +-- .../play/clientbound/packet_entity_look.py | 6 ++-- .../clientbound/packet_entity_metadata.py | 4 +-- .../clientbound/packet_entity_move_look.py | 10 +++--- .../clientbound/packet_entity_sound_effect.py | 8 ++--- .../play/clientbound/packet_entity_status.py | 4 +-- .../clientbound/packet_entity_teleport.py | 12 +++---- .../clientbound/packet_entity_velocity.py | 6 ++-- .../play/clientbound/packet_experience.py | 4 +-- .../play/clientbound/packet_explosion.py | 12 +++---- .../play/clientbound/packet_face_player.py | 10 +++--- .../clientbound/packet_game_state_change.py | 4 +-- .../packet_initialize_world_border.py | 10 +++--- .../mc/proto/play/clientbound/packet_login.py | 34 +++++++++--------- .../mc/proto/play/clientbound/packet_map.py | 12 +++---- .../play/clientbound/packet_map_chunk.py | 36 +++++++++---------- .../play/clientbound/packet_map_chunk_bulk.py | 10 +++--- .../clientbound/packet_multi_block_change.py | 10 +++--- .../clientbound/packet_named_entity_spawn.py | 16 ++++----- .../clientbound/packet_named_sound_effect.py | 10 +++--- .../clientbound/packet_nbt_query_response.py | 4 +-- .../play/clientbound/packet_open_window.py | 8 ++--- .../play/clientbound/packet_player_info.py | 8 ++--- .../clientbound/packet_playerlist_header.py | 4 +-- .../proto/play/clientbound/packet_position.py | 14 ++++---- .../clientbound/packet_rel_entity_move.py | 6 ++-- .../packet_remove_entity_effect.py | 4 +-- .../clientbound/packet_resource_pack_send.py | 4 +-- .../proto/play/clientbound/packet_respawn.py | 16 ++++----- .../packet_scoreboard_objective.py | 6 ++-- .../clientbound/packet_scoreboard_score.py | 4 +-- .../clientbound/packet_scoreboard_team.py | 12 +++---- .../packet_sculk_vibration_signal.py | 4 +-- .../play/clientbound/packet_set_cooldown.py | 4 +-- .../proto/play/clientbound/packet_set_slot.py | 4 +-- .../play/clientbound/packet_set_title_time.py | 4 +-- .../play/clientbound/packet_sound_effect.py | 12 +++---- .../play/clientbound/packet_spawn_entity.py | 20 +++++------ .../packet_spawn_entity_experience_orb.py | 10 +++--- .../clientbound/packet_spawn_entity_living.py | 22 ++++++------ .../packet_spawn_entity_painting.py | 8 ++--- .../packet_spawn_entity_weather.py | 10 +++--- .../play/clientbound/packet_spawn_position.py | 4 +-- .../play/clientbound/packet_stop_sound.py | 6 ++-- .../play/clientbound/packet_tab_complete.py | 8 ++--- .../mc/proto/play/clientbound/packet_tags.py | 8 ++--- .../mc/proto/play/clientbound/packet_teams.py | 20 +++++------ .../clientbound/packet_tile_entity_data.py | 4 +-- .../mc/proto/play/clientbound/packet_title.py | 6 ++-- .../play/clientbound/packet_trade_list.py | 8 ++--- .../play/clientbound/packet_unload_chunk.py | 4 +-- .../play/clientbound/packet_unlock_recipes.py | 20 +++++------ .../clientbound/packet_update_entity_nbt.py | 4 +-- .../play/clientbound/packet_update_health.py | 4 +-- .../play/clientbound/packet_update_light.py | 16 ++++----- .../play/clientbound/packet_update_sign.py | 4 +-- .../packet_update_view_position.py | 4 +-- .../play/clientbound/packet_vehicle_move.py | 6 ++-- .../play/clientbound/packet_window_items.py | 8 ++--- .../play/clientbound/packet_world_border.py | 18 +++++----- .../clientbound/packet_world_border_center.py | 4 +-- .../packet_world_border_lerp_size.py | 4 +-- .../play/clientbound/packet_world_event.py | 6 ++-- .../clientbound/packet_world_particles.py | 16 ++++----- .../play/serverbound/packet_abilities.py | 4 +-- .../serverbound/packet_advancement_tab.py | 4 +-- .../play/serverbound/packet_block_dig.py | 4 +-- .../play/serverbound/packet_block_place.py | 8 ++--- .../play/serverbound/packet_client_command.py | 4 +-- .../packet_craft_recipe_request.py | 4 +-- .../play/serverbound/packet_edit_book.py | 8 ++--- .../play/serverbound/packet_enchant_item.py | 4 +-- .../play/serverbound/packet_entity_action.py | 4 +-- .../serverbound/packet_generate_structure.py | 4 +-- .../mc/proto/play/serverbound/packet_look.py | 4 +-- .../proto/play/serverbound/packet_position.py | 8 ++--- .../play/serverbound/packet_position_look.py | 10 +++--- .../packet_prepare_crafting_grid.py | 8 ++--- .../serverbound/packet_query_block_nbt.py | 4 +-- .../serverbound/packet_query_entity_nbt.py | 4 +-- .../play/serverbound/packet_recipe_book.py | 4 +-- .../proto/play/serverbound/packet_settings.py | 12 +++---- .../play/serverbound/packet_steer_boat.py | 4 +-- .../play/serverbound/packet_steer_vehicle.py | 2 +- .../play/serverbound/packet_tab_complete.py | 8 ++--- .../packet_update_command_block.py | 6 ++-- .../serverbound/packet_update_jigsaw_block.py | 10 +++--- .../play/serverbound/packet_update_sign.py | 4 +-- .../packet_update_structure_block.py | 24 ++++++------- .../play/serverbound/packet_use_entity.py | 14 ++++---- .../play/serverbound/packet_vehicle_move.py | 6 ++-- .../play/serverbound/packet_window_click.py | 12 +++---- 114 files changed, 450 insertions(+), 450 deletions(-) diff --git a/aiocraft/mc/proto/handshaking/serverbound/packet_set_protocol.py b/aiocraft/mc/proto/handshaking/serverbound/packet_set_protocol.py index 5ba66b4..d7c695d 100644 --- a/aiocraft/mc/proto/handshaking/serverbound/packet_set_protocol.py +++ b/aiocraft/mc/proto/handshaking/serverbound/packet_set_protocol.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketSetProtocol(Packet): - __slots__ = ( 'id', 'serverHost', 'nextState', 'protocolVersion', 'serverPort' ) + __slots__ = ( 'id', 'nextState', 'serverPort', 'protocolVersion', 'serverHost' ) - serverHost : str nextState : int - protocolVersion : int serverPort : int + protocolVersion : int + serverHost : str _state : int = 0 diff --git a/aiocraft/mc/proto/login/clientbound/packet_encryption_begin.py b/aiocraft/mc/proto/login/clientbound/packet_encryption_begin.py index 41a0b9a..4b345da 100644 --- a/aiocraft/mc/proto/login/clientbound/packet_encryption_begin.py +++ b/aiocraft/mc/proto/login/clientbound/packet_encryption_begin.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketEncryptionBegin(Packet): - __slots__ = ( 'id', 'verifyToken', 'publicKey', 'serverId' ) + __slots__ = ( 'id', 'publicKey', 'serverId', 'verifyToken' ) - verifyToken : bytes publicKey : bytes serverId : str + verifyToken : bytes _state : int = 2 diff --git a/aiocraft/mc/proto/login/clientbound/packet_login_plugin_request.py b/aiocraft/mc/proto/login/clientbound/packet_login_plugin_request.py index 54d4341..f4ba854 100644 --- a/aiocraft/mc/proto/login/clientbound/packet_login_plugin_request.py +++ b/aiocraft/mc/proto/login/clientbound/packet_login_plugin_request.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketLoginPluginRequest(Packet): - __slots__ = ( 'id', 'messageId', 'channel', 'data' ) + __slots__ = ( 'id', 'channel', 'messageId', 'data' ) - messageId : int channel : str + messageId : int data : bytes _state : int = 2 diff --git a/aiocraft/mc/proto/login/clientbound/packet_success.py b/aiocraft/mc/proto/login/clientbound/packet_success.py index 4707eac..b9a7f31 100644 --- a/aiocraft/mc/proto/login/clientbound/packet_success.py +++ b/aiocraft/mc/proto/login/clientbound/packet_success.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketSuccess(Packet): - __slots__ = ( 'id', 'username', 'uuid' ) + __slots__ = ( 'id', 'uuid', 'username' ) - username : str uuid : str + username : str _state : int = 2 diff --git a/aiocraft/mc/proto/login/serverbound/packet_encryption_begin.py b/aiocraft/mc/proto/login/serverbound/packet_encryption_begin.py index c412292..818737c 100644 --- a/aiocraft/mc/proto/login/serverbound/packet_encryption_begin.py +++ b/aiocraft/mc/proto/login/serverbound/packet_encryption_begin.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketEncryptionBegin(Packet): - __slots__ = ( 'id', 'verifyToken', 'sharedSecret' ) + __slots__ = ( 'id', 'sharedSecret', 'verifyToken' ) - verifyToken : bytes sharedSecret : bytes + verifyToken : bytes _state : int = 2 diff --git a/aiocraft/mc/proto/play/clientbound/packet_abilities.py b/aiocraft/mc/proto/play/clientbound/packet_abilities.py index a93d5fd..580e12f 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_abilities.py +++ b/aiocraft/mc/proto/play/clientbound/packet_abilities.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketAbilities(Packet): - __slots__ = ( 'id', 'flags', 'walkingSpeed', 'flyingSpeed' ) + __slots__ = ( 'id', 'flyingSpeed', 'flags', 'walkingSpeed' ) + flyingSpeed : float flags : int walkingSpeed : float - flyingSpeed : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_acknowledge_player_digging.py b/aiocraft/mc/proto/play/clientbound/packet_acknowledge_player_digging.py index a28966d..7337d8a 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_acknowledge_player_digging.py +++ b/aiocraft/mc/proto/play/clientbound/packet_acknowledge_player_digging.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketAcknowledgePlayerDigging(Packet): - __slots__ = ( 'id', 'block', 'location', 'status', 'successful' ) + __slots__ = ( 'id', 'location', 'status', 'successful', 'block' ) - block : int location : tuple status : int successful : bool + block : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_advancements.py b/aiocraft/mc/proto/play/clientbound/packet_advancements.py index 60a4de2..ac4547c 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_advancements.py +++ b/aiocraft/mc/proto/play/clientbound/packet_advancements.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketAdvancements(Packet): - __slots__ = ( 'id', 'advancementMapping', 'identifiers', 'reset', 'progressMapping' ) + __slots__ = ( 'id', 'reset', 'progressMapping', 'advancementMapping', 'identifiers' ) - advancementMapping : list - identifiers : list reset : bool progressMapping : list + advancementMapping : list + identifiers : list _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_attach_entity.py b/aiocraft/mc/proto/play/clientbound/packet_attach_entity.py index 839c6d4..2d257bf 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_attach_entity.py +++ b/aiocraft/mc/proto/play/clientbound/packet_attach_entity.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketAttachEntity(Packet): - __slots__ = ( 'id', 'leash', 'vehicleId', 'entityId' ) + __slots__ = ( 'id', 'vehicleId', 'entityId', 'leash' ) - leash : bool vehicleId : int entityId : int + leash : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_block_action.py b/aiocraft/mc/proto/play/clientbound/packet_block_action.py index 9f9d7a0..1f562f1 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_block_action.py +++ b/aiocraft/mc/proto/play/clientbound/packet_block_action.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketBlockAction(Packet): - __slots__ = ( 'id', 'location', 'byte2', 'byte1', 'blockId' ) + __slots__ = ( 'id', 'location', 'byte2', 'blockId', 'byte1' ) location : Union[bytes,tuple] byte2 : int - byte1 : int blockId : int + byte1 : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_block_break_animation.py b/aiocraft/mc/proto/play/clientbound/packet_block_break_animation.py index caa0bb0..0ccd433 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_block_break_animation.py +++ b/aiocraft/mc/proto/play/clientbound/packet_block_break_animation.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketBlockBreakAnimation(Packet): - __slots__ = ( 'id', 'location', 'entityId', 'destroyStage' ) + __slots__ = ( 'id', 'location', 'destroyStage', 'entityId' ) location : Union[bytes,tuple] - entityId : int destroyStage : int + entityId : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_block_change.py b/aiocraft/mc/proto/play/clientbound/packet_block_change.py index d402edc..6a971b8 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_block_change.py +++ b/aiocraft/mc/proto/play/clientbound/packet_block_change.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketBlockChange(Packet): - __slots__ = ( 'id', 'metadata', 'location', 'type' ) + __slots__ = ( 'id', 'location', 'type', 'metadata' ) - metadata : int location : Union[bytes,tuple] type : int + metadata : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_boss_bar.py b/aiocraft/mc/proto/play/clientbound/packet_boss_bar.py index 79cc951..79c6ff7 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_boss_bar.py +++ b/aiocraft/mc/proto/play/clientbound/packet_boss_bar.py @@ -5,15 +5,15 @@ from ....packet import Packet from ....types import * class PacketBossBar(Packet): - __slots__ = ( 'id', 'dividers', 'flags', 'health', 'title', 'color', 'action', 'entityUUID' ) + __slots__ = ( 'id', 'health', 'flags', 'dividers', 'entityUUID', 'action', 'color', 'title' ) - dividers : bytes - flags : bytes health : bytes - title : bytes - color : bytes - action : int + flags : bytes + dividers : bytes entityUUID : str + action : int + color : bytes + title : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_chat.py b/aiocraft/mc/proto/play/clientbound/packet_chat.py index 8600035..050069c 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_chat.py +++ b/aiocraft/mc/proto/play/clientbound/packet_chat.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketChat(Packet): - __slots__ = ( 'id', 'position', 'sender', 'message' ) + __slots__ = ( 'id', 'message', 'sender', 'position' ) - position : int - sender : str message : str + sender : str + position : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_collect.py b/aiocraft/mc/proto/play/clientbound/packet_collect.py index f5a25cd..9ecc157 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_collect.py +++ b/aiocraft/mc/proto/play/clientbound/packet_collect.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketCollect(Packet): - __slots__ = ( 'id', 'collectedEntityId', 'pickupItemCount', 'collectorEntityId' ) + __slots__ = ( 'id', 'collectedEntityId', 'collectorEntityId', 'pickupItemCount' ) collectedEntityId : int - pickupItemCount : int collectorEntityId : int + pickupItemCount : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_combat_event.py b/aiocraft/mc/proto/play/clientbound/packet_combat_event.py index f5fd3c0..008ee26 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_combat_event.py +++ b/aiocraft/mc/proto/play/clientbound/packet_combat_event.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketCombatEvent(Packet): - __slots__ = ( 'id', 'event', 'playerId', 'message', 'entityId', 'duration' ) + __slots__ = ( 'id', 'entityId', 'event', 'message', 'playerId', 'duration' ) - event : int - playerId : bytes - message : bytes entityId : bytes + event : int + message : bytes + playerId : bytes duration : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_craft_progress_bar.py b/aiocraft/mc/proto/play/clientbound/packet_craft_progress_bar.py index a6a7248..77308b4 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_craft_progress_bar.py +++ b/aiocraft/mc/proto/play/clientbound/packet_craft_progress_bar.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketCraftProgressBar(Packet): - __slots__ = ( 'id', 'windowId', 'value', 'property' ) + __slots__ = ( 'id', 'value', 'windowId', 'property' ) - windowId : int value : int + windowId : int property : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_death_combat_event.py b/aiocraft/mc/proto/play/clientbound/packet_death_combat_event.py index 91279c6..11c8594 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_death_combat_event.py +++ b/aiocraft/mc/proto/play/clientbound/packet_death_combat_event.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketDeathCombatEvent(Packet): - __slots__ = ( 'id', 'playerId', 'entityId', 'message' ) + __slots__ = ( 'id', 'message', 'entityId', 'playerId' ) - playerId : int - entityId : int message : str + entityId : int + playerId : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_declare_commands.py b/aiocraft/mc/proto/play/clientbound/packet_declare_commands.py index 98102ba..7e888cc 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_declare_commands.py +++ b/aiocraft/mc/proto/play/clientbound/packet_declare_commands.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketDeclareCommands(Packet): - __slots__ = ( 'id', 'rootIndex', 'nodes' ) + __slots__ = ( 'id', 'nodes', 'rootIndex' ) - rootIndex : int nodes : list + rootIndex : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_difficulty.py b/aiocraft/mc/proto/play/clientbound/packet_difficulty.py index afb5abe..8801ace 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_difficulty.py +++ b/aiocraft/mc/proto/play/clientbound/packet_difficulty.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketDifficulty(Packet): - __slots__ = ( 'id', 'difficulty', 'difficultyLocked' ) + __slots__ = ( 'id', 'difficultyLocked', 'difficulty' ) - difficulty : int difficultyLocked : bool + difficulty : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_effect.py b/aiocraft/mc/proto/play/clientbound/packet_entity_effect.py index 14fcec0..614e25d 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_effect.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_effect.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketEntityEffect(Packet): - __slots__ = ( 'id', 'entityId', 'amplifier', 'hideParticles', 'duration', 'effectId' ) + __slots__ = ( 'id', 'amplifier', 'entityId', 'effectId', 'duration', 'hideParticles' ) - entityId : int amplifier : int - hideParticles : Union[bool,int] - duration : int + entityId : int effectId : int + duration : int + hideParticles : Union[int,bool] _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_equipment.py b/aiocraft/mc/proto/play/clientbound/packet_entity_equipment.py index 3fa497f..4a2831f 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_equipment.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_equipment.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketEntityEquipment(Packet): - __slots__ = ( 'id', 'item', 'slot', 'entityId', 'equipments' ) + __slots__ = ( 'id', 'equipments', 'item', 'entityId', 'slot' ) - item : dict - slot : int - entityId : int equipments : bytes + item : dict + entityId : int + slot : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_head_rotation.py b/aiocraft/mc/proto/play/clientbound/packet_entity_head_rotation.py index dd1fe75..b6e065b 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_head_rotation.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_head_rotation.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketEntityHeadRotation(Packet): - __slots__ = ( 'id', 'headYaw', 'entityId' ) + __slots__ = ( 'id', 'entityId', 'headYaw' ) - headYaw : int entityId : int + headYaw : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_look.py b/aiocraft/mc/proto/play/clientbound/packet_entity_look.py index f213078..316b9e6 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_look.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_look.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketEntityLook(Packet): - __slots__ = ( 'id', 'yaw', 'pitch', 'entityId', 'onGround' ) + __slots__ = ( 'id', 'onGround', 'entityId', 'yaw', 'pitch' ) + onGround : bool + entityId : int yaw : int pitch : int - entityId : int - onGround : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_metadata.py b/aiocraft/mc/proto/play/clientbound/packet_entity_metadata.py index 3a46268..a47c615 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_metadata.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_metadata.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketEntityMetadata(Packet): - __slots__ = ( 'id', 'metadata', 'entityId' ) + __slots__ = ( 'id', 'entityId', 'metadata' ) - metadata : bytes entityId : int + metadata : dict _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_move_look.py b/aiocraft/mc/proto/play/clientbound/packet_entity_move_look.py index 2fdc44c..f356b79 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_move_look.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_move_look.py @@ -5,15 +5,15 @@ from ....packet import Packet from ....types import * class PacketEntityMoveLook(Packet): - __slots__ = ( 'id', 'dX', 'pitch', 'dY', 'yaw', 'entityId', 'onGround', 'dZ' ) + __slots__ = ( 'id', 'entityId', 'onGround', 'dZ', 'dX', 'yaw', 'pitch', 'dY' ) - dX : int - pitch : int - dY : int - yaw : int entityId : int onGround : bool dZ : int + dX : int + yaw : int + pitch : int + dY : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_sound_effect.py b/aiocraft/mc/proto/play/clientbound/packet_entity_sound_effect.py index 1d95d24..71a969e 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_sound_effect.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_sound_effect.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketEntitySoundEffect(Packet): - __slots__ = ( 'id', 'pitch', 'soundId', 'soundCategory', 'entityId', 'volume' ) + __slots__ = ( 'id', 'entityId', 'soundCategory', 'volume', 'pitch', 'soundId' ) + entityId : int + soundCategory : int + volume : float pitch : float soundId : int - soundCategory : int - entityId : int - volume : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_status.py b/aiocraft/mc/proto/play/clientbound/packet_entity_status.py index 6410a47..ea5fe54 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_status.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_status.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketEntityStatus(Packet): - __slots__ = ( 'id', 'entityId', 'entityStatus' ) + __slots__ = ( 'id', 'entityStatus', 'entityId' ) - entityId : int entityStatus : int + entityId : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_teleport.py b/aiocraft/mc/proto/play/clientbound/packet_entity_teleport.py index 010f34e..874a2de 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_teleport.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_teleport.py @@ -5,15 +5,15 @@ from ....packet import Packet from ....types import * class PacketEntityTeleport(Packet): - __slots__ = ( 'id', 'pitch', 'x', 'yaw', 'z', 'y', 'entityId', 'onGround' ) + __slots__ = ( 'id', 'entityId', 'onGround', 'z', 'yaw', 'x', 'pitch', 'y' ) - pitch : int - x : Union[int,float] - yaw : int - z : Union[int,float] - y : Union[int,float] entityId : int onGround : bool + z : Union[int,float] + yaw : int + x : Union[int,float] + pitch : int + y : Union[int,float] _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_entity_velocity.py b/aiocraft/mc/proto/play/clientbound/packet_entity_velocity.py index 973f1a1..23d48c8 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_entity_velocity.py +++ b/aiocraft/mc/proto/play/clientbound/packet_entity_velocity.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketEntityVelocity(Packet): - __slots__ = ( 'id', 'velocityX', 'velocityY', 'entityId', 'velocityZ' ) + __slots__ = ( 'id', 'velocityX', 'velocityZ', 'entityId', 'velocityY' ) velocityX : int - velocityY : int - entityId : int velocityZ : int + entityId : int + velocityY : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_experience.py b/aiocraft/mc/proto/play/clientbound/packet_experience.py index 814bb71..652838b 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_experience.py +++ b/aiocraft/mc/proto/play/clientbound/packet_experience.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketExperience(Packet): - __slots__ = ( 'id', 'experienceBar', 'level', 'totalExperience' ) + __slots__ = ( 'id', 'level', 'experienceBar', 'totalExperience' ) - experienceBar : float level : int + experienceBar : float totalExperience : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_explosion.py b/aiocraft/mc/proto/play/clientbound/packet_explosion.py index 8c45b7b..f1dacef 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_explosion.py +++ b/aiocraft/mc/proto/play/clientbound/packet_explosion.py @@ -5,16 +5,16 @@ from ....packet import Packet from ....types import * class PacketExplosion(Packet): - __slots__ = ( 'id', 'radius', 'x', 'affectedBlockOffsets', 'z', 'y', 'playerMotionY', 'playerMotionZ', 'playerMotionX' ) + __slots__ = ( 'id', 'affectedBlockOffsets', 'z', 'x', 'radius', 'playerMotionX', 'y', 'playerMotionZ', 'playerMotionY' ) - radius : float - x : float affectedBlockOffsets : list z : float - y : float - playerMotionY : float - playerMotionZ : float + x : float + radius : float playerMotionX : float + y : float + playerMotionZ : float + playerMotionY : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_face_player.py b/aiocraft/mc/proto/play/clientbound/packet_face_player.py index 7e5f132..9355385 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_face_player.py +++ b/aiocraft/mc/proto/play/clientbound/packet_face_player.py @@ -5,15 +5,15 @@ from ....packet import Packet from ....types import * class PacketFacePlayer(Packet): - __slots__ = ( 'id', 'x', 'entity_feet_eyes', 'z', 'y', 'entityId', 'feet_eyes', 'isEntity' ) + __slots__ = ( 'id', 'entityId', 'isEntity', 'z', 'feet_eyes', 'x', 'entity_feet_eyes', 'y' ) + entityId : bytes + isEntity : bool + z : float + feet_eyes : int x : float entity_feet_eyes : bytes - z : float y : float - entityId : bytes - feet_eyes : int - isEntity : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_game_state_change.py b/aiocraft/mc/proto/play/clientbound/packet_game_state_change.py index 550a450..b742b7f 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_game_state_change.py +++ b/aiocraft/mc/proto/play/clientbound/packet_game_state_change.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketGameStateChange(Packet): - __slots__ = ( 'id', 'gameMode', 'reason' ) + __slots__ = ( 'id', 'reason', 'gameMode' ) - gameMode : float reason : int + gameMode : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_initialize_world_border.py b/aiocraft/mc/proto/play/clientbound/packet_initialize_world_border.py index ad21d8e..5b89275 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_initialize_world_border.py +++ b/aiocraft/mc/proto/play/clientbound/packet_initialize_world_border.py @@ -5,16 +5,16 @@ from ....packet import Packet from ....types import * class PacketInitializeWorldBorder(Packet): - __slots__ = ( 'id', 'warningTime', 'x', 'newDiameter', 'oldDiameter', 'warningBlocks', 'z', 'portalTeleportBoundary', 'speed' ) + __slots__ = ( 'id', 'warningTime', 'z', 'oldDiameter', 'x', 'portalTeleportBoundary', 'warningBlocks', 'speed', 'newDiameter' ) warningTime : int - x : float - newDiameter : float - oldDiameter : float - warningBlocks : int z : float + oldDiameter : float + x : float portalTeleportBoundary : int + warningBlocks : int speed : int + newDiameter : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_login.py b/aiocraft/mc/proto/play/clientbound/packet_login.py index 9878b7e..be23a3c 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_login.py +++ b/aiocraft/mc/proto/play/clientbound/packet_login.py @@ -5,26 +5,26 @@ from ....packet import Packet from ....types import * class PacketLogin(Packet): - __slots__ = ( 'id', 'gameMode', 'worldName', 'dimensionCodec', 'isHardcore', 'viewDistance', 'simulationDistance', 'reducedDebugInfo', 'hashedSeed', 'maxPlayers', 'isDebug', 'previousGameMode', 'enableRespawnScreen', 'difficulty', 'entityId', 'isFlat', 'worldNames', 'levelType', 'dimension' ) + __slots__ = ( 'id', 'worldNames', 'reducedDebugInfo', 'entityId', 'gameMode', 'viewDistance', 'isHardcore', 'enableRespawnScreen', 'simulationDistance', 'dimensionCodec', 'isFlat', 'isDebug', 'hashedSeed', 'dimension', 'difficulty', 'levelType', 'maxPlayers', 'previousGameMode', 'worldName' ) - gameMode : int - worldName : str - dimensionCodec : bytes - isHardcore : bool - viewDistance : int - simulationDistance : int - reducedDebugInfo : bool - hashedSeed : int - maxPlayers : int - isDebug : bool - previousGameMode : int - enableRespawnScreen : bool - difficulty : int - entityId : int - isFlat : bool worldNames : list + reducedDebugInfo : bool + entityId : int + gameMode : int + viewDistance : int + isHardcore : bool + enableRespawnScreen : bool + simulationDistance : int + dimensionCodec : bytes + isFlat : bool + isDebug : bool + hashedSeed : int + dimension : Union[int,bytes,str] + difficulty : int levelType : str - dimension : Union[str,int,bytes] + maxPlayers : int + previousGameMode : int + worldName : str _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_map.py b/aiocraft/mc/proto/play/clientbound/packet_map.py index e9f7df9..4f3b0e0 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_map.py +++ b/aiocraft/mc/proto/play/clientbound/packet_map.py @@ -5,18 +5,18 @@ from ....packet import Packet from ....types import * class PacketMap(Packet): - __slots__ = ( 'id', 'scale', 'x', 'trackingPosition', 'itemDamage', 'data', 'icons', 'y', 'columns', 'rows', 'locked' ) + __slots__ = ( 'id', 'rows', 'itemDamage', 'columns', 'scale', 'x', 'locked', 'trackingPosition', 'y', 'data', 'icons' ) + rows : bytes + itemDamage : int + columns : int scale : int x : bytes + locked : bool trackingPosition : bool - itemDamage : int + y : bytes data : bytes icons : Union[list,tuple] - y : bytes - columns : int - rows : bytes - locked : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_map_chunk.py b/aiocraft/mc/proto/play/clientbound/packet_map_chunk.py index adf5bca..f257c1b 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_map_chunk.py +++ b/aiocraft/mc/proto/play/clientbound/packet_map_chunk.py @@ -5,27 +5,27 @@ from ....packet import Packet from ....types import * class PacketMapChunk(Packet): - __slots__ = ( 'id', 'trustEdges', 'biomes', 'groundUp', 'chunkData', 'skyLight', 'ignoreOldData', 'emptySkyLightMask', 'blockEntities', 'skyLightMask', 'primaryBitMask', 'compressedChunkData', 'bitMap', 'addBitMap', 'emptyBlockLightMask', 'x', 'blockLight', 'blockLightMask', 'heightmaps', 'z' ) + __slots__ = ( 'id', 'skyLightMask', 'z', 'blockLight', 'emptySkyLightMask', 'x', 'compressedChunkData', 'primaryBitMask', 'blockEntities', 'chunkData', 'groundUp', 'emptyBlockLightMask', 'bitMap', 'addBitMap', 'ignoreOldData', 'skyLight', 'biomes', 'blockLightMask', 'trustEdges', 'heightmaps' ) - trustEdges : bool - biomes : Union[bytes,list] - groundUp : bool - chunkData : bytes - skyLight : list - ignoreOldData : bool - emptySkyLightMask : list - blockEntities : list skyLightMask : list - primaryBitMask : list - compressedChunkData : bytes - bitMap : Union[list,int] - addBitMap : int - emptyBlockLightMask : list - x : int - blockLight : list - blockLightMask : list - heightmaps : bytes z : int + blockLight : list + emptySkyLightMask : list + x : int + compressedChunkData : bytes + primaryBitMask : list + blockEntities : list + chunkData : bytes + groundUp : bool + emptyBlockLightMask : list + bitMap : Union[int,list] + addBitMap : int + ignoreOldData : bool + skyLight : list + biomes : Union[bytes,list] + blockLightMask : list + trustEdges : bool + heightmaps : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_map_chunk_bulk.py b/aiocraft/mc/proto/play/clientbound/packet_map_chunk_bulk.py index 50ff2a9..54f7c03 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_map_chunk_bulk.py +++ b/aiocraft/mc/proto/play/clientbound/packet_map_chunk_bulk.py @@ -5,14 +5,14 @@ from ....packet import Packet from ....types import * class PacketMapChunkBulk(Packet): - __slots__ = ( 'id', 'data', 'meta', 'dataLength', 'compressedChunkData', 'chunkColumnCount', 'skyLightSent' ) + __slots__ = ( 'id', 'meta', 'skyLightSent', 'dataLength', 'chunkColumnCount', 'compressedChunkData', 'data' ) - data : bytes meta : list - dataLength : bytes - compressedChunkData : bytes - chunkColumnCount : bytes skyLightSent : bool + dataLength : bytes + chunkColumnCount : bytes + compressedChunkData : bytes + data : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_multi_block_change.py b/aiocraft/mc/proto/play/clientbound/packet_multi_block_change.py index 9412fc5..f139789 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_multi_block_change.py +++ b/aiocraft/mc/proto/play/clientbound/packet_multi_block_change.py @@ -5,15 +5,15 @@ from ....packet import Packet from ....types import * class PacketMultiBlockChange(Packet): - __slots__ = ( 'id', 'chunkCoordinates', 'dataLength', 'notTrustEdges', 'recordCount', 'records', 'chunkX', 'chunkZ' ) + __slots__ = ( 'id', 'chunkX', 'recordCount', 'records', 'dataLength', 'notTrustEdges', 'chunkZ', 'chunkCoordinates' ) - chunkCoordinates : bytes - dataLength : int - notTrustEdges : bool + chunkX : int recordCount : bytes records : list - chunkX : int + dataLength : int + notTrustEdges : bool chunkZ : int + chunkCoordinates : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_named_entity_spawn.py b/aiocraft/mc/proto/play/clientbound/packet_named_entity_spawn.py index c50c403..34cdc07 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_named_entity_spawn.py +++ b/aiocraft/mc/proto/play/clientbound/packet_named_entity_spawn.py @@ -5,19 +5,19 @@ from ....packet import Packet from ....types import * class PacketNamedEntitySpawn(Packet): - __slots__ = ( 'id', 'pitch', 'playerName', 'x', 'data', 'z', 'yaw', 'y', 'entityId', 'currentItem', 'playerUUID', 'metadata' ) + __slots__ = ( 'id', 'currentItem', 'entityId', 'z', 'playerName', 'x', 'yaw', 'pitch', 'playerUUID', 'metadata', 'y', 'data' ) - pitch : int + currentItem : int + entityId : int + z : Union[int,float] playerName : str x : Union[int,float] - data : list - z : Union[int,float] yaw : int - y : Union[int,float] - entityId : int - currentItem : int + pitch : int playerUUID : str - metadata : bytes + metadata : dict + y : Union[int,float] + data : list _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_named_sound_effect.py b/aiocraft/mc/proto/play/clientbound/packet_named_sound_effect.py index aaab8f2..d64c4d8 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_named_sound_effect.py +++ b/aiocraft/mc/proto/play/clientbound/packet_named_sound_effect.py @@ -5,15 +5,15 @@ from ....packet import Packet from ....types import * class PacketNamedSoundEffect(Packet): - __slots__ = ( 'id', 'pitch', 'x', 'soundName', 'z', 'y', 'soundCategory', 'volume' ) + __slots__ = ( 'id', 'z', 'soundCategory', 'volume', 'x', 'pitch', 'y', 'soundName' ) - pitch : Union[int,float] - x : int - soundName : str z : int - y : int soundCategory : int volume : float + x : int + pitch : Union[int,float] + y : int + soundName : str _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_nbt_query_response.py b/aiocraft/mc/proto/play/clientbound/packet_nbt_query_response.py index 7245124..5d10859 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_nbt_query_response.py +++ b/aiocraft/mc/proto/play/clientbound/packet_nbt_query_response.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketNbtQueryResponse(Packet): - __slots__ = ( 'id', 'nbt', 'transactionId' ) + __slots__ = ( 'id', 'transactionId', 'nbt' ) - nbt : bytes transactionId : int + nbt : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_open_window.py b/aiocraft/mc/proto/play/clientbound/packet_open_window.py index e2cf4a9..36a382a 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_open_window.py +++ b/aiocraft/mc/proto/play/clientbound/packet_open_window.py @@ -5,14 +5,14 @@ from ....packet import Packet from ....types import * class PacketOpenWindow(Packet): - __slots__ = ( 'id', 'useProvidedTitle', 'windowId', 'inventoryType', 'slotCount', 'windowTitle', 'entityId' ) + __slots__ = ( 'id', 'slotCount', 'windowTitle', 'entityId', 'inventoryType', 'windowId', 'useProvidedTitle' ) - useProvidedTitle : bool - windowId : int - inventoryType : Union[str,int] slotCount : int windowTitle : str entityId : bytes + inventoryType : Union[str,int] + windowId : int + useProvidedTitle : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_player_info.py b/aiocraft/mc/proto/play/clientbound/packet_player_info.py index c48399e..152f04a 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_player_info.py +++ b/aiocraft/mc/proto/play/clientbound/packet_player_info.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketPlayerInfo(Packet): - __slots__ = ( 'id', 'playerName', 'data', 'online', 'action', 'ping' ) + __slots__ = ( 'id', 'online', 'ping', 'playerName', 'action', 'data' ) - playerName : str - data : list online : bool - action : int ping : int + playerName : str + action : int + data : list _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_playerlist_header.py b/aiocraft/mc/proto/play/clientbound/packet_playerlist_header.py index 2506c17..dcf4611 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_playerlist_header.py +++ b/aiocraft/mc/proto/play/clientbound/packet_playerlist_header.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketPlayerlistHeader(Packet): - __slots__ = ( 'id', 'footer', 'header' ) + __slots__ = ( 'id', 'header', 'footer' ) - footer : str header : str + footer : str _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_position.py b/aiocraft/mc/proto/play/clientbound/packet_position.py index cf6c3aa..560b99b 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_position.py +++ b/aiocraft/mc/proto/play/clientbound/packet_position.py @@ -5,17 +5,17 @@ from ....packet import Packet from ....types import * class PacketPosition(Packet): - __slots__ = ( 'id', 'pitch', 'x', 'dismountVehicle', 'z', 'yaw', 'y', 'onGround', 'flags', 'teleportId' ) + __slots__ = ( 'id', 'flags', 'onGround', 'z', 'yaw', 'x', 'pitch', 'dismountVehicle', 'teleportId', 'y' ) - pitch : float - x : float - dismountVehicle : bool + flags : int + onGround : bool z : float yaw : float - y : float - onGround : bool - flags : int + x : float + pitch : float + dismountVehicle : bool teleportId : int + y : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_rel_entity_move.py b/aiocraft/mc/proto/play/clientbound/packet_rel_entity_move.py index c2e4837..180bfe4 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_rel_entity_move.py +++ b/aiocraft/mc/proto/play/clientbound/packet_rel_entity_move.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketRelEntityMove(Packet): - __slots__ = ( 'id', 'dX', 'dY', 'entityId', 'onGround', 'dZ' ) + __slots__ = ( 'id', 'entityId', 'onGround', 'dZ', 'dX', 'dY' ) - dX : int - dY : int entityId : int onGround : bool dZ : int + dX : int + dY : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_remove_entity_effect.py b/aiocraft/mc/proto/play/clientbound/packet_remove_entity_effect.py index 7682110..b1bc2d5 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_remove_entity_effect.py +++ b/aiocraft/mc/proto/play/clientbound/packet_remove_entity_effect.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketRemoveEntityEffect(Packet): - __slots__ = ( 'id', 'entityId', 'effectId' ) + __slots__ = ( 'id', 'effectId', 'entityId' ) - entityId : int effectId : int + entityId : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_resource_pack_send.py b/aiocraft/mc/proto/play/clientbound/packet_resource_pack_send.py index a4f1058..3d71582 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_resource_pack_send.py +++ b/aiocraft/mc/proto/play/clientbound/packet_resource_pack_send.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketResourcePackSend(Packet): - __slots__ = ( 'id', 'hash', 'forced', 'promptMessage', 'url' ) + __slots__ = ( 'id', 'forced', 'promptMessage', 'hash', 'url' ) - hash : str forced : bool promptMessage : tuple + hash : str url : str _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_respawn.py b/aiocraft/mc/proto/play/clientbound/packet_respawn.py index 8ff5557..898be54 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_respawn.py +++ b/aiocraft/mc/proto/play/clientbound/packet_respawn.py @@ -5,18 +5,18 @@ from ....packet import Packet from ....types import * class PacketRespawn(Packet): - __slots__ = ( 'id', 'worldName', 'gamemode', 'hashedSeed', 'previousGamemode', 'isDebug', 'copyMetadata', 'difficulty', 'isFlat', 'levelType', 'dimension' ) + __slots__ = ( 'id', 'copyMetadata', 'isFlat', 'isDebug', 'hashedSeed', 'dimension', 'gamemode', 'difficulty', 'levelType', 'previousGamemode', 'worldName' ) - worldName : str - gamemode : int - hashedSeed : int - previousGamemode : int - isDebug : bool copyMetadata : bool - difficulty : int isFlat : bool + isDebug : bool + hashedSeed : int + dimension : Union[int,bytes,str] + gamemode : int + difficulty : int levelType : str - dimension : Union[bytes,str,int] + previousGamemode : int + worldName : str _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_scoreboard_objective.py b/aiocraft/mc/proto/play/clientbound/packet_scoreboard_objective.py index b5d79d2..d3758e2 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_scoreboard_objective.py +++ b/aiocraft/mc/proto/play/clientbound/packet_scoreboard_objective.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketScoreboardObjective(Packet): - __slots__ = ( 'id', 'name', 'action', 'type', 'displayText' ) + __slots__ = ( 'id', 'name', 'type', 'action', 'displayText' ) name : str - action : int type : bytes - displayText : Union[bytes,str] + action : int + displayText : Union[str,bytes] _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_scoreboard_score.py b/aiocraft/mc/proto/play/clientbound/packet_scoreboard_score.py index 3490d3d..12d7b80 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_scoreboard_score.py +++ b/aiocraft/mc/proto/play/clientbound/packet_scoreboard_score.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketScoreboardScore(Packet): - __slots__ = ( 'id', 'action', 'value', 'itemName', 'scoreName' ) + __slots__ = ( 'id', 'value', 'action', 'itemName', 'scoreName' ) - action : int value : bytes + action : int itemName : str scoreName : Union[str,bytes] diff --git a/aiocraft/mc/proto/play/clientbound/packet_scoreboard_team.py b/aiocraft/mc/proto/play/clientbound/packet_scoreboard_team.py index 7f35f97..149d44b 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_scoreboard_team.py +++ b/aiocraft/mc/proto/play/clientbound/packet_scoreboard_team.py @@ -5,18 +5,18 @@ from ....packet import Packet from ....types import * class PacketScoreboardTeam(Packet): - __slots__ = ( 'id', 'suffix', 'players', 'prefix', 'nameTagVisibility', 'color', 'name', 'collisionRule', 'mode', 'team', 'friendlyFire' ) + __slots__ = ( 'id', 'collisionRule', 'name', 'friendlyFire', 'players', 'prefix', 'suffix', 'nameTagVisibility', 'color', 'team', 'mode' ) - suffix : bytes + collisionRule : bytes + name : bytes + friendlyFire : bytes players : bytes prefix : bytes + suffix : bytes nameTagVisibility : bytes color : bytes - name : bytes - collisionRule : bytes - mode : int team : str - friendlyFire : bytes + mode : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_sculk_vibration_signal.py b/aiocraft/mc/proto/play/clientbound/packet_sculk_vibration_signal.py index c05a18d..a904b71 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_sculk_vibration_signal.py +++ b/aiocraft/mc/proto/play/clientbound/packet_sculk_vibration_signal.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketSculkVibrationSignal(Packet): - __slots__ = ( 'id', 'destination', 'arrivalTicks', 'sourcePosition', 'destinationIdentifier' ) + __slots__ = ( 'id', 'destination', 'arrivalTicks', 'destinationIdentifier', 'sourcePosition' ) destination : bytes arrivalTicks : int - sourcePosition : tuple destinationIdentifier : str + sourcePosition : tuple _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_set_cooldown.py b/aiocraft/mc/proto/play/clientbound/packet_set_cooldown.py index 50db09a..4eabb47 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_set_cooldown.py +++ b/aiocraft/mc/proto/play/clientbound/packet_set_cooldown.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketSetCooldown(Packet): - __slots__ = ( 'id', 'cooldownTicks', 'itemID' ) + __slots__ = ( 'id', 'itemID', 'cooldownTicks' ) - cooldownTicks : int itemID : int + cooldownTicks : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_set_slot.py b/aiocraft/mc/proto/play/clientbound/packet_set_slot.py index 6de136e..18d1549 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_set_slot.py +++ b/aiocraft/mc/proto/play/clientbound/packet_set_slot.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketSetSlot(Packet): - __slots__ = ( 'id', 'item', 'windowId', 'slot', 'stateId' ) + __slots__ = ( 'id', 'windowId', 'item', 'slot', 'stateId' ) - item : dict windowId : int + item : dict slot : int stateId : int diff --git a/aiocraft/mc/proto/play/clientbound/packet_set_title_time.py b/aiocraft/mc/proto/play/clientbound/packet_set_title_time.py index a352fb2..9671b7d 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_set_title_time.py +++ b/aiocraft/mc/proto/play/clientbound/packet_set_title_time.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketSetTitleTime(Packet): - __slots__ = ( 'id', 'fadeIn', 'fadeOut', 'stay' ) + __slots__ = ( 'id', 'fadeOut', 'stay', 'fadeIn' ) - fadeIn : int fadeOut : int stay : int + fadeIn : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_sound_effect.py b/aiocraft/mc/proto/play/clientbound/packet_sound_effect.py index 6c23d07..c335096 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_sound_effect.py +++ b/aiocraft/mc/proto/play/clientbound/packet_sound_effect.py @@ -5,16 +5,16 @@ from ....packet import Packet from ....types import * class PacketSoundEffect(Packet): - __slots__ = ( 'id', 'pitch', 'x', 'soundId', 'parrottedEntityType', 'z', 'y', 'soundCategory', 'volume' ) + __slots__ = ( 'id', 'z', 'soundCategory', 'volume', 'x', 'pitch', 'soundId', 'parrottedEntityType', 'y' ) - pitch : Union[int,float] - x : int - soundId : int - parrottedEntityType : str z : int - y : int soundCategory : int volume : float + x : int + pitch : Union[int,float] + soundId : int + parrottedEntityType : str + y : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity.py b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity.py index 991602d..16fdb38 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity.py +++ b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity.py @@ -5,21 +5,21 @@ from ....packet import Packet from ....types import * class PacketSpawnEntity(Packet): - __slots__ = ( 'id', 'pitch', 'velocityX', 'type', 'x', 'objectUUID', 'velocityY', 'velocityZ', 'z', 'yaw', 'y', 'entityId', 'entityUUID', 'objectData' ) + __slots__ = ( 'id', 'velocityZ', 'entityId', 'objectData', 'velocityY', 'z', 'velocityX', 'objectUUID', 'entityUUID', 'x', 'pitch', 'yaw', 'y', 'type' ) - pitch : int - velocityX : int - type : int - x : Union[int,float] - objectUUID : str - velocityY : int velocityZ : int + entityId : int + objectData : Union[int,dict] + velocityY : int z : Union[int,float] + velocityX : int + objectUUID : str + entityUUID : str + x : Union[int,float] + pitch : int yaw : int y : Union[int,float] - entityId : int - entityUUID : str - objectData : Union[dict,int] + type : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_experience_orb.py b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_experience_orb.py index 0c5e49e..3be36b6 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_experience_orb.py +++ b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_experience_orb.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketSpawnEntityExperienceOrb(Packet): - __slots__ = ( 'id', 'x', 'count', 'z', 'y', 'entityId' ) + __slots__ = ( 'id', 'entityId', 'z', 'count', 'x', 'y' ) - x : Union[int,float] - count : int - z : Union[int,float] - y : Union[int,float] entityId : int + z : Union[int,float] + count : int + x : Union[int,float] + y : Union[int,float] _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_living.py b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_living.py index 00986f5..dc36dea 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_living.py +++ b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_living.py @@ -5,21 +5,21 @@ from ....packet import Packet from ....types import * class PacketSpawnEntityLiving(Packet): - __slots__ = ( 'id', 'pitch', 'headPitch', 'velocityX', 'type', 'x', 'velocityZ', 'z', 'yaw', 'y', 'entityId', 'entityUUID', 'metadata', 'velocityY' ) + __slots__ = ( 'id', 'velocityZ', 'entityId', 'velocityY', 'z', 'velocityX', 'headPitch', 'entityUUID', 'x', 'yaw', 'pitch', 'metadata', 'y', 'type' ) - pitch : int - headPitch : int - velocityX : int - type : int - x : Union[int,float] velocityZ : int - z : Union[int,float] - yaw : int - y : Union[int,float] entityId : int - entityUUID : str - metadata : bytes velocityY : int + z : Union[int,float] + velocityX : int + headPitch : int + entityUUID : str + x : Union[int,float] + yaw : int + pitch : int + metadata : dict + y : Union[int,float] + type : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_painting.py b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_painting.py index 87b3a38..26d64dd 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_painting.py +++ b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_painting.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketSpawnEntityPainting(Packet): - __slots__ = ( 'id', 'direction', 'title', 'location', 'entityId', 'entityUUID' ) + __slots__ = ( 'id', 'entityId', 'entityUUID', 'direction', 'location', 'title' ) - direction : int - title : Union[str,int] - location : Union[bytes,tuple] entityId : int entityUUID : str + direction : int + location : Union[bytes,tuple] + title : Union[int,str] _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_weather.py b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_weather.py index 1c4a724..114572c 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_weather.py +++ b/aiocraft/mc/proto/play/clientbound/packet_spawn_entity_weather.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketSpawnEntityWeather(Packet): - __slots__ = ( 'id', 'type', 'x', 'z', 'y', 'entityId' ) + __slots__ = ( 'id', 'entityId', 'z', 'x', 'y', 'type' ) - type : int - x : Union[int,float] - z : Union[int,float] - y : Union[int,float] entityId : int + z : Union[int,float] + x : Union[int,float] + y : Union[int,float] + type : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_spawn_position.py b/aiocraft/mc/proto/play/clientbound/packet_spawn_position.py index d255136..0f33e6e 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_spawn_position.py +++ b/aiocraft/mc/proto/play/clientbound/packet_spawn_position.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketSpawnPosition(Packet): - __slots__ = ( 'id', 'angle', 'location' ) + __slots__ = ( 'id', 'location', 'angle' ) - angle : float location : Union[bytes,tuple] + angle : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_stop_sound.py b/aiocraft/mc/proto/play/clientbound/packet_stop_sound.py index 475a639..2951484 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_stop_sound.py +++ b/aiocraft/mc/proto/play/clientbound/packet_stop_sound.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketStopSound(Packet): - __slots__ = ( 'id', 'sound', 'flags', 'source' ) + __slots__ = ( 'id', 'source', 'flags', 'sound' ) - sound : bytes - flags : int source : bytes + flags : int + sound : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_tab_complete.py b/aiocraft/mc/proto/play/clientbound/packet_tab_complete.py index cc6c7d8..78512c2 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_tab_complete.py +++ b/aiocraft/mc/proto/play/clientbound/packet_tab_complete.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketTabComplete(Packet): - __slots__ = ( 'id', 'transactionId', 'length', 'start', 'matches' ) + __slots__ = ( 'id', 'matches', 'length', 'transactionId', 'start' ) - transactionId : int - length : int - start : int matches : list + length : int + transactionId : int + start : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_tags.py b/aiocraft/mc/proto/play/clientbound/packet_tags.py index eb9197e..476715c 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_tags.py +++ b/aiocraft/mc/proto/play/clientbound/packet_tags.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketTags(Packet): - __slots__ = ( 'id', 'itemTags', 'fluidTags', 'entityTags', 'tags', 'blockTags' ) + __slots__ = ( 'id', 'tags', 'blockTags', 'fluidTags', 'itemTags', 'entityTags' ) - itemTags : bytes - fluidTags : bytes - entityTags : bytes tags : list blockTags : bytes + fluidTags : bytes + itemTags : bytes + entityTags : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_teams.py b/aiocraft/mc/proto/play/clientbound/packet_teams.py index 4353a7d..b78081e 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_teams.py +++ b/aiocraft/mc/proto/play/clientbound/packet_teams.py @@ -5,19 +5,19 @@ from ....packet import Packet from ....types import * class PacketTeams(Packet): - __slots__ = ( 'id', 'suffix', 'players', 'prefix', 'nameTagVisibility', 'color', 'name', 'collisionRule', 'formatting', 'mode', 'team', 'friendlyFire' ) + __slots__ = ( 'id', 'name', 'friendlyFire', 'players', 'formatting', 'prefix', 'suffix', 'nameTagVisibility', 'collisionRule', 'team', 'mode', 'color' ) - suffix : bytes - players : bytes - prefix : bytes - nameTagVisibility : bytes - color : bytes name : bytes - collisionRule : bytes - formatting : bytes - mode : int - team : str friendlyFire : bytes + players : bytes + formatting : bytes + prefix : bytes + suffix : bytes + nameTagVisibility : bytes + collisionRule : bytes + team : str + mode : int + color : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_tile_entity_data.py b/aiocraft/mc/proto/play/clientbound/packet_tile_entity_data.py index b4a5be3..c83971e 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_tile_entity_data.py +++ b/aiocraft/mc/proto/play/clientbound/packet_tile_entity_data.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketTileEntityData(Packet): - __slots__ = ( 'id', 'action', 'location', 'nbtData' ) + __slots__ = ( 'id', 'location', 'nbtData', 'action' ) - action : int location : Union[bytes,tuple] nbtData : bytes + action : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_title.py b/aiocraft/mc/proto/play/clientbound/packet_title.py index 0300e86..7800314 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_title.py +++ b/aiocraft/mc/proto/play/clientbound/packet_title.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketTitle(Packet): - __slots__ = ( 'id', 'stay', 'fadeOut', 'action', 'fadeIn', 'text' ) + __slots__ = ( 'id', 'fadeOut', 'stay', 'fadeIn', 'action', 'text' ) - stay : bytes fadeOut : bytes - action : int + stay : bytes fadeIn : bytes + action : int text : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_trade_list.py b/aiocraft/mc/proto/play/clientbound/packet_trade_list.py index 38687d5..b5276a7 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_trade_list.py +++ b/aiocraft/mc/proto/play/clientbound/packet_trade_list.py @@ -5,14 +5,14 @@ from ....packet import Packet from ....types import * class PacketTradeList(Packet): - __slots__ = ( 'id', 'isRegularVillager', 'trades', 'windowId', 'experience', 'canRestock', 'villagerLevel' ) + __slots__ = ( 'id', 'trades', 'windowId', 'villagerLevel', 'canRestock', 'isRegularVillager', 'experience' ) - isRegularVillager : bool trades : list windowId : int - experience : int - canRestock : bool villagerLevel : int + canRestock : bool + isRegularVillager : bool + experience : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_unload_chunk.py b/aiocraft/mc/proto/play/clientbound/packet_unload_chunk.py index ec1ca0e..94e00e9 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_unload_chunk.py +++ b/aiocraft/mc/proto/play/clientbound/packet_unload_chunk.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketUnloadChunk(Packet): - __slots__ = ( 'id', 'chunkZ', 'chunkX' ) + __slots__ = ( 'id', 'chunkX', 'chunkZ' ) - chunkZ : int chunkX : int + chunkZ : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_unlock_recipes.py b/aiocraft/mc/proto/play/clientbound/packet_unlock_recipes.py index 827b4b3..be83c14 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_unlock_recipes.py +++ b/aiocraft/mc/proto/play/clientbound/packet_unlock_recipes.py @@ -5,21 +5,21 @@ from ....packet import Packet from ....types import * class PacketUnlockRecipes(Packet): - __slots__ = ( 'id', 'filteringCraftable', 'blastFurnaceOpen', 'recipes1', 'recipes2', 'filteringSmoker', 'smokerBookOpen', 'filteringBlastFurnace', 'action', 'recipes', 'craftingBookOpen', 'filteringSmeltable', 'notification', 'smeltingBookOpen' ) + __slots__ = ( 'id', 'blastFurnaceOpen', 'filteringSmeltable', 'craftingBookOpen', 'smokerBookOpen', 'recipes2', 'recipes', 'action', 'filteringSmoker', 'filteringCraftable', 'notification', 'smeltingBookOpen', 'filteringBlastFurnace', 'recipes1' ) - filteringCraftable : bool blastFurnaceOpen : bool - recipes1 : list - recipes2 : Union[bytes,list] - filteringSmoker : bool - smokerBookOpen : bool - filteringBlastFurnace : bool - action : int - recipes : list - craftingBookOpen : bool filteringSmeltable : bool + craftingBookOpen : bool + smokerBookOpen : bool + recipes2 : Union[bytes,list] + recipes : list + action : int + filteringSmoker : bool + filteringCraftable : bool notification : bool smeltingBookOpen : bool + filteringBlastFurnace : bool + recipes1 : list _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_update_entity_nbt.py b/aiocraft/mc/proto/play/clientbound/packet_update_entity_nbt.py index 3ca07a7..995cf00 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_update_entity_nbt.py +++ b/aiocraft/mc/proto/play/clientbound/packet_update_entity_nbt.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketUpdateEntityNbt(Packet): - __slots__ = ( 'id', 'entityId', 'tag' ) + __slots__ = ( 'id', 'tag', 'entityId' ) - entityId : int tag : bytes + entityId : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_update_health.py b/aiocraft/mc/proto/play/clientbound/packet_update_health.py index b7ba453..400d173 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_update_health.py +++ b/aiocraft/mc/proto/play/clientbound/packet_update_health.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketUpdateHealth(Packet): - __slots__ = ( 'id', 'health', 'foodSaturation', 'food' ) + __slots__ = ( 'id', 'health', 'food', 'foodSaturation' ) health : float - foodSaturation : float food : int + foodSaturation : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_update_light.py b/aiocraft/mc/proto/play/clientbound/packet_update_light.py index 3bbc90f..f4dac94 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_update_light.py +++ b/aiocraft/mc/proto/play/clientbound/packet_update_light.py @@ -5,17 +5,17 @@ from ....packet import Packet from ....types import * class PacketUpdateLight(Packet): - __slots__ = ( 'id', 'trustEdges', 'skyLightMask', 'data', 'blockLightMask', 'skyLight', 'chunkX', 'emptySkyLightMask', 'blockLight', 'emptyBlockLightMask', 'chunkZ' ) + __slots__ = ( 'id', 'chunkX', 'skyLightMask', 'blockLight', 'blockLightMask', 'emptyBlockLightMask', 'emptySkyLightMask', 'trustEdges', 'skyLight', 'data', 'chunkZ' ) - trustEdges : bool - skyLightMask : Union[list,int] - data : bytes - blockLightMask : Union[list,int] - skyLight : list chunkX : int - emptySkyLightMask : Union[list,int] + skyLightMask : Union[int,list] blockLight : list - emptyBlockLightMask : Union[list,int] + blockLightMask : Union[int,list] + emptyBlockLightMask : Union[int,list] + emptySkyLightMask : Union[int,list] + trustEdges : bool + skyLight : list + data : bytes chunkZ : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_update_sign.py b/aiocraft/mc/proto/play/clientbound/packet_update_sign.py index 15c5c35..e871f71 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_update_sign.py +++ b/aiocraft/mc/proto/play/clientbound/packet_update_sign.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketUpdateSign(Packet): - __slots__ = ( 'id', 'text3', 'text1', 'text2', 'location', 'text4' ) + __slots__ = ( 'id', 'text2', 'text3', 'text1', 'location', 'text4' ) + text2 : str text3 : str text1 : str - text2 : str location : Union[bytes,tuple] text4 : str diff --git a/aiocraft/mc/proto/play/clientbound/packet_update_view_position.py b/aiocraft/mc/proto/play/clientbound/packet_update_view_position.py index 89ddad8..019ef06 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_update_view_position.py +++ b/aiocraft/mc/proto/play/clientbound/packet_update_view_position.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketUpdateViewPosition(Packet): - __slots__ = ( 'id', 'chunkZ', 'chunkX' ) + __slots__ = ( 'id', 'chunkX', 'chunkZ' ) - chunkZ : int chunkX : int + chunkZ : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_vehicle_move.py b/aiocraft/mc/proto/play/clientbound/packet_vehicle_move.py index 668ccd7..917bc26 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_vehicle_move.py +++ b/aiocraft/mc/proto/play/clientbound/packet_vehicle_move.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketVehicleMove(Packet): - __slots__ = ( 'id', 'pitch', 'x', 'z', 'yaw', 'y' ) + __slots__ = ( 'id', 'z', 'yaw', 'x', 'pitch', 'y' ) - pitch : float - x : float z : float yaw : float + x : float + pitch : float y : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_window_items.py b/aiocraft/mc/proto/play/clientbound/packet_window_items.py index 931a964..dc9bd2b 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_window_items.py +++ b/aiocraft/mc/proto/play/clientbound/packet_window_items.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketWindowItems(Packet): - __slots__ = ( 'id', 'items', 'windowId', 'stateId', 'carriedItem' ) + __slots__ = ( 'id', 'carriedItem', 'windowId', 'items', 'stateId' ) - items : list - windowId : int - stateId : int carriedItem : dict + windowId : int + items : list + stateId : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_world_border.py b/aiocraft/mc/proto/play/clientbound/packet_world_border.py index e934742..24c1281 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_world_border.py +++ b/aiocraft/mc/proto/play/clientbound/packet_world_border.py @@ -5,18 +5,18 @@ from ....packet import Packet from ....types import * class PacketWorldBorder(Packet): - __slots__ = ( 'id', 'radius', 'x', 'new_radius', 'portalBoundary', 'warning_time', 'old_radius', 'z', 'action', 'speed', 'warning_blocks' ) + __slots__ = ( 'id', 'z', 'portalBoundary', 'warning_blocks', 'x', 'old_radius', 'action', 'radius', 'speed', 'warning_time', 'new_radius' ) - radius : bytes - x : bytes - new_radius : bytes - portalBoundary : bytes - warning_time : bytes - old_radius : bytes z : bytes - action : int - speed : bytes + portalBoundary : bytes warning_blocks : bytes + x : bytes + old_radius : bytes + action : int + radius : bytes + speed : bytes + warning_time : bytes + new_radius : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_world_border_center.py b/aiocraft/mc/proto/play/clientbound/packet_world_border_center.py index 0bdb9b6..6a35b63 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_world_border_center.py +++ b/aiocraft/mc/proto/play/clientbound/packet_world_border_center.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketWorldBorderCenter(Packet): - __slots__ = ( 'id', 'z', 'x' ) + __slots__ = ( 'id', 'x', 'z' ) - z : float x : float + z : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_world_border_lerp_size.py b/aiocraft/mc/proto/play/clientbound/packet_world_border_lerp_size.py index 6b5b5bf..d855362 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_world_border_lerp_size.py +++ b/aiocraft/mc/proto/play/clientbound/packet_world_border_lerp_size.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketWorldBorderLerpSize(Packet): - __slots__ = ( 'id', 'oldDiameter', 'speed', 'newDiameter' ) + __slots__ = ( 'id', 'speed', 'oldDiameter', 'newDiameter' ) - oldDiameter : float speed : int + oldDiameter : float newDiameter : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_world_event.py b/aiocraft/mc/proto/play/clientbound/packet_world_event.py index 38b360d..2f58713 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_world_event.py +++ b/aiocraft/mc/proto/play/clientbound/packet_world_event.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketWorldEvent(Packet): - __slots__ = ( 'id', 'is_global', 'location', 'data', 'effectId' ) + __slots__ = ( 'id', 'location', 'effectId', 'data', 'is_global' ) - is_global : bool location : Union[bytes,tuple] - data : int effectId : int + data : int + is_global : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/clientbound/packet_world_particles.py b/aiocraft/mc/proto/play/clientbound/packet_world_particles.py index 5f075b8..0cf67d3 100644 --- a/aiocraft/mc/proto/play/clientbound/packet_world_particles.py +++ b/aiocraft/mc/proto/play/clientbound/packet_world_particles.py @@ -5,20 +5,20 @@ from ....packet import Packet from ....types import * class PacketWorldParticles(Packet): - __slots__ = ( 'id', 'x', 'longDistance', 'data', 'offsetZ', 'z', 'offsetX', 'offsetY', 'y', 'particleId', 'particleData', 'particleName', 'particles' ) + __slots__ = ( 'id', 'particleData', 'particleName', 'offsetZ', 'z', 'particles', 'particleId', 'x', 'longDistance', 'offsetX', 'offsetY', 'y', 'data' ) - x : float - longDistance : bool - data : bytes + particleData : float + particleName : str offsetZ : float z : float + particles : int + particleId : int + x : float + longDistance : bool offsetX : float offsetY : float y : float - particleId : int - particleData : float - particleName : str - particles : int + data : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_abilities.py b/aiocraft/mc/proto/play/serverbound/packet_abilities.py index fa5ae43..05a7447 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_abilities.py +++ b/aiocraft/mc/proto/play/serverbound/packet_abilities.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketAbilities(Packet): - __slots__ = ( 'id', 'flags', 'walkingSpeed', 'flyingSpeed' ) + __slots__ = ( 'id', 'flyingSpeed', 'flags', 'walkingSpeed' ) + flyingSpeed : float flags : int walkingSpeed : float - flyingSpeed : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_advancement_tab.py b/aiocraft/mc/proto/play/serverbound/packet_advancement_tab.py index d38f4a0..bd2d306 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_advancement_tab.py +++ b/aiocraft/mc/proto/play/serverbound/packet_advancement_tab.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketAdvancementTab(Packet): - __slots__ = ( 'id', 'action', 'tabId' ) + __slots__ = ( 'id', 'tabId', 'action' ) - action : int tabId : bytes + action : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_block_dig.py b/aiocraft/mc/proto/play/serverbound/packet_block_dig.py index e361ee2..f0d6222 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_block_dig.py +++ b/aiocraft/mc/proto/play/serverbound/packet_block_dig.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketBlockDig(Packet): - __slots__ = ( 'id', 'location', 'status', 'face' ) + __slots__ = ( 'id', 'location', 'face', 'status' ) location : Union[bytes,tuple] - status : int face : int + status : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_block_place.py b/aiocraft/mc/proto/play/serverbound/packet_block_place.py index 02dc306..b4e5209 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_block_place.py +++ b/aiocraft/mc/proto/play/serverbound/packet_block_place.py @@ -5,16 +5,16 @@ from ....packet import Packet from ....types import * class PacketBlockPlace(Packet): - __slots__ = ( 'id', 'direction', 'hand', 'heldItem', 'location', 'cursorY', 'cursorX', 'cursorZ', 'insideBlock' ) + __slots__ = ( 'id', 'insideBlock', 'hand', 'heldItem', 'cursorY', 'cursorX', 'direction', 'cursorZ', 'location' ) - direction : int + insideBlock : bool hand : int heldItem : dict - location : Union[bytes,tuple] cursorY : Union[int,float] cursorX : Union[int,float] + direction : int cursorZ : Union[int,float] - insideBlock : bool + location : Union[bytes,tuple] _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_client_command.py b/aiocraft/mc/proto/play/serverbound/packet_client_command.py index 8afb60a..e9eec93 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_client_command.py +++ b/aiocraft/mc/proto/play/serverbound/packet_client_command.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketClientCommand(Packet): - __slots__ = ( 'id', 'payload', 'actionId' ) + __slots__ = ( 'id', 'actionId', 'payload' ) - payload : int actionId : int + payload : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_craft_recipe_request.py b/aiocraft/mc/proto/play/serverbound/packet_craft_recipe_request.py index 15af97e..83b7660 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_craft_recipe_request.py +++ b/aiocraft/mc/proto/play/serverbound/packet_craft_recipe_request.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketCraftRecipeRequest(Packet): - __slots__ = ( 'id', 'windowId', 'recipe', 'makeAll' ) + __slots__ = ( 'id', 'makeAll', 'windowId', 'recipe' ) + makeAll : bool windowId : int recipe : Union[str,int] - makeAll : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_edit_book.py b/aiocraft/mc/proto/play/serverbound/packet_edit_book.py index 4e7827a..50891e3 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_edit_book.py +++ b/aiocraft/mc/proto/play/serverbound/packet_edit_book.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketEditBook(Packet): - __slots__ = ( 'id', 'signing', 'hand', 'pages', 'title', 'new_book' ) + __slots__ = ( 'id', 'pages', 'hand', 'new_book', 'signing', 'title' ) - signing : bool - hand : int pages : list - title : tuple + hand : int new_book : dict + signing : bool + title : tuple _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_enchant_item.py b/aiocraft/mc/proto/play/serverbound/packet_enchant_item.py index 0478ef3..de22589 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_enchant_item.py +++ b/aiocraft/mc/proto/play/serverbound/packet_enchant_item.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketEnchantItem(Packet): - __slots__ = ( 'id', 'windowId', 'enchantment' ) + __slots__ = ( 'id', 'enchantment', 'windowId' ) - windowId : int enchantment : int + windowId : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_entity_action.py b/aiocraft/mc/proto/play/serverbound/packet_entity_action.py index 5dd795c..0d99787 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_entity_action.py +++ b/aiocraft/mc/proto/play/serverbound/packet_entity_action.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketEntityAction(Packet): - __slots__ = ( 'id', 'jumpBoost', 'entityId', 'actionId' ) + __slots__ = ( 'id', 'actionId', 'jumpBoost', 'entityId' ) + actionId : int jumpBoost : int entityId : int - actionId : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_generate_structure.py b/aiocraft/mc/proto/play/serverbound/packet_generate_structure.py index 2c8bffa..5d19b96 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_generate_structure.py +++ b/aiocraft/mc/proto/play/serverbound/packet_generate_structure.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketGenerateStructure(Packet): - __slots__ = ( 'id', 'keepJigsaws', 'location', 'levels' ) + __slots__ = ( 'id', 'location', 'levels', 'keepJigsaws' ) - keepJigsaws : bool location : tuple levels : int + keepJigsaws : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_look.py b/aiocraft/mc/proto/play/serverbound/packet_look.py index f02fbab..a316580 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_look.py +++ b/aiocraft/mc/proto/play/serverbound/packet_look.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketLook(Packet): - __slots__ = ( 'id', 'yaw', 'pitch', 'onGround' ) + __slots__ = ( 'id', 'onGround', 'yaw', 'pitch' ) + onGround : bool yaw : float pitch : float - onGround : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_position.py b/aiocraft/mc/proto/play/serverbound/packet_position.py index 63de28a..1f39c3c 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_position.py +++ b/aiocraft/mc/proto/play/serverbound/packet_position.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketPosition(Packet): - __slots__ = ( 'id', 'x', 'z', 'y', 'onGround', 'stance' ) + __slots__ = ( 'id', 'onGround', 'z', 'x', 'stance', 'y' ) - x : float - z : float - y : float onGround : bool + z : float + x : float stance : float + y : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_position_look.py b/aiocraft/mc/proto/play/serverbound/packet_position_look.py index 5ac4db2..1fb5e2b 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_position_look.py +++ b/aiocraft/mc/proto/play/serverbound/packet_position_look.py @@ -5,15 +5,15 @@ from ....packet import Packet from ....types import * class PacketPositionLook(Packet): - __slots__ = ( 'id', 'pitch', 'x', 'z', 'yaw', 'y', 'onGround', 'stance' ) + __slots__ = ( 'id', 'onGround', 'z', 'yaw', 'x', 'pitch', 'stance', 'y' ) - pitch : float - x : float + onGround : bool z : float yaw : float - y : float - onGround : bool + x : float + pitch : float stance : float + y : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_prepare_crafting_grid.py b/aiocraft/mc/proto/play/serverbound/packet_prepare_crafting_grid.py index e5db857..e34fbcc 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_prepare_crafting_grid.py +++ b/aiocraft/mc/proto/play/serverbound/packet_prepare_crafting_grid.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketPrepareCraftingGrid(Packet): - __slots__ = ( 'id', 'returnEntry', 'windowId', 'prepareEntry', 'actionNumber' ) + __slots__ = ( 'id', 'actionNumber', 'windowId', 'returnEntry', 'prepareEntry' ) - returnEntry : list - windowId : int - prepareEntry : list actionNumber : int + windowId : int + returnEntry : list + prepareEntry : list _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_query_block_nbt.py b/aiocraft/mc/proto/play/serverbound/packet_query_block_nbt.py index 7d6d901..f593329 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_query_block_nbt.py +++ b/aiocraft/mc/proto/play/serverbound/packet_query_block_nbt.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketQueryBlockNbt(Packet): - __slots__ = ( 'id', 'location', 'transactionId' ) + __slots__ = ( 'id', 'transactionId', 'location' ) - location : tuple transactionId : int + location : tuple _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_query_entity_nbt.py b/aiocraft/mc/proto/play/serverbound/packet_query_entity_nbt.py index 95edb48..b8a9c06 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_query_entity_nbt.py +++ b/aiocraft/mc/proto/play/serverbound/packet_query_entity_nbt.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketQueryEntityNbt(Packet): - __slots__ = ( 'id', 'entityId', 'transactionId' ) + __slots__ = ( 'id', 'transactionId', 'entityId' ) - entityId : int transactionId : int + entityId : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_recipe_book.py b/aiocraft/mc/proto/play/serverbound/packet_recipe_book.py index a751ee8..0311dcc 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_recipe_book.py +++ b/aiocraft/mc/proto/play/serverbound/packet_recipe_book.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketRecipeBook(Packet): - __slots__ = ( 'id', 'filterActive', 'bookId', 'bookOpen' ) + __slots__ = ( 'id', 'bookOpen', 'filterActive', 'bookId' ) + bookOpen : bool filterActive : bool bookId : int - bookOpen : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_settings.py b/aiocraft/mc/proto/play/serverbound/packet_settings.py index 44e53d8..802a828 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_settings.py +++ b/aiocraft/mc/proto/play/serverbound/packet_settings.py @@ -5,19 +5,19 @@ from ....packet import Packet from ....types import * class PacketSettings(Packet): - __slots__ = ( 'id', 'chatColors', 'viewDistance', 'mainHand', 'enableTextFiltering', 'enableServerListing', 'showCape', 'disableTextFiltering', 'difficulty', 'locale', 'skinParts', 'chatFlags' ) + __slots__ = ( 'id', 'chatFlags', 'viewDistance', 'enableTextFiltering', 'chatColors', 'locale', 'showCape', 'disableTextFiltering', 'enableServerListing', 'difficulty', 'mainHand', 'skinParts' ) - chatColors : bool + chatFlags : int viewDistance : int - mainHand : int enableTextFiltering : bool - enableServerListing : bool + chatColors : bool + locale : str showCape : bool disableTextFiltering : bool + enableServerListing : bool difficulty : int - locale : str + mainHand : int skinParts : int - chatFlags : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_steer_boat.py b/aiocraft/mc/proto/play/serverbound/packet_steer_boat.py index 8a0c4a0..ef0cf7e 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_steer_boat.py +++ b/aiocraft/mc/proto/play/serverbound/packet_steer_boat.py @@ -5,10 +5,10 @@ from ....packet import Packet from ....types import * class PacketSteerBoat(Packet): - __slots__ = ( 'id', 'rightPaddle', 'leftPaddle' ) + __slots__ = ( 'id', 'leftPaddle', 'rightPaddle' ) - rightPaddle : bool leftPaddle : bool + rightPaddle : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_steer_vehicle.py b/aiocraft/mc/proto/play/serverbound/packet_steer_vehicle.py index 51015b0..75bbff6 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_steer_vehicle.py +++ b/aiocraft/mc/proto/play/serverbound/packet_steer_vehicle.py @@ -8,7 +8,7 @@ class PacketSteerVehicle(Packet): __slots__ = ( 'id', 'forward', 'jump', 'unmount', 'sideways' ) forward : float - jump : Union[bool,int] + jump : Union[int,bool] unmount : bool sideways : float diff --git a/aiocraft/mc/proto/play/serverbound/packet_tab_complete.py b/aiocraft/mc/proto/play/serverbound/packet_tab_complete.py index 0ea7fad..b07f51c 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_tab_complete.py +++ b/aiocraft/mc/proto/play/serverbound/packet_tab_complete.py @@ -5,13 +5,13 @@ from ....packet import Packet from ....types import * class PacketTabComplete(Packet): - __slots__ = ( 'id', 'block', 'assumeCommand', 'lookedAtBlock', 'transactionId', 'text' ) + __slots__ = ( 'id', 'transactionId', 'lookedAtBlock', 'block', 'text', 'assumeCommand' ) - block : tuple - assumeCommand : bool - lookedAtBlock : tuple transactionId : int + lookedAtBlock : tuple + block : tuple text : str + assumeCommand : bool _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_update_command_block.py b/aiocraft/mc/proto/play/serverbound/packet_update_command_block.py index 03f44ac..f958c59 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_update_command_block.py +++ b/aiocraft/mc/proto/play/serverbound/packet_update_command_block.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketUpdateCommandBlock(Packet): - __slots__ = ( 'id', 'mode', 'flags', 'location', 'command' ) + __slots__ = ( 'id', 'location', 'command', 'flags', 'mode' ) - mode : int - flags : int location : tuple command : str + flags : int + mode : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_update_jigsaw_block.py b/aiocraft/mc/proto/play/serverbound/packet_update_jigsaw_block.py index 2e611fb..c73120a 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_update_jigsaw_block.py +++ b/aiocraft/mc/proto/play/serverbound/packet_update_jigsaw_block.py @@ -5,16 +5,16 @@ from ....packet import Packet from ....types import * class PacketUpdateJigsawBlock(Packet): - __slots__ = ( 'id', 'targetPool', 'location', 'jointType', 'name', 'target', 'pool', 'attachmentType', 'finalState' ) + __slots__ = ( 'id', 'name', 'jointType', 'target', 'pool', 'finalState', 'targetPool', 'location', 'attachmentType' ) - targetPool : str - location : tuple - jointType : str name : str + jointType : str target : str pool : str - attachmentType : str finalState : str + targetPool : str + location : tuple + attachmentType : str _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_update_sign.py b/aiocraft/mc/proto/play/serverbound/packet_update_sign.py index 1d38b3a..f1c1ac2 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_update_sign.py +++ b/aiocraft/mc/proto/play/serverbound/packet_update_sign.py @@ -5,11 +5,11 @@ from ....packet import Packet from ....types import * class PacketUpdateSign(Packet): - __slots__ = ( 'id', 'text3', 'text1', 'text2', 'location', 'text4' ) + __slots__ = ( 'id', 'text2', 'text3', 'text1', 'location', 'text4' ) + text2 : str text3 : str text1 : str - text2 : str location : Union[bytes,tuple] text4 : str diff --git a/aiocraft/mc/proto/play/serverbound/packet_update_structure_block.py b/aiocraft/mc/proto/play/serverbound/packet_update_structure_block.py index f82f6f8..603a020 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_update_structure_block.py +++ b/aiocraft/mc/proto/play/serverbound/packet_update_structure_block.py @@ -5,24 +5,24 @@ from ....packet import Packet from ....types import * class PacketUpdateStructureBlock(Packet): - __slots__ = ( 'id', 'rotation', 'integrity', 'size_y', 'seed', 'mirror', 'location', 'name', 'offset_y', 'action', 'size_x', 'mode', 'offset_x', 'offset_z', 'size_z', 'flags', 'metadata' ) + __slots__ = ( 'id', 'name', 'size_x', 'size_z', 'offset_z', 'rotation', 'offset_y', 'size_y', 'flags', 'offset_x', 'mirror', 'seed', 'action', 'metadata', 'integrity', 'location', 'mode' ) - rotation : int - integrity : float - size_y : int - seed : int - mirror : int - location : tuple name : str - offset_y : int - action : int size_x : int - mode : int - offset_x : int - offset_z : int size_z : int + offset_z : int + rotation : int + offset_y : int + size_y : int flags : int + offset_x : int + mirror : int + seed : int + action : int metadata : str + integrity : float + location : tuple + mode : int _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_use_entity.py b/aiocraft/mc/proto/play/serverbound/packet_use_entity.py index d02a13e..53c2fc9 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_use_entity.py +++ b/aiocraft/mc/proto/play/serverbound/packet_use_entity.py @@ -5,15 +5,15 @@ from ....packet import Packet from ....types import * class PacketUseEntity(Packet): - __slots__ = ( 'id', 'hand', 'mouse', 'x', 'sneaking', 'z', 'y', 'target' ) + __slots__ = ( 'id', 'target', 'z', 'hand', 'x', 'mouse', 'sneaking', 'y' ) - hand : bytes - mouse : int - x : bytes - sneaking : bool - z : bytes - y : bytes target : int + z : bytes + hand : bytes + x : bytes + mouse : int + sneaking : bool + y : bytes _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_vehicle_move.py b/aiocraft/mc/proto/play/serverbound/packet_vehicle_move.py index 310e82b..8c9695d 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_vehicle_move.py +++ b/aiocraft/mc/proto/play/serverbound/packet_vehicle_move.py @@ -5,12 +5,12 @@ from ....packet import Packet from ....types import * class PacketVehicleMove(Packet): - __slots__ = ( 'id', 'pitch', 'x', 'z', 'yaw', 'y' ) + __slots__ = ( 'id', 'z', 'yaw', 'x', 'pitch', 'y' ) - pitch : float - x : float z : float yaw : float + x : float + pitch : float y : float _state : int = 3 diff --git a/aiocraft/mc/proto/play/serverbound/packet_window_click.py b/aiocraft/mc/proto/play/serverbound/packet_window_click.py index e9422ce..57ea573 100644 --- a/aiocraft/mc/proto/play/serverbound/packet_window_click.py +++ b/aiocraft/mc/proto/play/serverbound/packet_window_click.py @@ -5,17 +5,17 @@ from ....packet import Packet from ....types import * class PacketWindowClick(Packet): - __slots__ = ( 'id', 'item', 'slot', 'changedSlots', 'cursorItem', 'windowId', 'action', 'mode', 'stateId', 'mouseButton' ) + __slots__ = ( 'id', 'changedSlots', 'windowId', 'item', 'stateId', 'cursorItem', 'action', 'mouseButton', 'mode', 'slot' ) - item : dict - slot : int changedSlots : list - cursorItem : dict windowId : int - action : int - mode : int + item : dict stateId : int + cursorItem : dict + action : int mouseButton : int + mode : int + slot : int _state : int = 3