Package net.minecraft.network.syncher
Class EntityDataSerializers
java.lang.Object
net.minecraft.network.syncher.EntityDataSerializers
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer<BlockPos>
static final EntityDataSerializer<Optional<BlockState>>
static final EntityDataSerializer<Boolean>
static final EntityDataSerializer<Byte>
static final EntityDataSerializer<CatVariant>
static final EntityDataSerializer<Component>
static final EntityDataSerializer<CompoundTag>
static final EntityDataSerializer<Direction>
static final EntityDataSerializer<Float>
static final EntityDataSerializer<FrogVariant>
static final EntityDataSerializer<Integer>
static final EntityDataSerializer<ItemStack>
static final EntityDataSerializer<Long>
static final EntityDataSerializer<Optional<BlockPos>>
static final EntityDataSerializer<Optional<Component>>
static final EntityDataSerializer<Optional<GlobalPos>>
static final EntityDataSerializer<OptionalInt>
static final EntityDataSerializer<Optional<UUID>>
static final EntityDataSerializer<Holder<PaintingVariant>>
static final EntityDataSerializer<ParticleOptions>
static final EntityDataSerializer<Pose>
static final EntityDataSerializer<Rotations>
private static final CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>>
static final EntityDataSerializer<String>
static final EntityDataSerializer<VillagerData>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getSerializedId
(EntityDataSerializer<?> p_135053_) static EntityDataSerializer<?>
getSerializer
(int p_135049_) static void
registerSerializer
(EntityDataSerializer<?> p_135051_)
-
Field Details
-
SERIALIZERS
-
BYTE
-
INT
-
LONG
-
FLOAT
-
STRING
-
COMPONENT
-
OPTIONAL_COMPONENT
-
ITEM_STACK
-
BLOCK_STATE
-
BOOLEAN
-
PARTICLE
-
ROTATIONS
-
BLOCK_POS
-
OPTIONAL_BLOCK_POS
-
DIRECTION
-
OPTIONAL_UUID
-
OPTIONAL_GLOBAL_POS
-
COMPOUND_TAG
-
VILLAGER_DATA
-
OPTIONAL_UNSIGNED_INT
-
POSE
-
CAT_VARIANT
-
FROG_VARIANT
-
PAINTING_VARIANT
-
-
Constructor Details
-
EntityDataSerializers
private EntityDataSerializers()
-
-
Method Details
-
registerSerializer
-
getSerializer
-
getSerializedId
-