net.minecraft.network.syncher

public class EntityDataSerializers

aka
net.minecraft.network.syncher.EntityDataSerializers
net.minecraft.class_2943
net.minecraft.entity.data.TrackedDataHandlerRegistry
net.minecraft.network.syncher.DataWatcherRegistry

Field summary

Modifier and TypeField
private static final CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>>
F
SERIALIZERS
field_13328
DATA_HANDLERS
public static final EntityDataSerializer<Byte>
a
BYTE
field_13319
BYTE
public static final EntityDataSerializer<Integer>
b
INT
field_13327
INTEGER
public static final EntityDataSerializer<Long>
c
LONG
field_39965
LONG
public static final EntityDataSerializer<Float>
d
FLOAT
field_13320
FLOAT
public static final EntityDataSerializer<String>
e
STRING
field_13326
STRING
public static final EntityDataSerializer<Component>
f
COMPONENT
field_13317
TEXT_COMPONENT
public static final EntityDataSerializer<Optional<Component>>
g
OPTIONAL_COMPONENT
field_13325
OPTIONAL_TEXT_COMPONENT
public static final EntityDataSerializer<ItemStack>
h
ITEM_STACK
field_13322
ITEM_STACK
public static final EntityDataSerializer<BlockState>
i
BLOCK_STATE
field_13312
BLOCK_STATE
private static final StreamCodec<io.netty.buffer.ByteBuf, Optional<BlockState>>
G
OPTIONAL_BLOCK_STATE_CODEC
field_48265
OPTIONAL_BLOCK_STATE_CODEC
public static final EntityDataSerializer<Optional<BlockState>>
j
OPTIONAL_BLOCK_STATE
field_42236
OPTIONAL_BLOCK_STATE
public static final EntityDataSerializer<Boolean>
k
BOOLEAN
field_13323
BOOLEAN
public static final EntityDataSerializer<ParticleOptions>
l
PARTICLE
field_13314
PARTICLE
public static final EntityDataSerializer<List<ParticleOptions>>
m
PARTICLES
field_49774
PARTICLE_LIST
public static final EntityDataSerializer<Rotations>
n
ROTATIONS
field_13316
ROTATION
public static final EntityDataSerializer<BlockPos>
o
BLOCK_POS
field_13324
BLOCK_POS
public static final EntityDataSerializer<Optional<BlockPos>>
p
OPTIONAL_BLOCK_POS
field_13315
OPTIONAL_BLOCK_POS
public static final EntityDataSerializer<Direction>
q
DIRECTION
field_13321
FACING
public static final EntityDataSerializer<Optional<UUID>>
r
OPTIONAL_UUID
field_13313
OPTIONAL_UUID
public static final EntityDataSerializer<Optional<GlobalPos>>
s
OPTIONAL_GLOBAL_POS
field_38825
OPTIONAL_GLOBAL_POS
public static final EntityDataSerializer<CompoundTag>
t
COMPOUND_TAG
field_13318
NBT_COMPOUND
public static final EntityDataSerializer<VillagerData>
u
VILLAGER_DATA
field_17207
VILLAGER_DATA
private static final StreamCodec<io.netty.buffer.ByteBuf, OptionalInt>
H
OPTIONAL_UNSIGNED_INT_CODEC
field_48266
OPTIONAL_INT_CODEC
public static final EntityDataSerializer<OptionalInt>
v
OPTIONAL_UNSIGNED_INT
field_17910
OPTIONAL_INT
public static final EntityDataSerializer<Pose>
w
POSE
field_18238
ENTITY_POSE
public static final EntityDataSerializer<Holder<CatVariant>>
x
CAT_VARIANT
field_38826
CAT_VARIANT
public static final EntityDataSerializer<Holder<WolfVariant>>
y
WOLF_VARIANT
field_49713
WOLF_VARIANT
public static final EntityDataSerializer<Holder<FrogVariant>>
z
FROG_VARIANT
field_38827
FROG_VARIANT
public static final EntityDataSerializer<Holder<PaintingVariant>>
A
PAINTING_VARIANT
field_39017
PAINTING_VARIANT
public static final EntityDataSerializer<Armadillo$ArmadilloState>
B
ARMADILLO_STATE
field_47707
ARMADILLO_STATE
public static final EntityDataSerializer<Sniffer$State>
C
SNIFFER_STATE
field_42543
SNIFFER_STATE
public static final EntityDataSerializer<org.joml.Vector3f>
D
VECTOR3
field_42237
VECTOR_3F
public static final EntityDataSerializer<org.joml.Quaternionf>
E
QUATERNION
field_42235
QUATERNION_F

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static void
a(ajz<?> arg0)
registerSerializer(EntityDataSerializer<?> arg0)
method_12720(class_2941<?> arg0)
register(TrackedDataHandler<?> handler)
public static EntityDataSerializer<?>
a(int arg0)
getSerializer(int arg0)
method_12721(int arg0)
get(int id)
public static int
b(ajz<?> arg0)
getSerializedId(EntityDataSerializer<?> arg0)
method_12719(class_2941<?> arg0)
getId(TrackedDataHandler<?> handler)