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
(FriendlyByteBuf p_253726_) Modifier and TypeMethodDescriptionprivate static void
ClientboundSetEntityDataPacket.pack
(List<SynchedEntityData.DataValue<?>> p_253940_, FriendlyByteBuf p_253901_) 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
(FriendlyByteBuf p_254314_, int p_254356_) private static <T> SynchedEntityData.DataValue<T>
SynchedEntityData.DataValue.read
(FriendlyByteBuf p_254224_, 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_) -
Uses of SynchedEntityData.DataValue in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate List<SynchedEntityData.DataValue<?>>
ServerEntity.trackedDataValues