Uses of Interface
net.minecraft.network.syncher.EntityDataSerializer
Package
Description
-
Uses of EntityDataSerializer in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer<BlockPos>
EntityDataSerializers.BLOCK_POS
static final EntityDataSerializer<BlockState>
EntityDataSerializers.BLOCK_STATE
static final EntityDataSerializer<Boolean>
EntityDataSerializers.BOOLEAN
static final EntityDataSerializer<Byte>
EntityDataSerializers.BYTE
static final EntityDataSerializer<CatVariant>
EntityDataSerializers.CAT_VARIANT
static final EntityDataSerializer<Component>
EntityDataSerializers.COMPONENT
static final EntityDataSerializer<CompoundTag>
EntityDataSerializers.COMPOUND_TAG
static final EntityDataSerializer<Direction>
EntityDataSerializers.DIRECTION
static final EntityDataSerializer<Float>
EntityDataSerializers.FLOAT
static final EntityDataSerializer<FrogVariant>
EntityDataSerializers.FROG_VARIANT
static final EntityDataSerializer<Integer>
EntityDataSerializers.INT
static final EntityDataSerializer<ItemStack>
EntityDataSerializers.ITEM_STACK
static final EntityDataSerializer<Long>
EntityDataSerializers.LONG
static final EntityDataSerializer<Optional<BlockPos>>
EntityDataSerializers.OPTIONAL_BLOCK_POS
static final EntityDataSerializer<Optional<BlockState>>
EntityDataSerializers.OPTIONAL_BLOCK_STATE
static final EntityDataSerializer<Optional<Component>>
EntityDataSerializers.OPTIONAL_COMPONENT
static final EntityDataSerializer<Optional<GlobalPos>>
EntityDataSerializers.OPTIONAL_GLOBAL_POS
static final EntityDataSerializer<OptionalInt>
EntityDataSerializers.OPTIONAL_UNSIGNED_INT
static final EntityDataSerializer<Optional<UUID>>
EntityDataSerializers.OPTIONAL_UUID
static final EntityDataSerializer<Holder<PaintingVariant>>
EntityDataSerializers.PAINTING_VARIANT
static final EntityDataSerializer<ParticleOptions>
EntityDataSerializers.PARTICLE
static final EntityDataSerializer<Pose>
EntityDataSerializers.POSE
static final EntityDataSerializer<org.joml.Quaternionf>
EntityDataSerializers.QUATERNION
static final EntityDataSerializer<Rotations>
EntityDataSerializers.ROTATIONS
private final EntityDataSerializer<T>
EntityDataAccessor.serializer
private final EntityDataSerializer<T>
SynchedEntityData.DataValue.serializer
The field for theserializer
record component.static final EntityDataSerializer<Sniffer.State>
EntityDataSerializers.SNIFFER_STATE
static final EntityDataSerializer<String>
EntityDataSerializers.STRING
static final EntityDataSerializer<org.joml.Vector3f>
EntityDataSerializers.VECTOR3
static final EntityDataSerializer<VillagerData>
EntityDataSerializers.VILLAGER_DATA
Modifier and TypeFieldDescriptionprivate static final CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>>
EntityDataSerializers.SERIALIZERS
Modifier and TypeMethodDescriptionEntityDataAccessor.getSerializer()
static EntityDataSerializer<?>
EntityDataSerializers.getSerializer
(int p_135049_) static <T> EntityDataSerializer<Optional<T>>
EntityDataSerializer.optional
(FriendlyByteBuf.Writer<T> p_238099_, FriendlyByteBuf.Reader<T> p_238100_) SynchedEntityData.DataValue.serializer()
Returns the value of theserializer
record component.static <T> EntityDataSerializer<T>
EntityDataSerializer.simple
(FriendlyByteBuf.Writer<T> p_238096_, FriendlyByteBuf.Reader<T> p_238097_) static <T extends Enum<T>>
EntityDataSerializer<T>EntityDataSerializer.simpleEnum
(Class<T> p_238091_) static <T> EntityDataSerializer<T>
Modifier and TypeMethodDescriptionstatic <T> EntityDataAccessor<T>
SynchedEntityData.defineId
(Class<? extends Entity> p_135354_, EntityDataSerializer<T> p_135355_) static int
EntityDataSerializers.getSerializedId
(EntityDataSerializer<?> p_135053_) private static <T> SynchedEntityData.DataValue<T>
SynchedEntityData.DataValue.read
(FriendlyByteBuf p_254224_, int p_253899_, EntityDataSerializer<T> p_254222_) static void
EntityDataSerializers.registerSerializer
(EntityDataSerializer<?> p_135051_) Deprecated.ModifierConstructorDescriptionDataValue
(int id, EntityDataSerializer<T> serializer, T value) Creates an instance of aDataValue
record class.EntityDataAccessor
(int p_135013_, EntityDataSerializer<T> p_135014_) -
Uses of EntityDataSerializer in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionstatic @Nullable EntityDataSerializer<?>
CommonHooks.getSerializer
(int id, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>> vanilla) Modifier and TypeMethodDescriptionstatic int
CommonHooks.getSerializerId
(EntityDataSerializer<?> serializer, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>> vanilla) Modifier and TypeMethodDescriptionstatic @Nullable EntityDataSerializer<?>
CommonHooks.getSerializer
(int id, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>> vanilla) static int
CommonHooks.getSerializerId
(EntityDataSerializer<?> serializer, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>> vanilla) -
Uses of EntityDataSerializer in net.neoforged.neoforge.debug.entity
Modifier and TypeFieldDescriptionprivate static final DeferredHolder<EntityDataSerializer<?>,
EntityDataSerializer<Byte>> EntityDataSerializerTest.TEST_SERIALIZER
private static final DeferredHolder<EntityDataSerializer<?>,
EntityDataSerializer<Byte>> EntityDataSerializerTest.TEST_SERIALIZER
-
Uses of EntityDataSerializer in net.neoforged.neoforge.registries
Modifier and TypeFieldDescriptionstatic final Registry<EntityDataSerializer<?>>
NeoForgeRegistries.ENTITY_DATA_SERIALIZERS
static final ResourceKey<Registry<EntityDataSerializer<?>>>
NeoForgeRegistries.Keys.ENTITY_DATA_SERIALIZERS
NeoForgeRegistries.ENTITY_DATA_SERIALIZERS
instead