net.minecraft.network.syncher

public class EntityDataSerializers

aal
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<?>>
x
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<Float>
c
FLOAT
field_13320
FLOAT
f_135029_
public static final EntityDataSerializer<String>
d
STRING
field_13326
STRING
f_135030_
public static final EntityDataSerializer<Component>
e
COMPONENT
field_13317
TEXT_COMPONENT
f_135031_
public static final EntityDataSerializer<Optional<Component>>
f
OPTIONAL_COMPONENT
field_13325
OPTIONAL_TEXT_COMPONENT
f_135032_
public static final EntityDataSerializer<ItemStack>
g
ITEM_STACK
field_13322
ITEM_STACK
f_135033_
public static final EntityDataSerializer<Optional<BlockState>>
h
BLOCK_STATE
field_13312
OPTIONAL_BLOCK_STATE
f_135034_
public static final EntityDataSerializer<Boolean>
i
BOOLEAN
field_13323
BOOLEAN
f_135035_
public static final EntityDataSerializer<ParticleOptions>
j
PARTICLE
field_13314
PARTICLE
f_135036_
public static final EntityDataSerializer<Rotations>
k
ROTATIONS
field_13316
ROTATION
f_135037_
public static final EntityDataSerializer<BlockPos>
l
BLOCK_POS
field_13324
BLOCK_POS
f_135038_
public static final EntityDataSerializer<Optional<BlockPos>>
m
OPTIONAL_BLOCK_POS
field_13315
OPTIONAL_BLOCK_POS
f_135039_
public static final EntityDataSerializer<Direction>
n
DIRECTION
field_13321
FACING
f_135040_
public static final EntityDataSerializer<Optional<UUID>>
o
OPTIONAL_UUID
field_13313
OPTIONAL_UUID
f_135041_
public static final EntityDataSerializer<Optional<GlobalPos>>
p
OPTIONAL_GLOBAL_POS
field_38825
OPTIONAL_GLOBAL_POS
f_238113_
public static final EntityDataSerializer<CompoundTag>
q
COMPOUND_TAG
field_13318
NBT_COMPOUND
f_135042_
public static final EntityDataSerializer<VillagerData>
r
VILLAGER_DATA
field_17207
VILLAGER_DATA
f_135043_
public static final EntityDataSerializer<OptionalInt>
s
OPTIONAL_UNSIGNED_INT
field_17910
OPTIONAL_INT
f_135044_
public static final EntityDataSerializer<Pose>
t
POSE
field_18238
ENTITY_POSE
f_135045_
public static final EntityDataSerializer<CatVariant>
u
CAT_VARIANT
field_38826
CAT_VARIANT
f_238114_
public static final EntityDataSerializer<FrogVariant>
v
FROG_VARIANT
field_38827
FROG_VARIANT
f_238115_
public static final EntityDataSerializer<Holder<PaintingVariant>>
w
PAINTING_VARIANT
field_39017
PAINTING_VARIANT
f_238116_

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static void
a(aak<?> 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(aak<?> arg0)
getSerializedId(EntityDataSerializer<?> arg0)
method_12719(class_2941<?> arg0)
getId(TrackedDataHandler<?> handler)
m_135052_(C_5226_<?> p_135053_)