net.minecraft.network.syncher

public class EntityDataSerializers

ajy
net.minecraft.network.syncher.EntityDataSerializers
net.minecraft.class_2943
net.minecraft.entity.data.TrackedDataHandlerRegistry
net.minecraft.src.C_5227_
net.minecraft.network.syncher.DataWatcherRegistry

Field summary

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

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static void
a(ajx<?> arg0)
registerSerializer(EntityDataSerializer<?> arg0)
method_12720(class_2941<?> arg0)
register(TrackedDataHandler<?> handler)
m_135050_(C_5226_<?> p_135051_)
public static EntityDataSerializer<?>
a(int arg0)
getSerializer(int arg0)
method_12721(int arg0)
get(int id)
m_135048_(int p_135049_)
public static int
b(ajx<?> arg0)
getSerializedId(EntityDataSerializer<?> arg0)
method_12719(class_2941<?> arg0)
getId(TrackedDataHandler<?> handler)
m_135052_(C_5226_<?> p_135053_)