Package net.minecraft.network.syncher
Class EntityDataSerializers
java.lang.Object
net.minecraft.network.syncher.EntityDataSerializers
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer
<Armadillo.ArmadilloState> static final EntityDataSerializer
<BlockPos> static final EntityDataSerializer
<BlockState> static final EntityDataSerializer
<Boolean> static final EntityDataSerializer
<Byte> static final EntityDataSerializer
<Holder<CatVariant>> static final EntityDataSerializer
<Component> static final EntityDataSerializer
<CompoundTag> static final EntityDataSerializer
<Direction> static final EntityDataSerializer
<Float> static final EntityDataSerializer
<Holder<FrogVariant>> static final EntityDataSerializer
<Integer> static final EntityDataSerializer
<ItemStack> private static final org.slf4j.Logger
static final EntityDataSerializer
<Long> static final EntityDataSerializer
<Optional<BlockPos>> static final EntityDataSerializer
<Optional<BlockState>> private static final StreamCodec
<io.netty.buffer.ByteBuf, Optional<BlockState>> static final EntityDataSerializer
<Optional<Component>> static final EntityDataSerializer
<Optional<GlobalPos>> static final EntityDataSerializer
<OptionalInt> private static final StreamCodec
<io.netty.buffer.ByteBuf, OptionalInt> static final EntityDataSerializer
<Optional<UUID>> static final EntityDataSerializer
<Holder<PaintingVariant>> static final EntityDataSerializer
<ParticleOptions> static final EntityDataSerializer
<List<ParticleOptions>> static final EntityDataSerializer
<Pose> static final EntityDataSerializer
<org.joml.Quaternionf> static final EntityDataSerializer
<Rotations> private static final CrudeIncrementalIntIdentityHashBiMap
<EntityDataSerializer<?>> static final EntityDataSerializer
<Sniffer.State> private static final StackWalker
static final EntityDataSerializer
<String> static final EntityDataSerializer
<org.joml.Vector3f> static final EntityDataSerializer
<VillagerData> static final EntityDataSerializer
<Holder<WolfVariant>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getSerializedId
(EntityDataSerializer<?> p_135053_) static EntityDataSerializer
<?> getSerializer
(int p_135049_) static void
registerSerializer
(EntityDataSerializer<?> p_135051_) Deprecated.
-
Field Details
-
SERIALIZERS
-
BYTE
-
INT
-
LONG
-
FLOAT
-
STRING
-
COMPONENT
-
OPTIONAL_COMPONENT
-
ITEM_STACK
-
BLOCK_STATE
-
OPTIONAL_BLOCK_STATE_CODEC
private static final StreamCodec<io.netty.buffer.ByteBuf,Optional<BlockState>> OPTIONAL_BLOCK_STATE_CODEC -
OPTIONAL_BLOCK_STATE
-
BOOLEAN
-
PARTICLE
-
PARTICLES
-
ROTATIONS
-
BLOCK_POS
-
OPTIONAL_BLOCK_POS
-
DIRECTION
-
OPTIONAL_UUID
-
OPTIONAL_GLOBAL_POS
-
COMPOUND_TAG
-
VILLAGER_DATA
-
OPTIONAL_UNSIGNED_INT_CODEC
-
OPTIONAL_UNSIGNED_INT
-
POSE
-
CAT_VARIANT
-
WOLF_VARIANT
-
FROG_VARIANT
-
PAINTING_VARIANT
-
ARMADILLO_STATE
-
SNIFFER_STATE
-
VECTOR3
-
QUATERNION
-
LOGGER
private static final org.slf4j.Logger LOGGER -
STACK_WALKER
-
-
Constructor Details
-
EntityDataSerializers
private EntityDataSerializers()
-
-
Method Details
-
registerSerializer
Deprecated.NeoForge: UseNeoForgeRegistries.ENTITY_DATA_SERIALIZERS
instead -
getSerializer
-
getSerializedId
-
NeoForgeRegistries.ENTITY_DATA_SERIALIZERS
instead