net.minecraft.network.syncher

public class EntityDataSerializers

uu
net.minecraft.network.syncher.EntityDataSerializers
net.minecraft.class_2943
net.minecraft.entity.data.TrackedDataHandlerRegistry
net.minecraft.network.datasync.DataSerializers
net.minecraft.server.v1_16_R2.DataWatcherRegistry

Field summary

Modifier and TypeField
private static final CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>>
t
SERIALIZERS
field_13328
field_13328
field_187204_n
public static final EntityDataSerializer<Byte>
a
BYTE
field_13319
BYTE
field_187191_a
public static final EntityDataSerializer<Integer>
b
INT
field_13327
INTEGER
field_187192_b
public static final EntityDataSerializer<Float>
c
FLOAT
field_13320
FLOAT
field_187193_c
public static final EntityDataSerializer<String>
d
STRING
field_13326
STRING
field_187194_d
public static final EntityDataSerializer<Component>
e
COMPONENT
field_13317
TEXT_COMPONENT
field_187195_e
public static final EntityDataSerializer<Optional<Component>>
f
OPTIONAL_COMPONENT
field_13325
OPTIONAL_TEXT_COMPONENT
field_200544_f
public static final EntityDataSerializer<ItemStack>
g
ITEM_STACK
field_13322
ITEM_STACK
field_187196_f
public static final EntityDataSerializer<Optional<BlockState>>
h
BLOCK_STATE
field_13312
OPTIONAL_BLOCK_STATE
field_187197_g
public static final EntityDataSerializer<Boolean>
i
BOOLEAN
field_13323
BOOLEAN
field_187198_h
public static final EntityDataSerializer<ParticleOptions>
j
PARTICLE
field_13314
PARTICLE
field_198166_i
public static final EntityDataSerializer<Rotations>
k
ROTATIONS
field_13316
ROTATION
field_187199_i
public static final EntityDataSerializer<BlockPos>
l
BLOCK_POS
field_13324
BLOCK_POS
field_187200_j
public static final EntityDataSerializer<Optional<BlockPos>>
m
OPTIONAL_BLOCK_POS
field_13315
OPTIONAL_BLOCK_POS
field_187201_k
public static final EntityDataSerializer<Direction>
n
DIRECTION
field_13321
FACING
field_187202_l
public static final EntityDataSerializer<Optional<UUID>>
o
OPTIONAL_UUID
field_13313
OPTIONAL_UUID
field_187203_m
public static final EntityDataSerializer<CompoundTag>
p
COMPOUND_TAG
field_13318
TAG_COMPOUND
field_192734_n
public static final EntityDataSerializer<VillagerData>
q
VILLAGER_DATA
field_17207
VILLAGER_DATA
field_218813_q
public static final EntityDataSerializer<OptionalInt>
r
OPTIONAL_UNSIGNED_INT
field_17910
FIREWORK_DATA
field_218814_r
public static final EntityDataSerializer<Pose>
s
POSE
field_18238
ENTITY_POSE
field_218815_s

Method summary

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