Package net.minecraft.network.syncher
Class EntityDataSerializers
java.lang.Object
net.minecraft.network.syncher.EntityDataSerializers
-
Field Summary
Modifier and TypeFieldDescriptionstatic EntityDataSerializer<BlockPos>
static EntityDataSerializer<Optional<BlockState>>
static EntityDataSerializer<Boolean>
static EntityDataSerializer<Byte>
static EntityDataSerializer<Component>
static EntityDataSerializer<CompoundTag>
static EntityDataSerializer<Direction>
static EntityDataSerializer<Float>
static EntityDataSerializer<Integer>
static EntityDataSerializer<ItemStack>
static EntityDataSerializer<Optional<BlockPos>>
static EntityDataSerializer<Optional<Component>>
static EntityDataSerializer<OptionalInt>
static EntityDataSerializer<Optional<UUID>>
static EntityDataSerializer<ParticleOptions>
static EntityDataSerializer<Pose>
static EntityDataSerializer<Rotations>
private static CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>>
static EntityDataSerializer<String>
static EntityDataSerializer<VillagerData>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getSerializedId(EntityDataSerializer<?> p_135053_)
static EntityDataSerializer<?>
getSerializer(int p_135049_)
static void
registerSerializer(EntityDataSerializer<?> p_135051_)
-
Field Details
-
SERIALIZERS
-
BYTE
-
INT
-
FLOAT
-
STRING
-
COMPONENT
-
OPTIONAL_COMPONENT
-
ITEM_STACK
-
BLOCK_STATE
-
BOOLEAN
-
PARTICLE
-
ROTATIONS
-
BLOCK_POS
-
OPTIONAL_BLOCK_POS
-
DIRECTION
-
OPTIONAL_UUID
-
COMPOUND_TAG
-
VILLAGER_DATA
-
OPTIONAL_UNSIGNED_INT
-
POSE
-
-
Constructor Details
-
EntityDataSerializers
private EntityDataSerializers()
-
-
Method Details
-
registerSerializer
-
getSerializer
-
getSerializedId
-