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.packedItemsThe field for thepackedItemsrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionClientboundSetEntityDataPacket.packedItems()Returns the value of thepackedItemsrecord 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 voidClientboundSetEntityDataPacket.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 aClientboundSetEntityDataPacketrecord 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> voidSynchedEntityData.assignValue(SynchedEntityData.DataItem<T> target, SynchedEntityData.DataValue<?> entry) Method parameters in net.minecraft.network.syncher with type arguments of type SynchedEntityData.DataValueModifier and TypeMethodDescriptionvoidSynchedEntityData.assignValues(List<SynchedEntityData.DataValue<?>> entries) Updates the data using the given entries.voidSyncedDataHolder.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 TypeMethodDescriptionvoidEntity.onSyncedDataUpdated(List<SynchedEntityData.DataValue<?>> dataValues)