net.minecraft.network.syncher

public class EntityDataSerializers

aca
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<?>>
C
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_
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<Rotations>
m
ROTATIONS
field_13316
ROTATION
f_135037_
public static final EntityDataSerializer<BlockPos>
n
BLOCK_POS
field_13324
BLOCK_POS
f_135038_
public static final EntityDataSerializer<Optional<BlockPos>>
o
OPTIONAL_BLOCK_POS
field_13315
OPTIONAL_BLOCK_POS
f_135039_
public static final EntityDataSerializer<Direction>
p
DIRECTION
field_13321
FACING
f_135040_
public static final EntityDataSerializer<Optional<UUID>>
q
OPTIONAL_UUID
field_13313
OPTIONAL_UUID
f_135041_
public static final EntityDataSerializer<Optional<GlobalPos>>
r
OPTIONAL_GLOBAL_POS
field_38825
OPTIONAL_GLOBAL_POS
f_238113_
public static final EntityDataSerializer<CompoundTag>
s
COMPOUND_TAG
field_13318
NBT_COMPOUND
f_135042_
public static final EntityDataSerializer<VillagerData>
t
VILLAGER_DATA
field_17207
VILLAGER_DATA
f_135043_
public static final EntityDataSerializer<OptionalInt>
u
OPTIONAL_UNSIGNED_INT
field_17910
OPTIONAL_INT
f_135044_
public static final EntityDataSerializer<Pose>
v
POSE
field_18238
ENTITY_POSE
f_135045_
public static final EntityDataSerializer<CatVariant>
w
CAT_VARIANT
field_38826
CAT_VARIANT
f_238114_
public static final EntityDataSerializer<FrogVariant>
x
FROG_VARIANT
field_38827
FROG_VARIANT
f_238115_
public static final EntityDataSerializer<Holder<PaintingVariant>>
y
PAINTING_VARIANT
field_39017
PAINTING_VARIANT
f_238116_
public static final EntityDataSerializer<Sniffer$State>
z
SNIFFER_STATE
field_42543
SNIFFER_STATE
f_271344_
public static final EntityDataSerializer<org.joml.Vector3f>
A
VECTOR3
field_42237
VECTOR3F
f_268676_
public static final EntityDataSerializer<org.joml.Quaternionf>
B
QUATERNION
field_42235
QUATERNIONF
f_268624_

Constructor summary

ModifierConstructor
private ()

Method summary

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