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.BLOCK_ENTITY_DATAstatic final DataComponentType<CustomData> DataComponents.BUCKET_ENTITY_DATAstatic final DataComponentType<CustomData> DataComponents.CUSTOM_DATAstatic final DataComponentType<CustomData> DataComponents.ENTITY_DATA -
Uses of CustomData in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as CustomDataMethods in net.minecraft.world.entity with parameters of type CustomDataModifier and TypeMethodDescriptionstatic voidEntityType.updateCustomEntityTag(Level pLevel, LivingEntity pOwner, Entity pEntity, CustomData pCustomData) -
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 com.mojang.serialization.Codec<CustomData> CustomData.CODEC_WITH_IDstatic 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 pTag) CustomData.update(Consumer<CompoundTag> pUpdater) Methods in net.minecraft.world.item.component that return types with arguments of type CustomDataModifier and TypeMethodDescription<T> com.mojang.serialization.DataResult<CustomData> CustomData.update(com.mojang.serialization.DynamicOps<Tag> pOps, com.mojang.serialization.MapEncoder<T> pEncoder, T pValue) Method parameters in net.minecraft.world.item.component with type arguments of type CustomDataModifier and TypeMethodDescriptionstatic voidCustomData.set(DataComponentType<CustomData> pComponentType, ItemStack pStack, CompoundTag pTag) static voidCustomData.update(DataComponentType<CustomData> pComponentType, ItemStack pStack, Consumer<CompoundTag> pUpdater) -
Uses of CustomData in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type CustomDataModifier and TypeMethodDescriptionstatic voidSpawner.appendHoverText(CustomData pCustomData, Consumer<Component> pTooltipAdder, String pSpawnDataKey) static ComponentSpawner.getSpawnEntityDisplayName(CustomData pCustomData, String pSpawnDataKey) -
Uses of CustomData in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as CustomDataModifier and TypeFieldDescriptionprivate final CustomDataBeehiveBlockEntity.Occupant.entityDataThe field for theentityDatarecord component.Methods in net.minecraft.world.level.block.entity that return CustomDataModifier and TypeMethodDescriptionBeehiveBlockEntity.Occupant.entityData()Returns the value of theentityDatarecord component.Constructors in net.minecraft.world.level.block.entity with parameters of type CustomDataModifierConstructorDescriptionOccupant(CustomData entityData, int ticksInHive, int minTicksInHive) Creates an instance of aOccupantrecord class.