Uses of Record Class
net.minecraft.network.syncher.SynchedEntityData.DataValue
Package
Description
-
Uses of SynchedEntityData.DataValue in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final List
<SynchedEntityData.DataValue<?>> ClientboundSetEntityDataPacket.packedItems
The field for thepackedItems
record component.Modifier and TypeMethodDescriptionClientboundSetEntityDataPacket.packedItems()
Returns the value of thepackedItems
record component.private static List
<SynchedEntityData.DataValue<?>> ClientboundSetEntityDataPacket.unpack
(RegistryFriendlyByteBuf p_320523_) Modifier and TypeMethodDescriptionprivate static void
ClientboundSetEntityDataPacket.pack
(List<SynchedEntityData.DataValue<?>> p_253940_, RegistryFriendlyByteBuf p_320247_) ModifierConstructorDescriptionClientboundSetEntityDataPacket
(int id, List<SynchedEntityData.DataValue<?>> packedItems) Creates an instance of aClientboundSetEntityDataPacket
record class. -
Uses of SynchedEntityData.DataValue in net.minecraft.network.syncher
Modifier and TypeMethodDescriptionstatic <T> SynchedEntityData.DataValue
<T> SynchedEntityData.DataValue.create
(EntityDataAccessor<T> p_254543_, T p_254138_) static SynchedEntityData.DataValue
<?> SynchedEntityData.DataValue.read
(RegistryFriendlyByteBuf p_319816_, int p_254356_) private static <T> SynchedEntityData.DataValue
<T> SynchedEntityData.DataValue.read
(RegistryFriendlyByteBuf p_320893_, int p_253899_, EntityDataSerializer<T> p_254222_) SynchedEntityData.DataItem.value()
Modifier and TypeMethodDescriptionSynchedEntityData.getNonDefaultValues()
SynchedEntityData.packDirty()
Modifier and TypeMethodDescriptionprivate <T> void
SynchedEntityData.assignValue
(SynchedEntityData.DataItem<T> p_135376_, SynchedEntityData.DataValue<?> p_254484_) Modifier and TypeMethodDescriptionvoid
SynchedEntityData.assignValues
(List<SynchedEntityData.DataValue<?>> p_135357_) void
SyncedDataHolder.onSyncedDataUpdated
(List<SynchedEntityData.DataValue<?>> p_326334_) -
Uses of SynchedEntityData.DataValue in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate List
<SynchedEntityData.DataValue<?>> ServerEntity.trackedDataValues
-
Uses of SynchedEntityData.DataValue in net.minecraft.world.entity
Modifier and TypeMethodDescriptionvoid
Entity.onSyncedDataUpdated
(List<SynchedEntityData.DataValue<?>> p_270372_)