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
Methods in net.minecraft.world.entity with parameters of type CustomDataModifier and TypeMethodDescriptionstatic voidEntityType.updateCustomEntityTag(Level p_20621_, Player p_20622_, Entity p_20623_, CustomData p_331752_) -
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 p_330724_) CustomData.update(Consumer<CompoundTag> p_331451_) 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> p_346001_, com.mojang.serialization.MapEncoder<T> p_331823_, T p_332045_) Method parameters in net.minecraft.world.item.component with type arguments of type CustomDataModifier and TypeMethodDescriptionCustomData.itemMatcher(DataComponentType<CustomData> p_332149_, CompoundTag p_330658_) static voidCustomData.set(DataComponentType<CustomData> p_330462_, ItemStack p_332015_, CompoundTag p_331019_) static voidCustomData.update(DataComponentType<CustomData> p_331895_, ItemStack p_332185_, Consumer<CompoundTag> p_331274_) -
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.