Uses of Record Class
net.minecraft.network.syncher.SynchedEntityData.DataValue
Packages that use SynchedEntityData.DataValue
Package
Description
-
Uses of SynchedEntityData.DataValue in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type SynchedEntityData.DataValueModifier and TypeFieldDescriptionprivate final List
<SynchedEntityData.DataValue<?>> ClientboundSetEntityDataPacket.packedItems
The field for thepackedItems
record component.Methods in net.minecraft.network.protocol.game that return types with arguments of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionClientboundSetEntityDataPacket.packedItems()
Returns the value of thepackedItems
record component.private static List
<SynchedEntityData.DataValue<?>> ClientboundSetEntityDataPacket.unpack
(RegistryFriendlyByteBuf buffer) Method parameters in net.minecraft.network.protocol.game with type arguments of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionprivate static void
ClientboundSetEntityDataPacket.pack
(List<SynchedEntityData.DataValue<?>> dataValues, RegistryFriendlyByteBuf buffer) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type SynchedEntityData.DataValueModifierConstructorDescriptionClientboundSetEntityDataPacket
(int id, List<SynchedEntityData.DataValue<?>> packedItems) Creates an instance of aClientboundSetEntityDataPacket
record class. -
Uses of SynchedEntityData.DataValue in net.minecraft.network.syncher
Methods in net.minecraft.network.syncher that return SynchedEntityData.DataValueModifier and TypeMethodDescriptionstatic <T> SynchedEntityData.DataValue
<T> SynchedEntityData.DataValue.create
(EntityDataAccessor<T> dataAccessor, T value) static SynchedEntityData.DataValue
<?> SynchedEntityData.DataValue.read
(RegistryFriendlyByteBuf buffer, int id) private static <T> SynchedEntityData.DataValue
<T> SynchedEntityData.DataValue.read
(RegistryFriendlyByteBuf buffer, int id, EntityDataSerializer<T> serializer) SynchedEntityData.DataItem.value()
Methods in net.minecraft.network.syncher that return types with arguments of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionSynchedEntityData.getNonDefaultValues()
SynchedEntityData.packDirty()
Methods in net.minecraft.network.syncher with parameters of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionprivate <T> void
SynchedEntityData.assignValue
(SynchedEntityData.DataItem<T> target, SynchedEntityData.DataValue<?> entry) Method parameters in net.minecraft.network.syncher with type arguments of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionvoid
SynchedEntityData.assignValues
(List<SynchedEntityData.DataValue<?>> entries) Updates the data using the given entries.void
SyncedDataHolder.onSyncedDataUpdated
(List<SynchedEntityData.DataValue<?>> newData) -
Uses of SynchedEntityData.DataValue in net.minecraft.server.level
Fields in net.minecraft.server.level with type parameters of type SynchedEntityData.DataValueModifier and TypeFieldDescriptionprivate List
<SynchedEntityData.DataValue<?>> ServerEntity.trackedDataValues
-
Uses of SynchedEntityData.DataValue in net.minecraft.world.entity
Method parameters in net.minecraft.world.entity with type arguments of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionvoid
Entity.onSyncedDataUpdated
(List<SynchedEntityData.DataValue<?>> dataValues)