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 pBuffer) Method parameters in net.minecraft.network.protocol.game with type arguments of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionprivate static void
ClientboundSetEntityDataPacket.pack
(List<SynchedEntityData.DataValue<?>> pDataValues, RegistryFriendlyByteBuf pBuffer) 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> pDataAccessor, T pValue) static SynchedEntityData.DataValue
<?> SynchedEntityData.DataValue.read
(RegistryFriendlyByteBuf pBuffer, int pId) private static <T> SynchedEntityData.DataValue
<T> SynchedEntityData.DataValue.read
(RegistryFriendlyByteBuf pBuffer, int pId, EntityDataSerializer<T> pSerializer) 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> pTarget, SynchedEntityData.DataValue<?> pEntry) Method parameters in net.minecraft.network.syncher with type arguments of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionvoid
SynchedEntityData.assignValues
(List<SynchedEntityData.DataValue<?>> pEntries) Updates the data using the given entries.void
SyncedDataHolder.onSyncedDataUpdated
(List<SynchedEntityData.DataValue<?>> pNewData) -
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<?>> pDataValues)