Uses of Class
net.minecraft.nbt.CompoundTag
Package
Description
-
Uses of CompoundTag in net.minecraft.advancements.critereon
Modifier and TypeMethodDescriptionstatic CompoundTag
NbtPredicate.getEntityTagToCompare
(Entity p_57486_) Modifier and TypeMethodDescriptionBlockPredicate.Builder.hasNbt
(CompoundTag p_146725_) ItemPredicate.Builder.hasNbt
(CompoundTag p_45076_) -
Uses of CompoundTag in net.minecraft.client
Modifier and TypeMethodDescriptionprivate void
KeyboardHandler.copyCreateBlockCommand
(BlockState p_90900_, BlockPos p_90901_, CompoundTag p_90902_) private void
KeyboardHandler.copyCreateEntityCommand
(ResourceLocation p_90923_, Vec3 p_90924_, CompoundTag p_90925_) private CompoundTag
Options.dataFix
(CompoundTag p_92165_) boolean
DebugQueryHandler.handleResponse
(int p_90706_, CompoundTag p_90707_) Modifier and TypeMethodDescriptionvoid
DebugQueryHandler.queryBlockEntityTag
(BlockPos p_90709_, Consumer<CompoundTag> p_90710_) void
DebugQueryHandler.queryEntityTag
(int p_90703_, Consumer<CompoundTag> p_90704_) private int
DebugQueryHandler.startTransaction
(Consumer<CompoundTag> p_90712_) -
Uses of CompoundTag in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptionBookViewScreen.loadPages
(CompoundTag p_169695_) static void
BookViewScreen.loadPages
(CompoundTag p_169697_, Consumer<String> p_169698_) -
Uses of CompoundTag in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientLevel.createFireworks
(double p_104585_, double p_104586_, double p_104587_, double p_104588_, double p_104589_, double p_104590_, CompoundTag p_104591_) static ServerData
ServerData.read
(CompoundTag p_105386_) ClientChunkCache.replaceWithPacketData
(int p_194117_, int p_194118_, FriendlyByteBuf p_194119_, CompoundTag p_194120_, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> p_194121_) -
Uses of CompoundTag in net.minecraft.client.particle
ModifierConstructorDescriptionStarter
(ClientLevel p_106757_, double p_106758_, double p_106759_, double p_106760_, double p_106761_, double p_106762_, double p_106763_, ParticleEngine p_106764_, CompoundTag p_106765_) -
Uses of CompoundTag in net.minecraft.client.server
-
Uses of CompoundTag in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionprivate final CompoundTag
NbtPathArgument.MatchElementNode.pattern
private final CompoundTag
NbtPathArgument.MatchObjectNode.pattern
Modifier and TypeMethodDescriptionstatic <S> CompoundTag
CompoundTagArgument.getCompoundTag
(com.mojang.brigadier.context.CommandContext<S> p_87661_, String p_87662_) CompoundTagArgument.parse
(com.mojang.brigadier.StringReader p_87659_) ModifierConstructorDescriptionMatchElementNode
(CompoundTag p_99566_) MatchObjectNode
(String p_99588_, CompoundTag p_99589_) MatchRootObjectNode
(CompoundTag p_99605_) -
Uses of CompoundTag in net.minecraft.commands.arguments.blocks
Modifier and TypeFieldDescriptionprivate final CompoundTag
BlockPredicateArgument.BlockPredicate.nbt
private final CompoundTag
BlockPredicateArgument.TagPredicate.nbt
private CompoundTag
BlockStateParser.nbt
private final CompoundTag
BlockInput.tag
ModifierConstructorDescriptionBlockInput
(BlockState p_114666_, Set<Property<?>> p_114667_, CompoundTag p_114668_) BlockPredicate
(BlockState p_115595_, Set<Property<?>> p_115596_, CompoundTag p_115597_) (package private)
TagPredicate
(TagKey<Block> p_205591_, Map<String, String> p_205592_, CompoundTag p_205593_) -
Uses of CompoundTag in net.minecraft.commands.arguments.item
Modifier and TypeFieldDescriptionprivate CompoundTag
ItemParser.nbt
private final CompoundTag
ItemPredicateArgument.ItemPredicate.nbt
private final CompoundTag
ItemPredicateArgument.TagPredicate.nbt
private final CompoundTag
ItemInput.tag
ModifierConstructorDescriptionItemInput
(Item p_120977_, CompoundTag p_120978_) ItemPredicate
(Item p_121061_, CompoundTag p_121062_) TagPredicate
(TagKey<Item> p_205686_, CompoundTag p_205687_) -
Uses of CompoundTag in net.minecraft.data.structures
Modifier and TypeMethodDescriptionSnbtToNbt.Filter.apply
(String p_126480_, CompoundTag p_126481_) StructureUpdater.apply
(String p_126503_, CompoundTag p_126504_) private CompoundTag
SnbtToNbt.applyFilters
(String p_126461_, CompoundTag p_126462_) private static CompoundTag
StructureUpdater.patchVersion
(CompoundTag p_126506_) static CompoundTag
StructureUpdater.update
(String p_176823_, CompoundTag p_176824_) private static CompoundTag
StructureUpdater.updateStructure
(String p_126508_, CompoundTag p_126509_) Modifier and TypeMethodDescriptionSnbtToNbt.Filter.apply
(String p_126480_, CompoundTag p_126481_) StructureUpdater.apply
(String p_126503_, CompoundTag p_126504_) private CompoundTag
SnbtToNbt.applyFilters
(String p_126461_, CompoundTag p_126462_) private static CompoundTag
StructureUpdater.patchVersion
(CompoundTag p_126506_) static CompoundTag
StructureUpdater.update
(String p_176823_, CompoundTag p_176824_) private static CompoundTag
StructureUpdater.updateStructure
(String p_126508_, CompoundTag p_126509_) -
Uses of CompoundTag in net.minecraft.gametest.framework
Modifier and TypeMethodDescriptionprivate static CompoundTag
StructureUtils.tryLoadStructure
(Path p_127903_) -
Uses of CompoundTag in net.minecraft.nbt
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CompoundTag>
CompoundTag.CODEC
static final TagType<CompoundTag>
CompoundTag.TYPE
Modifier and TypeMethodDescriptionprotected CompoundTag
NbtOps.NbtRecordBuilder.append
(String p_129186_, Tag p_129187_, CompoundTag p_129188_) CompoundTag.copy()
CompoundTag.getCompound
(String p_128470_) ListTag.getCompound
(int p_128729_) protected CompoundTag
NbtOps.NbtRecordBuilder.initBuilder()
CompoundTag.merge
(CompoundTag p_128392_) (package private) static CompoundTag
NbtUtils.packStructureTemplate
(CompoundTag p_178068_) static CompoundTag
static CompoundTag
static CompoundTag
NbtIo.read
(DataInput p_128935_, NbtAccounter p_128936_) static CompoundTag
static CompoundTag
NbtIo.readCompressed
(File p_128938_) static CompoundTag
NbtIo.readCompressed
(InputStream p_128940_) (package private) CompoundTag
TagParser.readSingleStruct()
TagParser.readStruct()
static CompoundTag
NbtUtils.snbtToStructure
(String p_178025_) (package private) static CompoundTag
NbtUtils.unpackBlockState
(String p_178054_) (package private) static CompoundTag
NbtUtils.unpackStructureTemplate
(CompoundTag p_178072_) static CompoundTag
NbtUtils.update
(com.mojang.datafixers.DataFixer p_129214_, DataFixTypes p_129215_, CompoundTag p_129216_, int p_129217_) static CompoundTag
NbtUtils.update
(com.mojang.datafixers.DataFixer p_129219_, DataFixTypes p_129220_, CompoundTag p_129221_, int p_129222_, int p_129223_) static CompoundTag
NbtUtils.writeBlockPos
(BlockPos p_129225_) static CompoundTag
NbtUtils.writeBlockState
(BlockState p_129203_) static CompoundTag
NbtUtils.writeFluidState
(FluidState p_178023_) static CompoundTag
NbtUtils.writeGameProfile
(CompoundTag p_129231_, com.mojang.authlib.GameProfile p_129232_) Modifier and TypeMethodDescriptionprotected CompoundTag
NbtOps.NbtRecordBuilder.append
(String p_129186_, Tag p_129187_, CompoundTag p_129188_) protected com.mojang.serialization.DataResult<Tag>
NbtOps.NbtRecordBuilder.build
(CompoundTag p_129190_, Tag p_129191_) SnbtPrinterTagVisitor.getKeys
(CompoundTag p_178147_) CompoundTag.merge
(CompoundTag p_128392_) (package private) static String
NbtUtils.packBlockState
(CompoundTag p_178076_) (package private) static CompoundTag
NbtUtils.packStructureTemplate
(CompoundTag p_178068_) static BlockPos
NbtUtils.readBlockPos
(CompoundTag p_129240_) static BlockState
NbtUtils.readBlockState
(CompoundTag p_129242_) static com.mojang.authlib.GameProfile
NbtUtils.readGameProfile
(CompoundTag p_129229_) private static <S extends StateHolder<?,
S>, T extends Comparable<T>>
SNbtUtils.setValueHelper
(S p_129205_, Property<T> p_129206_, String p_129207_, CompoundTag p_129208_, CompoundTag p_129209_) static String
NbtUtils.structureToSnbt
(CompoundTag p_178064_) (package private) static CompoundTag
NbtUtils.unpackStructureTemplate
(CompoundTag p_178072_) static CompoundTag
NbtUtils.update
(com.mojang.datafixers.DataFixer p_129214_, DataFixTypes p_129215_, CompoundTag p_129216_, int p_129217_) static CompoundTag
NbtUtils.update
(com.mojang.datafixers.DataFixer p_129219_, DataFixTypes p_129220_, CompoundTag p_129221_, int p_129222_, int p_129223_) void
SnbtPrinterTagVisitor.visitCompound
(CompoundTag p_178120_) void
StringTagVisitor.visitCompound
(CompoundTag p_178166_) void
TagVisitor.visitCompound
(CompoundTag p_178218_) void
TextComponentTagVisitor.visitCompound
(CompoundTag p_178260_) static void
NbtIo.write
(CompoundTag p_128942_, DataOutput p_128943_) static void
NbtIo.write
(CompoundTag p_128956_, File p_128957_) static void
NbtIo.writeCompressed
(CompoundTag p_128945_, File p_128946_) static void
NbtIo.writeCompressed
(CompoundTag p_128948_, OutputStream p_128949_) static CompoundTag
NbtUtils.writeGameProfile
(CompoundTag p_129231_, com.mojang.authlib.GameProfile p_129232_) -
Uses of CompoundTag in net.minecraft.network
Modifier and TypeMethodDescriptionFriendlyByteBuf.readAnySizeNbt()
FriendlyByteBuf.readNbt()
FriendlyByteBuf.readNbt
(NbtAccounter p_130082_) -
Uses of CompoundTag in net.minecraft.network.chat
Modifier and TypeMethodDescriptionprotected Stream<CompoundTag>
NbtComponent.BlockNbtComponent.getData
(CommandSourceStack p_130994_) protected Stream<CompoundTag>
NbtComponent.EntityNbtComponent.getData
(CommandSourceStack p_131017_) protected abstract Stream<CompoundTag>
NbtComponent.getData
(CommandSourceStack p_130962_) protected Stream<CompoundTag>
NbtComponent.StorageNbtComponent.getData
(CommandSourceStack p_131038_) ModifierConstructorDescription(package private)
ItemStackInfo
(Item p_130893_, int p_130894_, CompoundTag p_130895_) -
Uses of CompoundTag in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final CompoundTag
ClientboundLevelChunkPacketData.heightmaps
private final CompoundTag
ClientboundBlockEntityDataPacket.tag
(package private) final CompoundTag
ClientboundLevelChunkPacketData.BlockEntityInfo.tag
private final CompoundTag
ClientboundTagQueryPacket.tag
Modifier and TypeMethodDescriptionClientboundLevelChunkPacketData.getHeightmaps()
ClientboundBlockEntityDataPacket.getTag()
ClientboundTagQueryPacket.getTag()
Modifier and TypeMethodDescriptionvoid
ClientboundLevelChunkPacketData.BlockEntityTagOutput.accept
(BlockPos p_195696_, BlockEntityType<?> p_195697_, CompoundTag p_195698_) Modifier and TypeMethodDescriptionClientboundBlockEntityDataPacket.create
(BlockEntity p_195643_, Function<BlockEntity, CompoundTag> p_195644_) ModifierConstructorDescriptionprivate
BlockEntityInfo
(int p_195685_, int p_195686_, BlockEntityType<?> p_195687_, CompoundTag p_195688_) private
ClientboundBlockEntityDataPacket
(BlockPos p_195637_, BlockEntityType<?> p_195638_, CompoundTag p_195639_) ClientboundTagQueryPacket
(int p_133497_, CompoundTag p_133498_) -
Uses of CompoundTag in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer<CompoundTag>
EntityDataSerializers.COMPOUND_TAG
-
Uses of CompoundTag in net.minecraft.server
-
Uses of CompoundTag in net.minecraft.server.bossevents
Modifier and TypeMethodDescriptionstatic CustomBossEvent
CustomBossEvent.load
(CompoundTag p_136273_, ResourceLocation p_136274_) void
CustomBossEvents.load
(CompoundTag p_136296_) -
Uses of CompoundTag in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
SummonCommand.spawnEntity
(CommandSourceStack p_138821_, ResourceLocation p_138822_, Vec3 p_138823_, CompoundTag p_138824_, boolean p_138825_) ModifierConstructorDescriptionCloneBlockInfo
(BlockPos p_136783_, BlockState p_136784_, CompoundTag p_136785_) -
Uses of CompoundTag in net.minecraft.server.commands.data
Modifier and TypeMethodDescriptionBlockDataAccessor.getData()
DataAccessor.getData()
EntityDataAccessor.getData()
StorageDataAccessor.getData()
Modifier and TypeMethodDescriptionprivate static int
DataCommands.insertAtIndex
(int p_139361_, CompoundTag p_139362_, NbtPathArgument.NbtPath p_139363_, List<Tag> p_139364_) private static int
DataCommands.mergeData
(CommandSourceStack p_139395_, DataAccessor p_139396_, CompoundTag p_139397_) int
DataCommands.DataManipulator.modify
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139496_, CompoundTag p_139497_, NbtPathArgument.NbtPath p_139498_, List<Tag> p_139499_) void
BlockDataAccessor.setData
(CompoundTag p_139307_) void
DataAccessor.setData
(CompoundTag p_139323_) void
EntityDataAccessor.setData
(CompoundTag p_139519_) void
StorageDataAccessor.setData
(CompoundTag p_139556_) -
Uses of CompoundTag in net.minecraft.server.level
Modifier and TypeMethodDescriptionvoid
ServerPlayer.addAdditionalSaveData
(CompoundTag p_9197_) void
ServerPlayer.loadGameTypes
(CompoundTag p_143428_) void
ServerPlayer.readAdditionalSaveData
(CompoundTag p_9131_) private static GameType
ServerPlayer.readPlayerMode
(CompoundTag p_143414_, String p_143415_) private void
ServerPlayer.storeGameTypes
(CompoundTag p_143431_) Modifier and TypeMethodDescriptionprivate static void
ChunkMap.postLoadProtoChunk
(ServerLevel p_143065_, List<CompoundTag> p_143066_) -
Uses of CompoundTag in net.minecraft.server.players
Modifier and TypeMethodDescriptionPlayerList.getSingleplayerData()
PlayerList.load
(ServerPlayer p_11225_) -
Uses of CompoundTag in net.minecraft.stats
Modifier and TypeMethodDescriptionprivate static CompoundTag
ServerStatsCounter.fromJson
(com.google.gson.JsonObject p_12831_) ServerRecipeBook.toNbt()
Modifier and TypeMethodDescriptionvoid
ServerRecipeBook.fromNbt
(CompoundTag p_12795_, RecipeManager p_12796_) static RecipeBookSettings
RecipeBookSettings.read
(CompoundTag p_12742_) void
RecipeBookSettings.write
(CompoundTag p_12760_) -
Uses of CompoundTag in net.minecraft.world
Modifier and TypeMethodDescriptionstatic CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_) Modifier and TypeMethodDescriptionvoid
LockCode.addToTag
(CompoundTag p_19110_) static LockCode
LockCode.fromTag
(CompoundTag p_19112_) static void
ContainerHelper.loadAllItems
(CompoundTag p_18981_, NonNullList<ItemStack> p_18982_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_) -
Uses of CompoundTag in net.minecraft.world.effect
Modifier and TypeMethodDescriptionstatic MobEffectInstance
MobEffectInstance.load
(CompoundTag p_19561_) private static MobEffectInstance
MobEffectInstance.loadSpecifiedEffect
(MobEffect p_19546_, CompoundTag p_19547_) private static MobEffectInstance
MobEffectInstance.readCurativeItems
(MobEffectInstance effect, CompoundTag nbt) MobEffectInstance.save
(CompoundTag p_19556_) private void
MobEffectInstance.writeDetailsTo
(CompoundTag p_19568_) -
Uses of CompoundTag in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate CompoundTag
Marker.data
private CompoundTag
Mob.leashInfoTag
private CompoundTag
Entity.persistentData
Modifier and TypeMethodDescriptionEntity.getPersistentData()
Entity.saveWithoutId
(CompoundTag p_20241_) Modifier and TypeMethodDescriptionvoid
AgeableMob.addAdditionalSaveData
(CompoundTag p_146761_) protected void
AreaEffectCloud.addAdditionalSaveData
(CompoundTag p_19737_) protected abstract void
Entity.addAdditionalSaveData
(CompoundTag p_20139_) void
ExperienceOrb.addAdditionalSaveData
(CompoundTag p_20796_) void
GlowSquid.addAdditionalSaveData
(CompoundTag p_147122_) void
ItemBasedSteering.addAdditionalSaveData
(CompoundTag p_20848_) protected void
LightningBolt.addAdditionalSaveData
(CompoundTag p_20877_) void
LivingEntity.addAdditionalSaveData
(CompoundTag p_21145_) protected void
Marker.addAdditionalSaveData
(CompoundTag p_147257_) void
Mob.addAdditionalSaveData
(CompoundTag p_21484_) void
TamableAnimal.addAdditionalSaveData
(CompoundTag p_21819_) default void
NeutralMob.addPersistentAngerSaveData
(CompoundTag p_21679_) static Optional<EntityType<?>>
EntityType.by
(CompoundTag p_20638_) EntityType.create
(CompoundTag p_20643_, Level p_20644_) EntityType.create
(ServerLevel p_20656_, CompoundTag p_20657_, Component p_20658_, Player p_20659_, BlockPos p_20660_, MobSpawnType p_20661_, boolean p_20662_, boolean p_20663_) AgeableMob.finalizeSpawn
(ServerLevelAccessor p_146746_, DifficultyInstance p_146747_, MobSpawnType p_146748_, SpawnGroupData p_146749_, CompoundTag p_146750_) Mob.finalizeSpawn
(ServerLevelAccessor p_21434_, DifficultyInstance p_21435_, MobSpawnType p_21436_, SpawnGroupData p_21437_, CompoundTag p_21438_) void
Entity.load
(CompoundTag p_20259_) static Entity
EntityType.loadEntityRecursive
(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) EntityType.loadStaticEntity
(CompoundTag p_20670_, Level p_20671_) void
AgeableMob.readAdditionalSaveData
(CompoundTag p_146752_) protected void
AreaEffectCloud.readAdditionalSaveData
(CompoundTag p_19727_) protected abstract void
Entity.readAdditionalSaveData
(CompoundTag p_20052_) void
ExperienceOrb.readAdditionalSaveData
(CompoundTag p_20788_) void
GlowSquid.readAdditionalSaveData
(CompoundTag p_147117_) void
ItemBasedSteering.readAdditionalSaveData
(CompoundTag p_20853_) protected void
LightningBolt.readAdditionalSaveData
(CompoundTag p_20873_) void
LivingEntity.readAdditionalSaveData
(CompoundTag p_21096_) protected void
Marker.readAdditionalSaveData
(CompoundTag p_147254_) void
Mob.readAdditionalSaveData
(CompoundTag p_21450_) void
TamableAnimal.readAdditionalSaveData
(CompoundTag p_21815_) default void
NeutralMob.readPersistentAngerSaveData
(Level p_147286_, CompoundTag p_147287_) boolean
Entity.save
(CompoundTag p_20224_) boolean
Entity.saveAsPassenger
(CompoundTag p_20087_) Entity.saveWithoutId
(CompoundTag p_20241_) EntityType.spawn
(ServerLevel p_20601_, CompoundTag p_20602_, Component p_20603_, Player p_20604_, BlockPos p_20605_, MobSpawnType p_20606_, boolean p_20607_, boolean p_20608_) static void
EntityType.updateCustomEntityTag
(Level p_20621_, Player p_20622_, Entity p_20623_, CompoundTag p_20624_) -
Uses of CompoundTag in net.minecraft.world.entity.ai.attributes
Modifier and TypeMethodDescriptionvoid
AttributeInstance.load
(CompoundTag p_22114_) static AttributeModifier
AttributeModifier.load
(CompoundTag p_22213_) -
Uses of CompoundTag in net.minecraft.world.entity.ambient
Modifier and TypeMethodDescriptionvoid
Bat.addAdditionalSaveData
(CompoundTag p_27443_) void
Bat.readAdditionalSaveData
(CompoundTag p_27427_) -
Uses of CompoundTag in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionvoid
AbstractFish.addAdditionalSaveData
(CompoundTag p_27485_) void
Animal.addAdditionalSaveData
(CompoundTag p_27587_) void
Bee.addAdditionalSaveData
(CompoundTag p_27823_) void
Cat.addAdditionalSaveData
(CompoundTag p_28156_) void
Chicken.addAdditionalSaveData
(CompoundTag p_28257_) void
Dolphin.addAdditionalSaveData
(CompoundTag p_28364_) void
Fox.addAdditionalSaveData
(CompoundTag p_28518_) void
IronGolem.addAdditionalSaveData
(CompoundTag p_28867_) void
MushroomCow.addAdditionalSaveData
(CompoundTag p_28944_) void
Ocelot.addAdditionalSaveData
(CompoundTag p_29024_) void
Panda.addAdditionalSaveData
(CompoundTag p_29129_) void
Parrot.addAdditionalSaveData
(CompoundTag p_29422_) void
Pig.addAdditionalSaveData
(CompoundTag p_29495_) void
PolarBear.addAdditionalSaveData
(CompoundTag p_29548_) void
Pufferfish.addAdditionalSaveData
(CompoundTag p_29624_) void
Rabbit.addAdditionalSaveData
(CompoundTag p_29697_) void
Sheep.addAdditionalSaveData
(CompoundTag p_29864_) void
SnowGolem.addAdditionalSaveData
(CompoundTag p_29923_) void
TropicalFish.addAdditionalSaveData
(CompoundTag p_30033_) void
Turtle.addAdditionalSaveData
(CompoundTag p_30176_) void
Wolf.addAdditionalSaveData
(CompoundTag p_30418_) AbstractSchoolingFish.finalizeSpawn
(ServerLevelAccessor p_27528_, DifficultyInstance p_27529_, MobSpawnType p_27530_, SpawnGroupData p_27531_, CompoundTag p_27532_) Cat.finalizeSpawn
(ServerLevelAccessor p_28134_, DifficultyInstance p_28135_, MobSpawnType p_28136_, SpawnGroupData p_28137_, CompoundTag p_28138_) Dolphin.finalizeSpawn
(ServerLevelAccessor p_28332_, DifficultyInstance p_28333_, MobSpawnType p_28334_, SpawnGroupData p_28335_, CompoundTag p_28336_) Fox.finalizeSpawn
(ServerLevelAccessor p_28487_, DifficultyInstance p_28488_, MobSpawnType p_28489_, SpawnGroupData p_28490_, CompoundTag p_28491_) Ocelot.finalizeSpawn
(ServerLevelAccessor p_29007_, DifficultyInstance p_29008_, MobSpawnType p_29009_, SpawnGroupData p_29010_, CompoundTag p_29011_) Panda.finalizeSpawn
(ServerLevelAccessor p_29109_, DifficultyInstance p_29110_, MobSpawnType p_29111_, SpawnGroupData p_29112_, CompoundTag p_29113_) Parrot.finalizeSpawn
(ServerLevelAccessor p_29389_, DifficultyInstance p_29390_, MobSpawnType p_29391_, SpawnGroupData p_29392_, CompoundTag p_29393_) PolarBear.finalizeSpawn
(ServerLevelAccessor p_29533_, DifficultyInstance p_29534_, MobSpawnType p_29535_, SpawnGroupData p_29536_, CompoundTag p_29537_) Rabbit.finalizeSpawn
(ServerLevelAccessor p_29678_, DifficultyInstance p_29679_, MobSpawnType p_29680_, SpawnGroupData p_29681_, CompoundTag p_29682_) Sheep.finalizeSpawn
(ServerLevelAccessor p_29835_, DifficultyInstance p_29836_, MobSpawnType p_29837_, SpawnGroupData p_29838_, CompoundTag p_29839_) TropicalFish.finalizeSpawn
(ServerLevelAccessor p_30023_, DifficultyInstance p_30024_, MobSpawnType p_30025_, SpawnGroupData p_30026_, CompoundTag p_30027_) Turtle.finalizeSpawn
(ServerLevelAccessor p_30153_, DifficultyInstance p_30154_, MobSpawnType p_30155_, SpawnGroupData p_30156_, CompoundTag p_30157_) static void
Bucketable.loadDefaultDataFromBucketTag
(Mob p_148826_, CompoundTag p_148827_) Deprecated.void
AbstractFish.loadFromBucketTag
(CompoundTag p_148708_) void
Bucketable.loadFromBucketTag
(CompoundTag p_148832_) void
AbstractFish.readAdditionalSaveData
(CompoundTag p_27465_) void
Animal.readAdditionalSaveData
(CompoundTag p_27576_) void
Bee.readAdditionalSaveData
(CompoundTag p_27793_) void
Cat.readAdditionalSaveData
(CompoundTag p_28142_) void
Chicken.readAdditionalSaveData
(CompoundTag p_28243_) void
Dolphin.readAdditionalSaveData
(CompoundTag p_28340_) void
Fox.readAdditionalSaveData
(CompoundTag p_28493_) void
IronGolem.readAdditionalSaveData
(CompoundTag p_28857_) void
MushroomCow.readAdditionalSaveData
(CompoundTag p_28936_) void
Ocelot.readAdditionalSaveData
(CompoundTag p_29013_) void
Panda.readAdditionalSaveData
(CompoundTag p_29115_) void
Parrot.readAdditionalSaveData
(CompoundTag p_29402_) void
Pig.readAdditionalSaveData
(CompoundTag p_29478_) void
PolarBear.readAdditionalSaveData
(CompoundTag p_29541_) void
Pufferfish.readAdditionalSaveData
(CompoundTag p_29613_) void
Rabbit.readAdditionalSaveData
(CompoundTag p_29684_) void
Sheep.readAdditionalSaveData
(CompoundTag p_29845_) void
SnowGolem.readAdditionalSaveData
(CompoundTag p_29915_) void
TropicalFish.readAdditionalSaveData
(CompoundTag p_30029_) void
Turtle.readAdditionalSaveData
(CompoundTag p_30162_) void
Wolf.readAdditionalSaveData
(CompoundTag p_30402_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.axolotl
Modifier and TypeMethodDescriptionvoid
Axolotl.addAdditionalSaveData
(CompoundTag p_149158_) Axolotl.finalizeSpawn
(ServerLevelAccessor p_149132_, DifficultyInstance p_149133_, MobSpawnType p_149134_, SpawnGroupData p_149135_, CompoundTag p_149136_) void
Axolotl.loadFromBucketTag
(CompoundTag p_149163_) void
Axolotl.readAdditionalSaveData
(CompoundTag p_149145_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.goat
Modifier and TypeMethodDescriptionvoid
Goat.addAdditionalSaveData
(CompoundTag p_149385_) Goat.finalizeSpawn
(ServerLevelAccessor p_149365_, DifficultyInstance p_149366_, MobSpawnType p_149367_, SpawnGroupData p_149368_, CompoundTag p_149369_) void
Goat.readAdditionalSaveData
(CompoundTag p_149373_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescriptionvoid
AbstractChestedHorse.addAdditionalSaveData
(CompoundTag p_30496_) void
AbstractHorse.addAdditionalSaveData
(CompoundTag p_30589_) void
Horse.addAdditionalSaveData
(CompoundTag p_30716_) void
Llama.addAdditionalSaveData
(CompoundTag p_30793_) void
SkeletonHorse.addAdditionalSaveData
(CompoundTag p_30907_) void
TraderLlama.addAdditionalSaveData
(CompoundTag p_30950_) AbstractHorse.finalizeSpawn
(ServerLevelAccessor p_30555_, DifficultyInstance p_30556_, MobSpawnType p_30557_, SpawnGroupData p_30558_, CompoundTag p_30559_) Horse.finalizeSpawn
(ServerLevelAccessor p_30703_, DifficultyInstance p_30704_, MobSpawnType p_30705_, SpawnGroupData p_30706_, CompoundTag p_30707_) Llama.finalizeSpawn
(ServerLevelAccessor p_30774_, DifficultyInstance p_30775_, MobSpawnType p_30776_, SpawnGroupData p_30777_, CompoundTag p_30778_) TraderLlama.finalizeSpawn
(ServerLevelAccessor p_30942_, DifficultyInstance p_30943_, MobSpawnType p_30944_, SpawnGroupData p_30945_, CompoundTag p_30946_) void
AbstractChestedHorse.readAdditionalSaveData
(CompoundTag p_30488_) void
AbstractHorse.readAdditionalSaveData
(CompoundTag p_30565_) void
Horse.readAdditionalSaveData
(CompoundTag p_30711_) void
Llama.readAdditionalSaveData
(CompoundTag p_30780_) void
SkeletonHorse.readAdditionalSaveData
(CompoundTag p_30901_) void
TraderLlama.readAdditionalSaveData
(CompoundTag p_30948_) -
Uses of CompoundTag in net.minecraft.world.entity.boss
Modifier and TypeMethodDescriptionprotected void
EnderDragonPart.addAdditionalSaveData
(CompoundTag p_31028_) protected void
EnderDragonPart.readAdditionalSaveData
(CompoundTag p_31025_) -
Uses of CompoundTag in net.minecraft.world.entity.boss.enderdragon
Modifier and TypeMethodDescriptionprotected void
EndCrystal.addAdditionalSaveData
(CompoundTag p_31062_) void
EnderDragon.addAdditionalSaveData
(CompoundTag p_31144_) protected void
EndCrystal.readAdditionalSaveData
(CompoundTag p_31055_) void
EnderDragon.readAdditionalSaveData
(CompoundTag p_31134_) -
Uses of CompoundTag in net.minecraft.world.entity.boss.wither
Modifier and TypeMethodDescriptionvoid
WitherBoss.addAdditionalSaveData
(CompoundTag p_31485_) void
WitherBoss.readAdditionalSaveData
(CompoundTag p_31474_) -
Uses of CompoundTag in net.minecraft.world.entity.decoration
Modifier and TypeMethodDescriptionvoid
ArmorStand.addAdditionalSaveData
(CompoundTag p_31619_) void
HangingEntity.addAdditionalSaveData
(CompoundTag p_31736_) void
ItemFrame.addAdditionalSaveData
(CompoundTag p_31808_) void
LeashFenceKnotEntity.addAdditionalSaveData
(CompoundTag p_31852_) void
Painting.addAdditionalSaveData
(CompoundTag p_31935_) void
ArmorStand.readAdditionalSaveData
(CompoundTag p_31600_) void
HangingEntity.readAdditionalSaveData
(CompoundTag p_31730_) void
ItemFrame.readAdditionalSaveData
(CompoundTag p_31795_) void
LeashFenceKnotEntity.readAdditionalSaveData
(CompoundTag p_31850_) void
Painting.readAdditionalSaveData
(CompoundTag p_31927_) private void
ArmorStand.readPose
(CompoundTag p_31658_) -
Uses of CompoundTag in net.minecraft.world.entity.item
Modifier and TypeMethodDescriptionprotected void
FallingBlockEntity.addAdditionalSaveData
(CompoundTag p_31973_) void
ItemEntity.addAdditionalSaveData
(CompoundTag p_32050_) protected void
PrimedTnt.addAdditionalSaveData
(CompoundTag p_32097_) protected void
FallingBlockEntity.readAdditionalSaveData
(CompoundTag p_31964_) void
ItemEntity.readAdditionalSaveData
(CompoundTag p_32034_) protected void
PrimedTnt.readAdditionalSaveData
(CompoundTag p_32091_) -
Uses of CompoundTag in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionvoid
Creeper.addAdditionalSaveData
(CompoundTag p_32304_) void
EnderMan.addAdditionalSaveData
(CompoundTag p_32520_) void
Endermite.addAdditionalSaveData
(CompoundTag p_32610_) void
Evoker.addAdditionalSaveData
(CompoundTag p_32646_) void
Ghast.addAdditionalSaveData
(CompoundTag p_32744_) void
PatrollingMonster.addAdditionalSaveData
(CompoundTag p_33063_) void
Phantom.addAdditionalSaveData
(CompoundTag p_33141_) void
Pillager.addAdditionalSaveData
(CompoundTag p_33300_) void
Ravager.addAdditionalSaveData
(CompoundTag p_33353_) void
Shulker.addAdditionalSaveData
(CompoundTag p_33443_) void
Skeleton.addAdditionalSaveData
(CompoundTag p_149836_) void
Slime.addAdditionalSaveData
(CompoundTag p_33619_) void
SpellcasterIllager.addAdditionalSaveData
(CompoundTag p_33734_) void
Strider.addAdditionalSaveData
(CompoundTag p_33918_) void
Vex.addAdditionalSaveData
(CompoundTag p_34015_) void
Vindicator.addAdditionalSaveData
(CompoundTag p_34100_) void
Zoglin.addAdditionalSaveData
(CompoundTag p_34234_) void
Zombie.addAdditionalSaveData
(CompoundTag p_34319_) void
ZombieVillager.addAdditionalSaveData
(CompoundTag p_34397_) void
ZombifiedPiglin.addAdditionalSaveData
(CompoundTag p_34458_) AbstractSkeleton.finalizeSpawn
(ServerLevelAccessor p_32146_, DifficultyInstance p_32147_, MobSpawnType p_32148_, SpawnGroupData p_32149_, CompoundTag p_32150_) CaveSpider.finalizeSpawn
(ServerLevelAccessor p_32259_, DifficultyInstance p_32260_, MobSpawnType p_32261_, SpawnGroupData p_32262_, CompoundTag p_32263_) Drowned.finalizeSpawn
(ServerLevelAccessor p_32372_, DifficultyInstance p_32373_, MobSpawnType p_32374_, SpawnGroupData p_32375_, CompoundTag p_32376_) Illusioner.finalizeSpawn
(ServerLevelAccessor p_32921_, DifficultyInstance p_32922_, MobSpawnType p_32923_, SpawnGroupData p_32924_, CompoundTag p_32925_) PatrollingMonster.finalizeSpawn
(ServerLevelAccessor p_33049_, DifficultyInstance p_33050_, MobSpawnType p_33051_, SpawnGroupData p_33052_, CompoundTag p_33053_) Phantom.finalizeSpawn
(ServerLevelAccessor p_33126_, DifficultyInstance p_33127_, MobSpawnType p_33128_, SpawnGroupData p_33129_, CompoundTag p_33130_) Pillager.finalizeSpawn
(ServerLevelAccessor p_33282_, DifficultyInstance p_33283_, MobSpawnType p_33284_, SpawnGroupData p_33285_, CompoundTag p_33286_) Shulker.finalizeSpawn
(ServerLevelAccessor p_149780_, DifficultyInstance p_149781_, MobSpawnType p_149782_, SpawnGroupData p_149783_, CompoundTag p_149784_) Slime.finalizeSpawn
(ServerLevelAccessor p_33601_, DifficultyInstance p_33602_, MobSpawnType p_33603_, SpawnGroupData p_33604_, CompoundTag p_33605_) Spider.finalizeSpawn
(ServerLevelAccessor p_33790_, DifficultyInstance p_33791_, MobSpawnType p_33792_, SpawnGroupData p_33793_, CompoundTag p_33794_) Strider.finalizeSpawn
(ServerLevelAccessor p_33887_, DifficultyInstance p_33888_, MobSpawnType p_33889_, SpawnGroupData p_33890_, CompoundTag p_33891_) Vex.finalizeSpawn
(ServerLevelAccessor p_34002_, DifficultyInstance p_34003_, MobSpawnType p_34004_, SpawnGroupData p_34005_, CompoundTag p_34006_) Vindicator.finalizeSpawn
(ServerLevelAccessor p_34088_, DifficultyInstance p_34089_, MobSpawnType p_34090_, SpawnGroupData p_34091_, CompoundTag p_34092_) WitherSkeleton.finalizeSpawn
(ServerLevelAccessor p_34178_, DifficultyInstance p_34179_, MobSpawnType p_34180_, SpawnGroupData p_34181_, CompoundTag p_34182_) Zombie.finalizeSpawn
(ServerLevelAccessor p_34297_, DifficultyInstance p_34298_, MobSpawnType p_34299_, SpawnGroupData p_34300_, CompoundTag p_34301_) ZombieVillager.finalizeSpawn
(ServerLevelAccessor p_34378_, DifficultyInstance p_34379_, MobSpawnType p_34380_, SpawnGroupData p_34381_, CompoundTag p_34382_) void
AbstractSkeleton.readAdditionalSaveData
(CompoundTag p_32152_) void
Creeper.readAdditionalSaveData
(CompoundTag p_32296_) void
EnderMan.readAdditionalSaveData
(CompoundTag p_32511_) void
Endermite.readAdditionalSaveData
(CompoundTag p_32595_) void
Evoker.readAdditionalSaveData
(CompoundTag p_32642_) void
Ghast.readAdditionalSaveData
(CompoundTag p_32733_) void
PatrollingMonster.readAdditionalSaveData
(CompoundTag p_33055_) void
Phantom.readAdditionalSaveData
(CompoundTag p_33132_) void
Pillager.readAdditionalSaveData
(CompoundTag p_33291_) void
Ravager.readAdditionalSaveData
(CompoundTag p_33344_) void
Shulker.readAdditionalSaveData
(CompoundTag p_33432_) void
Skeleton.readAdditionalSaveData
(CompoundTag p_149833_) void
Slime.readAdditionalSaveData
(CompoundTag p_33607_) void
SpellcasterIllager.readAdditionalSaveData
(CompoundTag p_33732_) void
Strider.readAdditionalSaveData
(CompoundTag p_33898_) void
Vex.readAdditionalSaveData
(CompoundTag p_34008_) void
Vindicator.readAdditionalSaveData
(CompoundTag p_34094_) void
Zoglin.readAdditionalSaveData
(CompoundTag p_34223_) void
Zombie.readAdditionalSaveData
(CompoundTag p_34305_) void
ZombieVillager.readAdditionalSaveData
(CompoundTag p_34387_) void
ZombifiedPiglin.readAdditionalSaveData
(CompoundTag p_34446_) void
ZombieVillager.setTradeOffers
(CompoundTag p_34412_) -
Uses of CompoundTag in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionvoid
Hoglin.addAdditionalSaveData
(CompoundTag p_34529_) Hoglin.finalizeSpawn
(ServerLevelAccessor p_34508_, DifficultyInstance p_34509_, MobSpawnType p_34510_, SpawnGroupData p_34511_, CompoundTag p_34512_) void
Hoglin.readAdditionalSaveData
(CompoundTag p_34519_) -
Uses of CompoundTag in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionvoid
AbstractPiglin.addAdditionalSaveData
(CompoundTag p_34661_) void
Piglin.addAdditionalSaveData
(CompoundTag p_34751_) Piglin.finalizeSpawn
(ServerLevelAccessor p_34717_, DifficultyInstance p_34718_, MobSpawnType p_34719_, SpawnGroupData p_34720_, CompoundTag p_34721_) PiglinBrute.finalizeSpawn
(ServerLevelAccessor p_35058_, DifficultyInstance p_35059_, MobSpawnType p_35060_, SpawnGroupData p_35061_, CompoundTag p_35062_) void
AbstractPiglin.readAdditionalSaveData
(CompoundTag p_34659_) void
Piglin.readAdditionalSaveData
(CompoundTag p_34725_) -
Uses of CompoundTag in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionvoid
AbstractVillager.addAdditionalSaveData
(CompoundTag p_35301_) void
Villager.addAdditionalSaveData
(CompoundTag p_35481_) void
WanderingTrader.addAdditionalSaveData
(CompoundTag p_35861_) AbstractVillager.finalizeSpawn
(ServerLevelAccessor p_35282_, DifficultyInstance p_35283_, MobSpawnType p_35284_, SpawnGroupData p_35285_, CompoundTag p_35286_) Villager.finalizeSpawn
(ServerLevelAccessor p_35439_, DifficultyInstance p_35440_, MobSpawnType p_35441_, SpawnGroupData p_35442_, CompoundTag p_35443_) void
AbstractVillager.readAdditionalSaveData
(CompoundTag p_35290_) void
Villager.readAdditionalSaveData
(CompoundTag p_35451_) void
WanderingTrader.readAdditionalSaveData
(CompoundTag p_35852_) -
Uses of CompoundTag in net.minecraft.world.entity.player
Modifier and TypeFieldDescriptionprotected static final EntityDataAccessor<CompoundTag>
Player.DATA_SHOULDER_LEFT
protected static final EntityDataAccessor<CompoundTag>
Player.DATA_SHOULDER_RIGHT
Modifier and TypeMethodDescriptionvoid
Player.addAdditionalSaveData
(CompoundTag p_36265_) void
Abilities.addSaveData
(CompoundTag p_35946_) void
Abilities.loadSaveData
(CompoundTag p_35951_) private void
Player.playShoulderEntityAmbientSound
(CompoundTag p_36368_) void
Player.readAdditionalSaveData
(CompoundTag p_36215_) private void
Player.respawnEntityOnShoulder
(CompoundTag p_36371_) boolean
Player.setEntityOnShoulder
(CompoundTag p_36361_) protected void
Player.setShoulderEntityLeft
(CompoundTag p_36363_) protected void
Player.setShoulderEntityRight
(CompoundTag p_36365_) -
Uses of CompoundTag in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionvoid
AbstractArrow.addAdditionalSaveData
(CompoundTag p_36772_) void
AbstractHurtingProjectile.addAdditionalSaveData
(CompoundTag p_36848_) void
Arrow.addAdditionalSaveData
(CompoundTag p_36881_) protected void
EvokerFangs.addAdditionalSaveData
(CompoundTag p_36943_) void
EyeOfEnder.addAdditionalSaveData
(CompoundTag p_36975_) void
Fireball.addAdditionalSaveData
(CompoundTag p_37013_) void
FireworkRocketEntity.addAdditionalSaveData
(CompoundTag p_37075_) void
FishingHook.addAdditionalSaveData
(CompoundTag p_37161_) void
LargeFireball.addAdditionalSaveData
(CompoundTag p_37222_) protected void
Projectile.addAdditionalSaveData
(CompoundTag p_37265_) protected void
ShulkerBullet.addAdditionalSaveData
(CompoundTag p_37357_) void
SpectralArrow.addAdditionalSaveData
(CompoundTag p_37426_) void
ThrowableItemProjectile.addAdditionalSaveData
(CompoundTag p_37449_) void
ThrownTrident.addAdditionalSaveData
(CompoundTag p_37582_) void
AbstractArrow.readAdditionalSaveData
(CompoundTag p_36761_) void
AbstractHurtingProjectile.readAdditionalSaveData
(CompoundTag p_36844_) void
Arrow.readAdditionalSaveData
(CompoundTag p_36875_) protected void
EvokerFangs.readAdditionalSaveData
(CompoundTag p_36941_) void
EyeOfEnder.readAdditionalSaveData
(CompoundTag p_36970_) void
Fireball.readAdditionalSaveData
(CompoundTag p_37009_) void
FireworkRocketEntity.readAdditionalSaveData
(CompoundTag p_37073_) void
FishingHook.readAdditionalSaveData
(CompoundTag p_37151_) void
LargeFireball.readAdditionalSaveData
(CompoundTag p_37220_) protected void
Projectile.readAdditionalSaveData
(CompoundTag p_37262_) protected void
ShulkerBullet.readAdditionalSaveData
(CompoundTag p_37353_) void
SpectralArrow.readAdditionalSaveData
(CompoundTag p_37424_) void
ThrowableItemProjectile.readAdditionalSaveData
(CompoundTag p_37445_) void
ThrownTrident.readAdditionalSaveData
(CompoundTag p_37578_) -
Uses of CompoundTag in net.minecraft.world.entity.raid
Modifier and TypeMethodDescriptionRaid.save
(CompoundTag p_37748_) Raids.save
(CompoundTag p_37976_) Modifier and TypeMethodDescriptionvoid
Raider.addAdditionalSaveData
(CompoundTag p_37870_) Raider.finalizeSpawn
(ServerLevelAccessor p_37856_, DifficultyInstance p_37857_, MobSpawnType p_37858_, SpawnGroupData p_37859_, CompoundTag p_37860_) static Raids
Raids.load
(ServerLevel p_150236_, CompoundTag p_150237_) void
Raider.readAdditionalSaveData
(CompoundTag p_37862_) Raid.save
(CompoundTag p_37748_) Raids.save
(CompoundTag p_37976_) -
Uses of CompoundTag in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptionprotected void
AbstractMinecart.addAdditionalSaveData
(CompoundTag p_38151_) protected void
AbstractMinecartContainer.addAdditionalSaveData
(CompoundTag p_38248_) protected void
Boat.addAdditionalSaveData
(CompoundTag p_38359_) protected void
MinecartCommandBlock.addAdditionalSaveData
(CompoundTag p_38529_) protected void
MinecartFurnace.addAdditionalSaveData
(CompoundTag p_38567_) protected void
MinecartHopper.addAdditionalSaveData
(CompoundTag p_38608_) protected void
MinecartSpawner.addAdditionalSaveData
(CompoundTag p_38635_) protected void
MinecartTNT.addAdditionalSaveData
(CompoundTag p_38687_) protected void
AbstractMinecart.readAdditionalSaveData
(CompoundTag p_38137_) protected void
AbstractMinecartContainer.readAdditionalSaveData
(CompoundTag p_38235_) protected void
Boat.readAdditionalSaveData
(CompoundTag p_38338_) protected void
MinecartCommandBlock.readAdditionalSaveData
(CompoundTag p_38525_) protected void
MinecartFurnace.readAdditionalSaveData
(CompoundTag p_38565_) protected void
MinecartHopper.readAdditionalSaveData
(CompoundTag p_38606_) protected void
MinecartSpawner.readAdditionalSaveData
(CompoundTag p_38633_) protected void
MinecartTNT.readAdditionalSaveData
(CompoundTag p_38682_) -
Uses of CompoundTag in net.minecraft.world.food
Modifier and TypeMethodDescriptionvoid
FoodData.addAdditionalSaveData
(CompoundTag p_38720_) void
FoodData.readAdditionalSaveData
(CompoundTag p_38716_) -
Uses of CompoundTag in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate CompoundTag
ItemStack.capNBT
private CompoundTag
ItemStack.tag
Modifier and TypeMethodDescriptionstatic CompoundTag
BlockItem.getBlockEntityData
(ItemStack p_186337_) ItemStack.getOrCreateTag()
ItemStack.getOrCreateTagElement
(String p_41699_) ItemStack.getTag()
ItemStack.getTagElement
(String p_41738_) ItemStack.save
(CompoundTag p_41740_) Modifier and TypeMethodDescriptionprivate static Optional<CompoundTag>
BundleItem.getMatchingItem
(ItemStack p_150757_, ListTag p_150758_) Modifier and TypeMethodDescriptionprivate void
CompassItem.addLodestoneTags
(ResourceKey<Level> p_40733_, BlockPos p_40734_, CompoundTag p_40735_) static void
FireworkStarItem.appendHoverText
(CompoundTag p_41257_, List<Component> p_41258_) void
ItemStack.deserializeNBT
(CompoundTag nbt) static Optional<ResourceKey<Level>>
CompassItem.getLodestoneDimension
(CompoundTag p_40728_) EntityType<?>
SpawnEggItem.getType
(CompoundTag p_43229_) BucketItem.initCapabilities
(ItemStack stack, CompoundTag nbt) MilkBucketItem.initCapabilities
(ItemStack stack, CompoundTag nbt) static boolean
WritableBookItem.makeSureTagIsValid
(CompoundTag p_43453_) static boolean
WrittenBookItem.makeSureTagIsValid
(CompoundTag p_43472_) static ItemStack
ItemStack.of
(CompoundTag p_41713_) ItemStack.save
(CompoundTag p_41740_) static void
BlockItem.setBlockEntityData
(ItemStack p_186339_, BlockEntityType<?> p_186340_, CompoundTag p_186341_) void
ItemStack.setTag
(CompoundTag p_41752_) boolean
SpawnEggItem.spawnsEntity
(CompoundTag p_43231_, EntityType<?> p_43232_) void
Item.verifyTagAfterLoad
(CompoundTag p_150898_) void
PlayerHeadItem.verifyTagAfterLoad
(CompoundTag p_151179_) ModifierConstructorDescriptionprivate
ItemStack
(CompoundTag p_41608_) ItemStack
(ItemLike p_41604_, int p_41605_, CompoundTag p_41606_) ModifierConstructorDescriptionprivate
ItemStack
(ItemLike p_41604_, int p_41605_, Optional<CompoundTag> p_41606_) -
Uses of CompoundTag in net.minecraft.world.item.alchemy
Modifier and TypeMethodDescriptionstatic List<MobEffectInstance>
PotionUtils.getAllEffects
(CompoundTag p_43567_) static List<MobEffectInstance>
PotionUtils.getCustomEffects
(CompoundTag p_43574_) static void
PotionUtils.getCustomEffects
(CompoundTag p_43569_, List<MobEffectInstance> p_43570_) static Potion
PotionUtils.getPotion
(CompoundTag p_43578_) -
Uses of CompoundTag in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionstatic CompoundTag
EnchantmentHelper.storeEnchantment
(ResourceLocation p_182444_, int p_182445_) Modifier and TypeMethodDescriptionstatic ResourceLocation
EnchantmentHelper.getEnchantmentId
(CompoundTag p_182447_) static int
EnchantmentHelper.getEnchantmentLevel
(CompoundTag p_182439_) static void
EnchantmentHelper.setEnchantmentLevel
(CompoundTag p_182441_, int p_182442_) -
Uses of CompoundTag in net.minecraft.world.item.trading
ModifierConstructorDescriptionMerchantOffer
(CompoundTag p_45351_) MerchantOffers
(CompoundTag p_45387_) -
Uses of CompoundTag in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final CompoundTag
SpawnData.entityToSpawn
The field for theentityToSpawn
record component.Modifier and TypeMethodDescriptionGameRules.createTag()
SpawnData.entityToSpawn()
Returns the value of theentityToSpawn
record component.SpawnData.getEntityToSpawn()
BaseCommandBlock.save
(CompoundTag p_45422_) BaseSpawner.save
(CompoundTag p_186382_) ForcedChunksSavedData.save
(CompoundTag p_46120_) Modifier and TypeMethodDescriptionvoid
Level.createFireworks
(double p_46475_, double p_46476_, double p_46477_, double p_46478_, double p_46479_, double p_46480_, CompoundTag p_46481_) void
BaseCommandBlock.load
(CompoundTag p_45432_) void
BaseSpawner.load
(Level p_151329_, BlockPos p_151330_, CompoundTag p_151331_) static ForcedChunksSavedData
ForcedChunksSavedData.load
(CompoundTag p_151484_) BaseCommandBlock.save
(CompoundTag p_45422_) BaseSpawner.save
(CompoundTag p_186382_) ForcedChunksSavedData.save
(CompoundTag p_46120_) ModifierConstructorDescriptionSpawnData
(CompoundTag entityToSpawn, Optional<SpawnData.CustomSpawnRules> customSpawnRules) Creates an instance of aSpawnData
record class. -
Uses of CompoundTag in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate CompoundTag
BlockEntity.customTileData
(package private) final CompoundTag
BeehiveBlockEntity.BeeData.entityData
Modifier and TypeMethodDescriptionBlockEntity.getTileData()
BannerBlockEntity.getUpdateTag()
BeaconBlockEntity.getUpdateTag()
BlockEntity.getUpdateTag()
CampfireBlockEntity.getUpdateTag()
ConduitBlockEntity.getUpdateTag()
JigsawBlockEntity.getUpdateTag()
SignBlockEntity.getUpdateTag()
SkullBlockEntity.getUpdateTag()
SpawnerBlockEntity.getUpdateTag()
StructureBlockEntity.getUpdateTag()
TheEndGatewayBlockEntity.getUpdateTag()
final CompoundTag
BlockEntity.saveWithFullMetadata()
final CompoundTag
BlockEntity.saveWithId()
final CompoundTag
BlockEntity.saveWithoutMetadata()
Modifier and TypeMethodDescriptionstatic void
BlockEntity.addEntityType
(CompoundTag p_187469_, BlockEntityType<?> p_187470_) static BlockPos
BlockEntity.getPosFromTag
(CompoundTag p_187473_) void
AbstractFurnaceBlockEntity.load
(CompoundTag p_155025_) void
BannerBlockEntity.load
(CompoundTag p_155042_) void
BarrelBlockEntity.load
(CompoundTag p_155055_) void
BaseContainerBlockEntity.load
(CompoundTag p_155080_) void
BeaconBlockEntity.load
(CompoundTag p_155113_) void
BeehiveBlockEntity.load
(CompoundTag p_155156_) void
BlockEntity.load
(CompoundTag p_155245_) void
BrewingStandBlockEntity.load
(CompoundTag p_155297_) void
CampfireBlockEntity.load
(CompoundTag p_155312_) void
ChestBlockEntity.load
(CompoundTag p_155349_) void
CommandBlockEntity.load
(CompoundTag p_155383_) void
ComparatorBlockEntity.load
(CompoundTag p_155389_) void
ConduitBlockEntity.load
(CompoundTag p_155437_) void
DispenserBlockEntity.load
(CompoundTag p_155496_) void
EnchantmentTableBlockEntity.load
(CompoundTag p_155509_) void
HopperBlockEntity.load
(CompoundTag p_155588_) void
JigsawBlockEntity.load
(CompoundTag p_155608_) void
JukeboxBlockEntity.load
(CompoundTag p_155616_) void
LecternBlockEntity.load
(CompoundTag p_155625_) void
SculkSensorBlockEntity.load
(CompoundTag p_155649_) void
ShulkerBoxBlockEntity.load
(CompoundTag p_155678_) void
SignBlockEntity.load
(CompoundTag p_155716_) void
SkullBlockEntity.load
(CompoundTag p_155745_) void
SpawnerBlockEntity.load
(CompoundTag p_155760_) void
StructureBlockEntity.load
(CompoundTag p_155800_) void
TheEndGatewayBlockEntity.load
(CompoundTag p_155840_) void
ShulkerBoxBlockEntity.loadFromTag
(CompoundTag p_59694_) static BlockEntity
BlockEntity.loadStatic
(BlockPos p_155242_, BlockState p_155243_, CompoundTag p_155244_) (package private) static void
BeehiveBlockEntity.removeIgnoredBeeTags
(CompoundTag p_155162_) protected void
AbstractFurnaceBlockEntity.saveAdditional
(CompoundTag p_187452_) protected void
BannerBlockEntity.saveAdditional
(CompoundTag p_187456_) protected void
BarrelBlockEntity.saveAdditional
(CompoundTag p_187459_) protected void
BaseContainerBlockEntity.saveAdditional
(CompoundTag p_187461_) protected void
BeaconBlockEntity.saveAdditional
(CompoundTag p_187463_) protected void
BeehiveBlockEntity.saveAdditional
(CompoundTag p_187467_) protected void
BlockEntity.saveAdditional
(CompoundTag p_187471_) protected void
BrewingStandBlockEntity.saveAdditional
(CompoundTag p_187484_) protected void
CampfireBlockEntity.saveAdditional
(CompoundTag p_187486_) protected void
ChestBlockEntity.saveAdditional
(CompoundTag p_187489_) protected void
CommandBlockEntity.saveAdditional
(CompoundTag p_187491_) protected void
ComparatorBlockEntity.saveAdditional
(CompoundTag p_187493_) protected void
ConduitBlockEntity.saveAdditional
(CompoundTag p_187495_) protected void
DispenserBlockEntity.saveAdditional
(CompoundTag p_187498_) protected void
EnchantmentTableBlockEntity.saveAdditional
(CompoundTag p_187500_) protected void
HopperBlockEntity.saveAdditional
(CompoundTag p_187502_) protected void
JigsawBlockEntity.saveAdditional
(CompoundTag p_187504_) protected void
JukeboxBlockEntity.saveAdditional
(CompoundTag p_187507_) protected void
LecternBlockEntity.saveAdditional
(CompoundTag p_187509_) protected void
SculkSensorBlockEntity.saveAdditional
(CompoundTag p_187511_) protected void
ShulkerBoxBlockEntity.saveAdditional
(CompoundTag p_187513_) protected void
SignBlockEntity.saveAdditional
(CompoundTag p_187515_) protected void
SkullBlockEntity.saveAdditional
(CompoundTag p_187518_) protected void
SpawnerBlockEntity.saveAdditional
(CompoundTag p_187521_) protected void
StructureBlockEntity.saveAdditional
(CompoundTag p_187524_) protected void
TheEndGatewayBlockEntity.saveAdditional
(CompoundTag p_187527_) private void
BlockEntity.saveId
(CompoundTag p_187475_) private void
BlockEntity.saveMetadata
(CompoundTag p_187479_) void
BeehiveBlockEntity.storeBee
(CompoundTag p_155158_, int p_155159_, boolean p_155160_) protected boolean
RandomizableContainerBlockEntity.tryLoadLootTable
(CompoundTag p_59632_) protected boolean
RandomizableContainerBlockEntity.trySaveLootTable
(CompoundTag p_59635_) ModifierConstructorDescription(package private)
BeeData
(CompoundTag p_58786_, int p_58787_, int p_58788_) -
Uses of CompoundTag in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionvoid
PistonMovingBlockEntity.load
(CompoundTag p_155930_) protected void
PistonMovingBlockEntity.saveAdditional
(CompoundTag p_187530_) -
Uses of CompoundTag in net.minecraft.world.level.border
-
Uses of CompoundTag in net.minecraft.world.level.chunk
Modifier and TypeFieldDescriptionprivate final List<CompoundTag>
ProtoChunk.entities
protected final Map<BlockPos,
CompoundTag> ChunkAccess.pendingBlockEntities
Modifier and TypeMethodDescriptionChunkAccess.getBlockEntityNbt
(BlockPos p_62103_) ImposterProtoChunk.getBlockEntityNbt
(BlockPos p_62757_) abstract CompoundTag
ChunkAccess.getBlockEntityNbtForSaving
(BlockPos p_62104_) ImposterProtoChunk.getBlockEntityNbtForSaving
(BlockPos p_62760_) LevelChunk.getBlockEntityNbtForSaving
(BlockPos p_62932_) ProtoChunk.getBlockEntityNbtForSaving
(BlockPos p_63275_) UpgradeData.write()
final CompoundTag
LevelChunk.writeCapsToNBT()
Deprecated.Modifier and TypeMethodDescriptionvoid
ProtoChunk.addEntity
(CompoundTag p_63243_) private static <T> void
UpgradeData.loadTicks
(CompoundTag p_208133_, String p_208134_, Function<String, Optional<T>> p_208135_, List<SavedTick<T>> p_208136_) private BlockEntity
LevelChunk.promotePendingBlockEntity
(BlockPos p_62871_, CompoundTag p_62872_) final void
LevelChunk.readCapsFromNBT
(CompoundTag tag) Deprecated.void
LevelChunk.replaceWithPacketData
(FriendlyByteBuf p_187972_, CompoundTag p_187973_, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> p_187974_) void
ChunkAccess.setBlockEntityNbt
(CompoundTag p_62091_) void
ImposterProtoChunk.setBlockEntityNbt
(CompoundTag p_62728_) -
Uses of CompoundTag in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static CompoundTag
ChunkSerializer.packStructureData
(StructurePieceSerializationContext p_188250_, ChunkPos p_188251_, Map<ConfiguredStructureFeature<?, ?>, StructureStart> p_188252_, Map<ConfiguredStructureFeature<?, ?>, it.unimi.dsi.fastutil.longs.LongSet> p_188253_) private CompoundTag
ChunkStorage.upgradeChunkTag
(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_188292_) private CompoundTag
EntityStorage.upgradeChunkTag
(CompoundTag p_156573_) static CompoundTag
ChunkSerializer.write
(ServerLevel p_63455_, ChunkAccess p_63456_) Modifier and TypeMethodDescriptionstatic ChunkStatus.ChunkType
ChunkSerializer.getChunkTypeFromTag
(CompoundTag p_63486_) private static ListTag
ChunkSerializer.getListOfCompoundsOrNull
(CompoundTag p_196898_, String p_196899_) static int
ChunkStorage.getVersion
(CompoundTag p_63506_) static int
EntityStorage.getVersion
(CompoundTag p_156561_) static void
ChunkStorage.injectDatafixingContext
(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_196921_) private static LevelChunk.PostLoadProcessor
ChunkSerializer.postLoadChunk
(ServerLevel p_196891_, CompoundTag p_196892_) static ProtoChunk
ChunkSerializer.read
(ServerLevel p_188231_, PoiManager p_188232_, ChunkPos p_188233_, CompoundTag p_188234_) private static ChunkPos
EntityStorage.readChunkPos
(CompoundTag p_156571_) private static void
ChunkSerializer.saveTicks
(ServerLevel p_188236_, CompoundTag p_188237_, ChunkAccess.TicksToSave p_188238_) IOWorker.store
(ChunkPos p_63539_, CompoundTag p_63540_) private static Map<ConfiguredStructureFeature<?,
?>, it.unimi.dsi.fastutil.longs.LongSet> ChunkSerializer.unpackStructureReferences
(RegistryAccess p_208155_, ChunkPos p_208156_, CompoundTag p_208157_) private static Map<ConfiguredStructureFeature<?,
?>, StructureStart> ChunkSerializer.unpackStructureStart
(StructurePieceSerializationContext p_188255_, CompoundTag p_188256_, long p_188257_) ChunkStorage.upgradeChunkTag
(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_188292_) private CompoundTag
EntityStorage.upgradeChunkTag
(CompoundTag p_156573_) void
ChunkStorage.write
(ChunkPos p_63503_, CompoundTag p_63504_) protected void
RegionFileStorage.write
(ChunkPos p_63709_, CompoundTag p_63710_) private static void
EntityStorage.writeChunkPos
(CompoundTag p_156563_, ChunkPos p_156564_) -
Uses of CompoundTag in net.minecraft.world.level.dimension.end
ModifierConstructorDescriptionEndDragonFight
(ServerLevel p_64078_, long p_64079_, CompoundTag p_64080_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptionstatic BelowZeroRetrogen
BelowZeroRetrogen.read
(CompoundTag p_188486_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionstatic StructureStart
StructureFeature.loadStaticStart
(StructurePieceSerializationContext p_191129_, CompoundTag p_191130_, long p_191131_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprivate final Map<String,
it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> LegacyStructureDataHandler.dataMap
Modifier and TypeMethodDescriptionfinal CompoundTag
StructurePiece.createTag
(StructurePieceSerializationContext p_192645_) StructureStart.createTag
(StructurePieceSerializationContext p_192661_, ChunkPos p_192662_) StructureFeatureIndexSavedData.save
(CompoundTag p_73372_) LegacyStructureDataHandler.updateFromLegacy
(CompoundTag p_71327_) private CompoundTag
LegacyStructureDataHandler.updateStructureStart
(CompoundTag p_71329_, ChunkPos p_71330_) Modifier and TypeMethodDescriptionprotected void
BuriedTreasurePieces.BuriedTreasurePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_191974_, CompoundTag p_191975_) protected void
DesertPyramidPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_191989_, CompoundTag p_191990_) protected void
EndCityPieces.EndCityPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_191995_, CompoundTag p_191996_) protected void
IglooPieces.IglooPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192009_, CompoundTag p_192010_) protected void
JunglePyramidPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192024_, CompoundTag p_192025_) protected void
MineShaftPieces.MineShaftCorridor.addAdditionalSaveData
(StructurePieceSerializationContext p_192038_, CompoundTag p_192039_) protected void
MineShaftPieces.MineShaftCrossing.addAdditionalSaveData
(StructurePieceSerializationContext p_192051_, CompoundTag p_192052_) protected void
MineShaftPieces.MineShaftPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192054_, CompoundTag p_192055_) protected void
MineShaftPieces.MineShaftRoom.addAdditionalSaveData
(StructurePieceSerializationContext p_192067_, CompoundTag p_192068_) protected void
NetherBridgePieces.BridgeEndFiller.addAdditionalSaveData
(StructurePieceSerializationContext p_192101_, CompoundTag p_192102_) protected void
NetherBridgePieces.CastleSmallCorridorLeftTurnPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192164_, CompoundTag p_192165_) protected void
NetherBridgePieces.CastleSmallCorridorRightTurnPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192187_, CompoundTag p_192188_) protected void
NetherBridgePieces.MonsterThrone.addAdditionalSaveData
(StructurePieceSerializationContext p_192210_, CompoundTag p_192211_) protected void
NetherBridgePieces.NetherBridgePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192213_, CompoundTag p_192214_) protected void
NetherFossilPieces.NetherFossilPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192253_, CompoundTag p_192254_) protected void
OceanMonumentPieces.OceanMonumentPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192355_, CompoundTag p_192356_) protected void
OceanRuinPieces.OceanRuinPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192403_, CompoundTag p_192404_) protected void
PoolElementStructurePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192425_, CompoundTag p_192426_) protected void
RuinedPortalPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192457_, CompoundTag p_192458_) protected void
ScatteredFeaturePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192471_, CompoundTag p_192472_) protected void
ShipwreckPieces.ShipwreckPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192486_, CompoundTag p_192487_) protected void
StrongholdPieces.ChestCorridor.addAdditionalSaveData
(StructurePieceSerializationContext p_192499_, CompoundTag p_192500_) protected void
StrongholdPieces.FillerCorridor.addAdditionalSaveData
(StructurePieceSerializationContext p_192512_, CompoundTag p_192513_) protected void
StrongholdPieces.FiveCrossing.addAdditionalSaveData
(StructurePieceSerializationContext p_192525_, CompoundTag p_192526_) protected void
StrongholdPieces.Library.addAdditionalSaveData
(StructurePieceSerializationContext p_192548_, CompoundTag p_192549_) protected void
StrongholdPieces.PortalRoom.addAdditionalSaveData
(StructurePieceSerializationContext p_192561_, CompoundTag p_192562_) protected void
StrongholdPieces.RoomCrossing.addAdditionalSaveData
(StructurePieceSerializationContext p_192594_, CompoundTag p_192595_) protected void
StrongholdPieces.StairsDown.addAdditionalSaveData
(StructurePieceSerializationContext p_192607_, CompoundTag p_192608_) protected void
StrongholdPieces.Straight.addAdditionalSaveData
(StructurePieceSerializationContext p_192622_, CompoundTag p_192623_) protected void
StrongholdPieces.StrongholdPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192635_, CompoundTag p_192636_) protected abstract void
StructurePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192646_, CompoundTag p_192647_) protected void
SwamplandHutPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192674_, CompoundTag p_192675_) protected void
TemplateStructurePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192690_, CompoundTag p_192691_) protected void
WoodlandMansionPieces.WoodlandMansionPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192696_, CompoundTag p_192697_) StructureFeatureIndexSavedData.load
(CompoundTag p_163535_) private it.unimi.dsi.fastutil.objects.Object2IntMap<ConfiguredStructureFeature<?,
?>> StructureCheck.loadStructures
(CompoundTag p_197312_) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(StructureManager p_192460_, CompoundTag p_192461_, ResourceLocation p_192462_) StructureFeatureIndexSavedData.save
(CompoundTag p_73372_) LegacyStructureDataHandler.updateFromLegacy
(CompoundTag p_71327_) private CompoundTag
LegacyStructureDataHandler.updateStructureStart
(CompoundTag p_71329_, ChunkPos p_71330_) ModifierConstructorDescriptionBridgeCrossing
(CompoundTag p_192081_) protected
BridgeCrossing
(StructurePieceType p_209884_, CompoundTag p_209885_) BridgeEndFiller
(CompoundTag p_192091_) BridgeStraight
(CompoundTag p_192104_) BuriedTreasurePiece
(CompoundTag p_191964_) CastleCorridorStairsPiece
(CompoundTag p_192114_) CastleCorridorTBalconyPiece
(CompoundTag p_192124_) CastleEntrance
(CompoundTag p_192134_) CastleSmallCorridorCrossingPiece
(CompoundTag p_192144_) CastleSmallCorridorLeftTurnPiece
(CompoundTag p_192154_) CastleSmallCorridorPiece
(CompoundTag p_192167_) CastleSmallCorridorRightTurnPiece
(CompoundTag p_192177_) CastleStalkRoom
(CompoundTag p_192190_) ChestCorridor
(CompoundTag p_192489_) DesertPyramidPiece
(CompoundTag p_191979_) EndCityPiece
(StructureManager p_191992_, CompoundTag p_191993_) FillerCorridor
(CompoundTag p_192502_) FiveCrossing
(CompoundTag p_192515_) IglooPiece
(StructureManager p_191998_, CompoundTag p_191999_) JunglePyramidPiece
(CompoundTag p_192014_) LeftTurn
(CompoundTag p_192528_) Library
(CompoundTag p_192538_) MineShaftCorridor
(CompoundTag p_192028_) MineShaftCrossing
(CompoundTag p_192041_) MineShaftPiece
(StructurePieceType p_209881_, CompoundTag p_209882_) MineShaftRoom
(CompoundTag p_192057_) MineShaftStairs
(CompoundTag p_192070_) MonsterThrone
(CompoundTag p_192200_) MonumentBuilding
(CompoundTag p_192265_) NetherBridgePiece
(StructurePieceType p_209891_, CompoundTag p_209892_) NetherFossilPiece
(StructureManager p_192242_, CompoundTag p_192243_) OceanMonumentCoreRoom
(CompoundTag p_192275_) OceanMonumentDoubleXRoom
(CompoundTag p_192285_) OceanMonumentDoubleXYRoom
(CompoundTag p_192295_) OceanMonumentDoubleYRoom
(CompoundTag p_192305_) OceanMonumentDoubleYZRoom
(CompoundTag p_192315_) OceanMonumentDoubleZRoom
(CompoundTag p_192325_) OceanMonumentEntryRoom
(CompoundTag p_192335_) OceanMonumentPenthouse
(CompoundTag p_192345_) OceanMonumentPiece
(StructurePieceType p_209907_, CompoundTag p_209908_) OceanMonumentSimpleRoom
(CompoundTag p_192358_) OceanMonumentSimpleTopRoom
(CompoundTag p_192368_) OceanMonumentWingRoom
(CompoundTag p_192378_) OceanRuinPiece
(StructureManager p_192392_, CompoundTag p_192393_) PoolElementStructurePiece
(StructurePieceSerializationContext p_192406_, CompoundTag p_192407_) PortalRoom
(CompoundTag p_192551_) PrisonHall
(CompoundTag p_192564_) RightTurn
(CompoundTag p_192574_) RoomCrossing
(CompoundTag p_192216_) RoomCrossing
(CompoundTag p_192584_) RuinedPortalPiece
(StructureManager p_192446_, CompoundTag p_192447_) protected
ScatteredFeaturePiece
(StructurePieceType p_209929_, CompoundTag p_209930_) ShipwreckPiece
(StructureManager p_192475_, CompoundTag p_192476_) StairsDown
(CompoundTag p_192597_) StairsDown
(StructurePieceType p_209938_, CompoundTag p_209939_) StairsRoom
(CompoundTag p_192226_) StartPiece
(CompoundTag p_192236_) StartPiece
(CompoundTag p_192610_) Straight
(CompoundTag p_192612_) StraightStairsDown
(CompoundTag p_192625_) StrongholdPiece
(StructurePieceType p_209945_, CompoundTag p_209946_) StructurePiece
(StructurePieceType p_209998_, CompoundTag p_209999_) SwamplandHutPiece
(CompoundTag p_192664_) TemplateStructurePiece
(StructurePieceType p_210091_, CompoundTag p_210092_, StructureManager p_210093_, Function<ResourceLocation, StructurePlaceSettings> p_210094_) Turn
(StructurePieceType p_209952_, CompoundTag p_209953_) WoodlandMansionPiece
(StructureManager p_192693_, CompoundTag p_192694_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeMethodDescriptionStructurePieceType.ContextlessType.load
(CompoundTag p_210167_) default StructurePiece
StructurePieceType.ContextlessType.load
(StructurePieceSerializationContext p_210164_, CompoundTag p_210165_) StructurePieceType.load
(StructurePieceSerializationContext p_210161_, CompoundTag p_210162_) default StructurePiece
StructurePieceType.StructureTemplateType.load
(StructurePieceSerializationContext p_210169_, CompoundTag p_210170_) StructurePieceType.StructureTemplateType.load
(StructureManager p_210172_, CompoundTag p_210173_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.pools
-
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeFieldDescriptionfinal CompoundTag
StructureTemplate.StructureBlockInfo.nbt
final CompoundTag
StructureTemplate.StructureEntityInfo.nbt
private final CompoundTag
ProcessorRule.outputTag
Modifier and TypeMethodDescriptionProcessorRule.getOutputTag()
StructureTemplate.save
(CompoundTag p_74619_) Modifier and TypeMethodDescriptionStructureTemplate.createEntityIgnoreException
(ServerLevelAccessor p_74544_, CompoundTag p_74545_) void
StructureTemplate.load
(CompoundTag p_74639_) StructureManager.readStructure
(CompoundTag p_74340_) StructureTemplate.save
(CompoundTag p_74619_) ModifierConstructorDescriptionStructureBlockInfo
(BlockPos p_74679_, BlockState p_74680_, CompoundTag p_74681_) StructureEntityInfo
(Vec3 p_74687_, BlockPos p_74688_, CompoundTag p_74689_) ModifierConstructorDescriptionProcessorRule
(RuleTest p_74232_, RuleTest p_74233_, PosRuleTest p_74234_, BlockState p_74235_, Optional<CompoundTag> p_74236_) -
Uses of CompoundTag in net.minecraft.world.level.saveddata
-
Uses of CompoundTag in net.minecraft.world.level.saveddata.maps
Modifier and TypeMethodDescriptionMapBanner.save()
MapFrame.save()
MapIndex.save
(CompoundTag p_77884_) MapItemSavedData.save
(CompoundTag p_77956_) Modifier and TypeMethodDescriptionstatic MapBanner
MapBanner.load
(CompoundTag p_77778_) static MapFrame
MapFrame.load
(CompoundTag p_77873_) static MapIndex
MapIndex.load
(CompoundTag p_164763_) static MapItemSavedData
MapItemSavedData.load
(CompoundTag p_164808_) MapIndex.save
(CompoundTag p_77884_) MapItemSavedData.save
(CompoundTag p_77956_) -
Uses of CompoundTag in net.minecraft.world.level.storage
Modifier and TypeFieldDescriptionprivate CompoundTag
PrimaryLevelData.customBossEvents
private CompoundTag
PrimaryLevelData.endDragonFightData
private CompoundTag
PrimaryLevelData.loadedPlayerTag
Modifier and TypeFieldDescriptionprivate final Map<String,
CompoundTag> CommandStorage.Container.storage
Modifier and TypeMethodDescriptionPrimaryLevelData.createTag
(RegistryAccess p_78543_, CompoundTag p_78544_) WorldData.createTag
(RegistryAccess p_78636_, CompoundTag p_78637_) PrimaryLevelData.endDragonFightData()
WorldData.endDragonFightData()
CommandStorage.get
(ResourceLocation p_78045_) PrimaryLevelData.getCustomBossEvents()
WorldData.getCustomBossEvents()
PrimaryLevelData.getLoadedPlayerTag()
WorldData.getLoadedPlayerTag()
DimensionDataStorage.readTagFromDisk
(String p_78159_, int p_78160_) CommandStorage.Container.save
(CompoundTag p_78075_) Modifier and TypeMethodDescriptionPrimaryLevelData.createTag
(RegistryAccess p_78543_, CompoundTag p_78544_) WorldData.createTag
(RegistryAccess p_78636_, CompoundTag p_78637_) (package private) CommandStorage.Container
CommandStorage.Container.load
(CompoundTag p_164850_) static PrimaryLevelData
PrimaryLevelData.parse
(com.mojang.serialization.Dynamic<Tag> p_78531_, com.mojang.datafixers.DataFixer p_78532_, int p_78533_, CompoundTag p_78534_, LevelSettings p_78535_, LevelVersion p_78536_, WorldGenSettings p_78537_, com.mojang.serialization.Lifecycle p_78538_) void
CommandStorage.Container.put
(String p_78064_, CompoundTag p_78065_) CommandStorage.Container.save
(CompoundTag p_78075_) void
LevelStorageSource.LevelStorageAccess.saveDataTag
(RegistryAccess p_78291_, WorldData p_78292_, CompoundTag p_78293_) void
CommandStorage.set
(ResourceLocation p_78047_, CompoundTag p_78048_) void
PrimaryLevelData.setCustomBossEvents
(CompoundTag p_78571_) void
WorldData.setCustomBossEvents
(CompoundTag p_78643_) void
PrimaryLevelData.setEndDragonFightData
(CompoundTag p_78557_) void
WorldData.setEndDragonFightData
(CompoundTag p_78641_) private void
PrimaryLevelData.setTagData
(RegistryAccess p_78546_, CompoundTag p_78547_, CompoundTag p_78548_) Modifier and TypeMethodDescription<T extends SavedData>
TDimensionDataStorage.computeIfAbsent
(Function<CompoundTag, T> p_164862_, Supplier<T> p_164863_, String p_164864_) <T extends SavedData>
TDimensionDataStorage.get
(Function<CompoundTag, T> p_164859_, String p_164860_) private <T extends SavedData>
TDimensionDataStorage.readSavedData
(Function<CompoundTag, T> p_164869_, String p_164870_) ModifierConstructorDescriptionprivate
PrimaryLevelData
(com.mojang.datafixers.DataFixer p_164942_, int p_164943_, CompoundTag p_164944_, boolean p_164945_, int p_164946_, int p_164947_, int p_164948_, float p_164949_, long p_164950_, long p_164951_, int p_164952_, int p_164953_, int p_164954_, boolean p_164955_, int p_164956_, boolean p_164957_, boolean p_164958_, boolean p_164959_, WorldBorder.Settings p_164960_, int p_164961_, int p_164962_, UUID p_164963_, Set<String> p_164964_, TimerQueue<MinecraftServer> p_164965_, CompoundTag p_164966_, CompoundTag p_164967_, LevelSettings p_164968_, WorldGenSettings p_164969_, com.mojang.serialization.Lifecycle p_164970_) -
Uses of CompoundTag in net.minecraft.world.level.storage.loot.functions
Modifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?>
SetNbtFunction.setTag
(CompoundTag p_81188_) Deprecated.ModifierConstructorDescription(package private)
SetNbtFunction
(LootItemCondition[] p_81176_, CompoundTag p_81177_) -
Uses of CompoundTag in net.minecraft.world.level.timers
Modifier and TypeMethodDescription<T extends TimerCallback<C>>
CompoundTagTimerCallbacks.serialize
(T p_82235_) private CompoundTag
TimerQueue.storeEvent
(TimerQueue.Event<T> p_82255_) Modifier and TypeMethodDescriptionFunctionCallback.Serializer.deserialize
(CompoundTag p_82180_) FunctionTagCallback.Serializer.deserialize
(CompoundTag p_82204_) abstract C
TimerCallback.Serializer.deserialize
(CompoundTag p_82225_) TimerCallbacks.deserialize
(CompoundTag p_82239_) private void
TimerQueue.loadEvent
(CompoundTag p_82266_) void
FunctionCallback.Serializer.serialize
(CompoundTag p_82182_, FunctionCallback p_82183_) void
FunctionTagCallback.Serializer.serialize
(CompoundTag p_82206_, FunctionTagCallback p_82207_) abstract void
TimerCallback.Serializer.serialize
(CompoundTag p_82222_, C p_82223_) -
Uses of CompoundTag in net.minecraft.world.scores
Modifier and TypeMethodDescriptionScoreboardSaveData.load
(CompoundTag p_166103_) private void
ScoreboardSaveData.loadDisplaySlots
(CompoundTag p_83531_) ScoreboardSaveData.save
(CompoundTag p_83527_) private void
ScoreboardSaveData.saveDisplaySlots
(CompoundTag p_83533_) -
Uses of CompoundTag in net.minecraft.world.ticks
Modifier and TypeMethodDescriptionprivate static CompoundTag
SavedTick.saveTick
(String p_193339_, BlockPos p_193340_, int p_193341_, TickPriority p_193342_) static <T> CompoundTag
SavedTick.saveTick
(ScheduledTick<T> p_193332_, Function<T, String> p_193333_, long p_193334_) -
Uses of CompoundTag in net.minecraftforge.common
Modifier and TypeMethodDescriptionEntityType<?>
ForgeSpawnEggItem.getType
(CompoundTag tag) static MobEffect
ForgeHooks.loadMobEffect
(CompoundTag nbt, String key, MobEffect fallback) static void
ForgeHooks.readAdditionalLevelSaveData
(CompoundTag rootTag) Deprecated, for removal: This API element is subject to removal in a future version.To be removed in 1.20.static void
ForgeHooks.readAdditionalLevelSaveData
(CompoundTag rootTag, Path levelPath) static void
ForgeHooks.saveMobEffect
(CompoundTag nbt, String key, MobEffect effect) static void
ForgeHooks.writeAdditionalLevelSaveData
(WorldData worldData, CompoundTag levelTag) -
Uses of CompoundTag in net.minecraftforge.common.capabilities
Modifier and TypeMethodDescriptionprotected final CompoundTag
CapabilityProvider.serializeCaps()
CapabilityProvider.AsField.serializeInternal()
CapabilityDispatcher.serializeNBT()
Modifier and TypeMethodDescriptionprotected final void
CapabilityProvider.deserializeCaps
(CompoundTag tag) void
CapabilityProvider.AsField.deserializeInternal
(CompoundTag tag) void
CapabilityDispatcher.deserializeNBT
(CompoundTag nbt) -
Uses of CompoundTag in net.minecraftforge.common.crafting
Modifier and TypeMethodDescriptionstatic CompoundTag
CraftingHelper.getNBT
(com.google.gson.JsonElement element) Modifier and TypeMethodDescriptionstatic PartialNBTIngredient
PartialNBTIngredient.of
(CompoundTag nbt, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given NBTstatic PartialNBTIngredient
PartialNBTIngredient.of
(ItemLike item, CompoundTag nbt) Creates a new ingredient matching the given item, containing the given NBT -
Uses of CompoundTag in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptionIForgeEntity.getPersistentData()
Returns a NBTTagCompound that can be used to store custom data for this entity.default CompoundTag
IForgeItem.getShareTag
(ItemStack stack) Override this method to change the NBT data being sent to the client.default CompoundTag
IForgeItemStack.getShareTag()
Get the NBT data to be sent to the client.IForgeBlockEntity.getTileData()
Gets aCompoundTag
that can be used to store custom data for this tile entity.default CompoundTag
IForgeBlockEntity.serializeNBT()
default CompoundTag
IForgeEntity.serializeNBT()
default CompoundTag
IForgeItemStack.serializeNBT()
Modifier and TypeMethodDescriptiondefault void
IForgeBlockEntity.deserializeNBT
(CompoundTag nbt) default void
IForgeEntity.deserializeNBT
(CompoundTag nbt) default void
IForgeBlockEntity.handleUpdateTag
(CompoundTag tag) Called when the chunk's TE update tag, gotten fromBlockEntity.getUpdateTag()
, is received on the client.default ICapabilityProvider
IForgeItem.initCapabilities
(ItemStack stack, CompoundTag nbt) Called from ItemStack.setItem, will hold extra data for the life of this ItemStack.default void
IForgeItem.readShareTag
(ItemStack stack, CompoundTag nbt) Override this method to decide what to do with the NBT data received from getNBTShareTag().default void
IForgeItemStack.readShareTag
(CompoundTag nbt) Override this method to decide what to do with the NBT data received from getNBTShareTag().default void
IForgeMobEffectInstance.writeCurativeItems
(CompoundTag nbt) -
Uses of CompoundTag in net.minecraftforge.common.util
Modifier and TypeFieldDescriptionprivate CompoundTag
WorldCapabilityData.capNBT
private final CompoundTag
BlockSnapshot.nbt
Modifier and TypeFieldDescriptionprivate INBTSerializable<CompoundTag>
WorldCapabilityData.serializable
Modifier and TypeMethodDescriptionprivate static CompoundTag
BlockSnapshot.getBlockEntityTag
(BlockEntity te) BlockSnapshot.getTag()
static CompoundTag
DummySavedData.save
(CompoundTag compound) WorldCapabilityData.save
(CompoundTag nbt) Modifier and TypeMethodDescriptionstatic WorldCapabilityData
WorldCapabilityData.load
(CompoundTag tag, INBTSerializable<CompoundTag> serializable) void
WorldCapabilityData.read
(CompoundTag nbt) DummySavedData.save
(CompoundTag compound) WorldCapabilityData.save
(CompoundTag nbt) Modifier and TypeMethodDescriptionstatic WorldCapabilityData
WorldCapabilityData.load
(CompoundTag tag, INBTSerializable<CompoundTag> serializable) void
WorldCapabilityData.setCapabilities
(INBTSerializable<CompoundTag> capabilities) ModifierConstructorDescriptionprivate
BlockSnapshot
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, CompoundTag nbt, int flags) -
Uses of CompoundTag in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionprivate static void
ForgeChunkManager.readBlockForcedChunks
(String modId, long chunkPos, CompoundTag modEntry, String key, Map<ForgeChunkManager.TicketOwner<BlockPos>, it.unimi.dsi.fastutil.longs.LongSet> blockForcedChunks) Reads the forge block forced chunks.private static void
ForgeChunkManager.readEntityForcedChunks
(String modId, long chunkPos, CompoundTag modEntry, String key, Map<ForgeChunkManager.TicketOwner<UUID>, it.unimi.dsi.fastutil.longs.LongSet> entityForcedChunks) Reads the forge entity forced chunks.static void
ForgeChunkManager.readForgeForcedChunks
(CompoundTag nbt, ForgeChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForgeChunkManager.TicketTracker<UUID> entityForcedChunks) Reads the forge forced chunks from the NBT compound.static void
ForgeChunkManager.writeForgeForcedChunks
(CompoundTag nbt, ForgeChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForgeChunkManager.TicketTracker<UUID> entityForcedChunks) Writes the forge forced chunks into the NBT compound.Modifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
voidForgeChunkManager.writeForcedChunkOwners
(Map<String, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, Map<ForgeChunkManager.TicketOwner<T>, it.unimi.dsi.fastutil.longs.LongSet> forcedChunks, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) private static <T extends Comparable<? super T>>
voidForgeChunkManager.writeForcedChunkOwners
(Map<String, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, ForgeChunkManager.TicketTracker<T> tracker, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) -
Uses of CompoundTag in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.DioriteFlowerPotBlockEntity.getUpdateTag()
Modifier and TypeMethodDescriptionvoid
FullPotsAccessorDemo.DioriteFlowerPotBlockEntity.handleUpdateTag
(CompoundTag tag) void
FullPotsAccessorDemo.DioriteFlowerPotBlockEntity.load
(CompoundTag tag) protected void
FullPotsAccessorDemo.DioriteFlowerPotBlockEntity.saveAdditional
(CompoundTag tag) -
Uses of CompoundTag in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescriptionvoid
CustomTransformTypeTest.ItemHangerBlockEntity.handleUpdateTag
(CompoundTag tag) void
CustomTransformTypeTest.ItemHangerBlockEntity.load
(CompoundTag tag) protected void
CustomTransformTypeTest.ItemHangerBlockEntity.saveAdditional
(CompoundTag tag) -
Uses of CompoundTag in net.minecraftforge.debug.entity
Modifier and TypeMethodDescriptionprotected void
PartEntityTest.TestEntityPart.addAdditionalSaveData
(CompoundTag nbt) protected void
PartEntityTest.TestEntityPart.readAdditionalSaveData
(CompoundTag nbt) -
Uses of CompoundTag in net.minecraftforge.event.world
ModifierConstructorDescriptionChunkDataEvent
(ChunkAccess chunk, CompoundTag data) ChunkDataEvent
(ChunkAccess chunk, LevelAccessor world, CompoundTag data) Load
(ChunkAccess chunk, CompoundTag data, ChunkStatus.ChunkType status) Save
(ChunkAccess chunk, LevelAccessor world, CompoundTag data) -
Uses of CompoundTag in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionFluidStack.getChildTag
(String childName) FluidStack.getOrCreateChildTag
(String childName) FluidStack.getOrCreateTag()
FluidStack.getTag()
FluidStack.writeToNBT
(CompoundTag nbt) Modifier and TypeMethodDescriptionstatic FluidStack
FluidStack.loadFluidStackFromNBT
(CompoundTag nbt) This provides a safe method for retrieving a FluidStack - if the Fluid is invalid, the stack will return as null.void
FluidStack.setTag
(CompoundTag tag) FluidStack.writeToNBT
(CompoundTag nbt) -
Uses of CompoundTag in net.minecraftforge.fluids.capability
Modifier and TypeMethodDescriptionItemFluidContainer.initCapabilities
(ItemStack stack, CompoundTag nbt) void
TileFluidHandler.load
(CompoundTag tag) protected void
TileFluidHandler.saveAdditional
(CompoundTag tag) -
Uses of CompoundTag in net.minecraftforge.fluids.capability.templates
Modifier and TypeMethodDescriptionFluidTank.readFromNBT
(CompoundTag nbt) FluidTank.writeToNBT
(CompoundTag nbt) -
Uses of CompoundTag in net.minecraftforge.items
-
Uses of CompoundTag in net.minecraftforge.registries
Modifier and TypeMethodDescriptionstatic ForgeRegistry.Snapshot
ForgeRegistry.Snapshot.read
(CompoundTag nbt)