Uses of Class
net.minecraft.world.item.component.CustomData
Packages that use CustomData
Package
Description
-
Uses of CustomData in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type CustomDataModifier and TypeFieldDescriptionstatic final DataComponentType<CustomData> DataComponents.BUCKET_ENTITY_DATAstatic final DataComponentType<CustomData> DataComponents.CUSTOM_DATA -
Uses of CustomData in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as CustomData -
Uses of CustomData in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as CustomDataFields in net.minecraft.world.item.component with type parameters of type CustomDataModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CustomData> CustomData.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, CustomData> CustomData.STREAM_CODECDeprecated.Methods in net.minecraft.world.item.component that return CustomDataModifier and TypeMethodDescriptionstatic CustomDataCustomData.of(CompoundTag tag) CustomData.update(Consumer<CompoundTag> consumer) Method parameters in net.minecraft.world.item.component with type arguments of type CustomDataModifier and TypeMethodDescriptionstatic voidCustomData.set(DataComponentType<CustomData> component, ItemStack itemStack, CompoundTag tag) static voidCustomData.update(DataComponentType<CustomData> component, ItemStack itemStack, Consumer<CompoundTag> consumer)