net.minecraft.network.syncher

public class EntityDataSerializers

abp
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<?>>
y
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<Optional<BlockState>>
i
BLOCK_STATE
field_13312
OPTIONAL_BLOCK_STATE
f_135034_
public static final EntityDataSerializer<Boolean>
j
BOOLEAN
field_13323
BOOLEAN
f_135035_
public static final EntityDataSerializer<ParticleOptions>
k
PARTICLE
field_13314
PARTICLE
f_135036_
public static final EntityDataSerializer<Rotations>
l
ROTATIONS
field_13316
ROTATION
f_135037_
public static final EntityDataSerializer<BlockPos>
m
BLOCK_POS
field_13324
BLOCK_POS
f_135038_
public static final EntityDataSerializer<Optional<BlockPos>>
n
OPTIONAL_BLOCK_POS
field_13315
OPTIONAL_BLOCK_POS
f_135039_
public static final EntityDataSerializer<Direction>
o
DIRECTION
field_13321
FACING
f_135040_
public static final EntityDataSerializer<Optional<UUID>>
p
OPTIONAL_UUID
field_13313
OPTIONAL_UUID
f_135041_
public static final EntityDataSerializer<Optional<GlobalPos>>
q
OPTIONAL_GLOBAL_POS
field_38825
OPTIONAL_GLOBAL_POS
f_238113_
public static final EntityDataSerializer<CompoundTag>
r
COMPOUND_TAG
field_13318
NBT_COMPOUND
f_135042_
public static final EntityDataSerializer<VillagerData>
s
VILLAGER_DATA
field_17207
VILLAGER_DATA
f_135043_
public static final EntityDataSerializer<OptionalInt>
t
OPTIONAL_UNSIGNED_INT
field_17910
OPTIONAL_INT
f_135044_
public static final EntityDataSerializer<Pose>
u
POSE
field_18238
ENTITY_POSE
f_135045_
public static final EntityDataSerializer<CatVariant>
v
CAT_VARIANT
field_38826
CAT_VARIANT
f_238114_
public static final EntityDataSerializer<FrogVariant>
w
FROG_VARIANT
field_38827
FROG_VARIANT
f_238115_
public static final EntityDataSerializer<Holder<PaintingVariant>>
x
PAINTING_VARIANT
field_39017
PAINTING_VARIANT
f_238116_

Constructor summary

ModifierConstructor
private ()

Method summary

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