Uses of Interface
net.minecraft.network.syncher.EntityDataSerializer
Package
Description
-
Uses of EntityDataSerializer in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer
<Armadillo.ArmadilloState> EntityDataSerializers.ARMADILLO_STATE
static 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
<Holder<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
<Holder<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
<List<ParticleOptions>> EntityDataSerializers.PARTICLES
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
The field for theserializer
record component.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
static final EntityDataSerializer
<Holder<WolfVariant>> EntityDataSerializers.WOLF_VARIANT
Modifier and TypeFieldDescriptionprivate static final CrudeIncrementalIntIdentityHashBiMap
<EntityDataSerializer<?>> EntityDataSerializers.SERIALIZERS
Modifier and TypeMethodDescriptionstatic <T> EntityDataSerializer
<T> EntityDataSerializer.forValueType
(StreamCodec<? super RegistryFriendlyByteBuf, T> p_319946_) static EntityDataSerializer
<?> EntityDataSerializers.getSerializer
(int p_135049_) EntityDataAccessor.serializer()
Returns the value of theserializer
record component.SynchedEntityData.DataValue.serializer()
Returns the value of theserializer
record component.Modifier and TypeMethodDescriptionstatic <T> EntityDataAccessor
<T> SynchedEntityData.defineId
(Class<? extends SyncedDataHolder> p_135354_, EntityDataSerializer<T> p_135355_) static int
EntityDataSerializers.getSerializedId
(EntityDataSerializer<?> p_135053_) private static <T> SynchedEntityData.DataValue
<T> SynchedEntityData.DataValue.read
(RegistryFriendlyByteBuf p_320893_, 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 id, EntityDataSerializer<T> serializer) Creates an instance of aEntityDataAccessor
record class. -
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