v2

constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket MOB_SPAWNER
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket COMMAND_BLOCK
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket BEACON
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket SKULL
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket CONDUIT
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket BANNER
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket STRUCTURE
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket END_GATEWAY
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket SIGN
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket BED
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket JIGSAW
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket CAMPFIRE
constant s2c_block_entity_type net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket BEEHIVE

target_method net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket <init> (Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/nbt/NbtCompound;)V
	param 1 s2c_block_entity_type
target_method net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket getBlockEntityType ()I
	return s2c_block_entity_type

constant s2c_animation_id net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket SWING_MAIN_HAND
constant s2c_animation_id net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket DAMAGE
constant s2c_animation_id net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket WAKE_UP
constant s2c_animation_id net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket SWING_OFF_HAND
constant s2c_animation_id net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket CRIT
constant s2c_animation_id net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket ENCHANTED_HIT

target_method net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket <init> (Lnet/minecraft/entity/Entity;I)V
	param 1 s2c_animation_id
target_method net/minecraft/network/packet/s2c/play/EntityAnimationS2CPacket getAnimationId ()I
	return s2c_animation_id

# specify to be float as the values are got as floats but the fields are ints
constant s2c_game_state_demo_value net/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket DEMO_OPEN_SCREEN 0 F
constant s2c_game_state_demo_value net/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket DEMO_MOVEMENT_HELP 101 F
constant s2c_game_state_demo_value net/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket DEMO_JUMP_HELP 102 F
constant s2c_game_state_demo_value net/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket DEMO_INVENTORY_HELP 103 F
constant s2c_game_state_demo_value net/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket DEMO_EXPIRY_NOTICE 104 F

target_method net/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket <init> (Lnet/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket$Reason;F)V
	param 1 s2c_game_state_demo_value
target_method net/minecraft/network/packet/s2c/play/GameStateChangeS2CPacket getValue ()F
	return s2c_game_state_demo_value

constant s2c_scoreboard_objective_update_mode net/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket ADD_MODE
constant s2c_scoreboard_objective_update_mode net/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket REMOVE_MODE
constant s2c_scoreboard_objective_update_mode net/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket UPDATE_MODE

target_method net/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket <init> (Lnet/minecraft/scoreboard/ScoreboardObjective;I)V
	param 1 s2c_scoreboard_objective_update_mode
target_method net/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket getMode ()I
	return s2c_scoreboard_objective_update_mode

constant s2c_screen_handler_slot_sync_id net/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket UPDATE_CURSOR_SYNC_ID
constant s2c_screen_handler_slot_sync_id net/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket UPDATE_PLAYER_INVENTORY_SYNC_ID

target_method net/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket <init> (IILnet/minecraft/item/ItemStack;)V
	param 0 s2c_screen_handler_slot_sync_id
target_method net/minecraft/network/packet/s2c/play/ScreenHandlerSlotUpdateS2CPacket getSyncId ()I
	return s2c_screen_handler_slot_sync_id

constant s2c_team_packet_type net/minecraft/network/packet/s2c/play/TeamS2CPacket ADD
constant s2c_team_packet_type net/minecraft/network/packet/s2c/play/TeamS2CPacket REMOVE
constant s2c_team_packet_type net/minecraft/network/packet/s2c/play/TeamS2CPacket UPDATE
constant s2c_team_packet_type net/minecraft/network/packet/s2c/play/TeamS2CPacket ADD_PLAYERS
constant s2c_team_packet_type net/minecraft/network/packet/s2c/play/TeamS2CPacket REMOVE_PLAYERS

target_method net/minecraft/network/packet/s2c/play/TeamS2CPacket <init> (Ljava/lang/String;ILjava/util/Optional;Ljava/util/Collection;)V
	param 1 s2c_team_packet_type
target_method net/minecraft/network/packet/s2c/play/TeamS2CPacket containsPlayers (I)Z
	param 0 s2c_team_packet_type
target_method net/minecraft/network/packet/s2c/play/TeamS2CPacket containsTeamInfo (I)Z
	param 0 s2c_team_packet_type
