Skip to main content

Module vanilla_serializers

Module vanilla_serializers 

Source
Expand description

Vanilla entity data serializer registration.

This module registers all vanilla entity data serializers in the exact order they appear in vanilla’s EntityDataSerializers.java. The registration order determines the serializer ID used in the network protocol.

MacrosΒ§

ser_enum_varint πŸ”’
Serializer that casts enum to i32 then writes as VarInt.
ser_varint πŸ”’
Serializer that wraps value in VarInt.
ser_write πŸ”’
Simple serializer: extract value and call .write(buf).

FunctionsΒ§

register_vanilla_entity_data_serializers
Register all vanilla entity data serializers.
ser_armadillo_state πŸ”’
ser_block_pos πŸ”’
ser_block_state πŸ”’
ser_boolean πŸ”’
ser_byte πŸ”’
ser_cat_sound_variant πŸ”’
ser_cat_variant πŸ”’
ser_chicken_sound_variant πŸ”’
ser_chicken_variant πŸ”’
ser_component πŸ”’
ser_copper_golem_state πŸ”’
ser_cow_sound_variant πŸ”’
ser_cow_variant πŸ”’
ser_direction πŸ”’
ser_float πŸ”’
ser_frog_variant πŸ”’
ser_humanoid_arm πŸ”’
ser_int πŸ”’
ser_item_stack πŸ”’
ser_long πŸ”’
ser_optional_block_pos πŸ”’
ser_optional_block_state πŸ”’
ser_optional_component πŸ”’
ser_optional_global_pos πŸ”’
ser_optional_living_entity_reference πŸ”’
ser_optional_unsigned_int πŸ”’
ser_painting_variant πŸ”’
ser_particle πŸ”’
ser_particles πŸ”’
ser_pig_sound_variant πŸ”’
ser_pig_variant πŸ”’
ser_pose πŸ”’
ser_quaternion πŸ”’
ser_resolvable_profile πŸ”’
ser_rotations πŸ”’
ser_sniffer_state πŸ”’
ser_string πŸ”’
ser_vector3 πŸ”’
ser_villager_data πŸ”’
ser_weathering_copper_state πŸ”’
ser_wolf_sound_variant πŸ”’
ser_wolf_variant πŸ”’
ser_zombie_nautilus_variant πŸ”’
write_particle πŸ”’