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<Optional<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<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<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<String>
EntityDataSerializers.STRING
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_) 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.minecraftforge.common
Modifier and TypeMethodDescriptionstatic @Nullable EntityDataSerializer<?>
ForgeHooks.getSerializer
(int id, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>> vanilla) Modifier and TypeMethodDescriptionstatic int
ForgeHooks.getSerializerId
(EntityDataSerializer<?> serializer, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>> vanilla) Modifier and TypeMethodDescriptionstatic @Nullable EntityDataSerializer<?>
ForgeHooks.getSerializer
(int id, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>> vanilla) static int
ForgeHooks.getSerializerId
(EntityDataSerializer<?> serializer, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>> vanilla) -
Uses of EntityDataSerializer in net.minecraftforge.registries
Modifier and TypeFieldDescription(package private) static final DeferredRegister<EntityDataSerializer<?>>
ForgeRegistries.DEFERRED_ENTITY_DATA_SERIALIZERS
static final Supplier<IForgeRegistry<EntityDataSerializer<?>>>
ForgeRegistries.ENTITY_DATA_SERIALIZERS
CallingSupplier.get()
beforeNewRegistryEvent
is fired will result in a null registry returned.static final ResourceKey<Registry<EntityDataSerializer<?>>>
ForgeRegistries.Keys.ENTITY_DATA_SERIALIZERS
Modifier and TypeMethodDescription(package private) static RegistryBuilder<EntityDataSerializer<?>>
GameData.getDataSerializersRegistryBuilder()