Uses of Class
net.minecraft.nbt.CompoundTag
Packages that use CompoundTag
Package
Description
-
Uses of CompoundTag in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as CompoundTagModifier and TypeFieldDescriptionprivate final CompoundTag
NbtPredicate.tag
The field for thetag
record component.Methods in net.minecraft.advancements.critereon that return CompoundTagModifier and TypeMethodDescriptionstatic CompoundTag
NbtPredicate.getEntityTagToCompare
(Entity p_57486_) NbtPredicate.tag()
Returns the value of thetag
record component.Methods in net.minecraft.advancements.critereon with parameters of type CompoundTagConstructors in net.minecraft.advancements.critereon with parameters of type CompoundTagModifierConstructorDescriptionNbtPredicate
(CompoundTag tag) Creates an instance of aNbtPredicate
record class. -
Uses of CompoundTag in net.minecraft.client
Fields in net.minecraft.client with type parameters of type CompoundTagMethods in net.minecraft.client that return CompoundTagMethods in net.minecraft.client with parameters of type CompoundTagModifier 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_) Method parameters in net.minecraft.client with type arguments of type CompoundTagModifier 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.multiplayer
Methods in net.minecraft.client.multiplayer that return CompoundTagMethods in net.minecraft.client.multiplayer with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic 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.server
Fields in net.minecraft.client.server declared as CompoundTagMethods in net.minecraft.client.server that return CompoundTag -
Uses of CompoundTag in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as CompoundTagModifier and TypeFieldDescriptionprivate final CompoundTag
NbtPathArgument.MatchElementNode.pattern
private final CompoundTag
NbtPathArgument.MatchObjectNode.pattern
Methods in net.minecraft.commands.arguments that return CompoundTagModifier 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_) Methods in net.minecraft.commands.arguments with parameters of type CompoundTagModifier and TypeMethodDescriptionNbtPathArgument.createTagPredicate
(CompoundTag p_99511_) int
NbtPathArgument.NbtPath.insert
(int p_263397_, CompoundTag p_263348_, List<Tag> p_263419_) Constructors in net.minecraft.commands.arguments with parameters of type CompoundTagModifierConstructorDescriptionMatchElementNode
(CompoundTag p_99566_) MatchObjectNode
(String p_99588_, CompoundTag p_99589_) MatchRootObjectNode
(CompoundTag p_99605_) -
Uses of CompoundTag in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks declared as CompoundTagModifier and TypeFieldDescriptionprivate final CompoundTag
BlockPredicateArgument.BlockPredicate.nbt
private final CompoundTag
BlockPredicateArgument.TagPredicate.nbt
private final CompoundTag
BlockStateParser.BlockResult.nbt
The field for thenbt
record component.private CompoundTag
BlockStateParser.nbt
private final CompoundTag
BlockStateParser.TagResult.nbt
The field for thenbt
record component.private final CompoundTag
BlockInput.tag
Methods in net.minecraft.commands.arguments.blocks that return CompoundTagModifier and TypeMethodDescriptionBlockStateParser.BlockResult.nbt()
Returns the value of thenbt
record component.BlockStateParser.TagResult.nbt()
Returns the value of thenbt
record component.Constructors in net.minecraft.commands.arguments.blocks with parameters of type CompoundTagModifierConstructorDescriptionBlockInput
(BlockState p_114666_, Set<Property<?>> p_114667_, CompoundTag p_114668_) BlockPredicate
(BlockState p_115595_, Set<Property<?>> p_115596_, CompoundTag p_115597_) BlockResult
(BlockState blockState, Map<Property<?>, Comparable<?>> properties, CompoundTag nbt) Creates an instance of aBlockResult
record class.(package private)
TagPredicate
(HolderSet<Block> p_234637_, Map<String, String> p_234638_, CompoundTag p_234639_) Creates an instance of aTagResult
record class. -
Uses of CompoundTag in net.minecraft.commands.functions
Methods in net.minecraft.commands.functions with parameters of type CompoundTagModifier and TypeMethodDescriptionCommandFunction.instantiate
(CompoundTag p_306231_, com.mojang.brigadier.CommandDispatcher<T> p_305923_) MacroFunction.instantiate
(CompoundTag p_305810_, com.mojang.brigadier.CommandDispatcher<T> p_306149_) PlainTextFunction.instantiate
(CompoundTag p_306181_, com.mojang.brigadier.CommandDispatcher<T> p_306210_) -
Uses of CompoundTag in net.minecraft.data.structures
Methods in net.minecraft.data.structures that return CompoundTagModifier 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_) static CompoundTag
StructureUpdater.update
(String p_176823_, CompoundTag p_176824_) Methods in net.minecraft.data.structures with parameters of type CompoundTagModifier 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_) static CompoundTag
StructureUpdater.update
(String p_176823_, CompoundTag p_176824_) -
Uses of CompoundTag in net.minecraft.nbt
Fields in net.minecraft.nbt with type parameters of type CompoundTagModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<CompoundTag> TagParser.AS_CODEC
static final com.mojang.serialization.Codec
<CompoundTag> CompoundTag.CODEC
static final com.mojang.serialization.Codec
<CompoundTag> TagParser.LENIENT_CODEC
static final TagType
<CompoundTag> CompoundTag.TYPE
Methods in net.minecraft.nbt that return CompoundTagModifier and TypeMethodDescriptionstatic CompoundTag
NbtUtils.addCurrentDataVersion
(CompoundTag p_265050_) static CompoundTag
NbtUtils.addDataVersion
(CompoundTag p_265534_, int p_265686_) protected 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
(InputStream p_307406_, NbtAccounter p_307479_) static CompoundTag
NbtIo.readCompressed
(Path p_309661_, NbtAccounter p_307351_) (package private) CompoundTag
TagParser.readSingleStruct()
TagParser.readStruct()
protected CompoundTag
CompoundTag.shallowCopy()
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_) private static CompoundTag
NbtOps.HeterogenousListCollector.wrapElement
(Tag p_251263_) static CompoundTag
NbtUtils.writeBlockState
(BlockState p_129203_) static CompoundTag
NbtUtils.writeFluidState
(FluidState p_178023_) Methods in net.minecraft.nbt that return types with arguments of type CompoundTagMethods in net.minecraft.nbt with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic CompoundTag
NbtUtils.addCurrentDataVersion
(CompoundTag p_265050_) static CompoundTag
NbtUtils.addDataVersion
(CompoundTag p_265534_, int p_265686_) protected 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_) static int
NbtUtils.getDataVersion
(CompoundTag p_265397_, int p_265399_) SnbtPrinterTagVisitor.getKeys
(CompoundTag p_178147_) private static boolean
NbtOps.HeterogenousListCollector.isWrapper
(CompoundTag p_252073_) CompoundTag.merge
(CompoundTag p_128392_) (package private) static String
NbtUtils.packBlockState
(CompoundTag p_178076_) (package private) static CompoundTag
NbtUtils.packStructureTemplate
(CompoundTag p_178068_) NbtUtils.readBlockPos
(CompoundTag p_129240_, String p_326507_) static BlockState
NbtUtils.readBlockState
(HolderGetter<Block> p_256363_, CompoundTag p_250775_) 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_) private static Tag
NbtOps.tryUnwrap
(CompoundTag p_251041_) (package private) static CompoundTag
NbtUtils.unpackStructureTemplate
(CompoundTag p_178072_) 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_, Path p_309549_) static void
NbtIo.writeCompressed
(CompoundTag p_128948_, OutputStream p_128949_) static void
NbtIo.writeCompressed
(CompoundTag p_128945_, Path p_309705_) -
Uses of CompoundTag in net.minecraft.network
Methods in net.minecraft.network that return CompoundTagModifier and TypeMethodDescriptionFriendlyByteBuf.readNbt()
static CompoundTag
FriendlyByteBuf.readNbt
(io.netty.buffer.ByteBuf p_320394_) -
Uses of CompoundTag in net.minecraft.network.chat.contents
Methods in net.minecraft.network.chat.contents that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionBlockDataSource.getData
(CommandSourceStack p_237323_) DataSource.getData
(CommandSourceStack p_237326_) EntityDataSource.getData
(CommandSourceStack p_237341_) StorageDataSource.getData
(CommandSourceStack p_237491_) -
Uses of CompoundTag in net.minecraft.network.codec
Fields in net.minecraft.network.codec with type parameters of type CompoundTagModifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.COMPOUND_TAG
static final StreamCodec
<io.netty.buffer.ByteBuf, Optional<CompoundTag>> ByteBufCodecs.OPTIONAL_COMPOUND_TAG
static final StreamCodec
<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.TRUSTED_COMPOUND_TAG
Methods in net.minecraft.network.codec that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionstatic StreamCodec
<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.compoundTagCodec
(Supplier<NbtAccounter> p_331128_) -
Uses of CompoundTag in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as CompoundTagModifier and TypeFieldDescriptionprivate final CompoundTag
ClientboundLevelChunkPacketData.heightmaps
private final CompoundTag
ClientboundBlockEntityDataPacket.tag
(package private) final CompoundTag
ClientboundLevelChunkPacketData.BlockEntityInfo.tag
private final CompoundTag
ClientboundTagQueryPacket.tag
Methods in net.minecraft.network.protocol.game that return CompoundTagModifier and TypeMethodDescriptionClientboundLevelChunkPacketData.getHeightmaps()
ClientboundBlockEntityDataPacket.getTag()
ClientboundTagQueryPacket.getTag()
Methods in net.minecraft.network.protocol.game with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
ClientboundLevelChunkPacketData.BlockEntityTagOutput.accept
(BlockPos p_195696_, BlockEntityType<?> p_195697_, CompoundTag p_195698_) Method parameters in net.minecraft.network.protocol.game with type arguments of type CompoundTagModifier and TypeMethodDescriptionClientboundBlockEntityDataPacket.create
(BlockEntity p_195643_, BiFunction<BlockEntity, RegistryAccess, CompoundTag> p_324611_) Constructors in net.minecraft.network.protocol.game with parameters of type CompoundTagModifierConstructorDescriptionprivate
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
Fields in net.minecraft.network.syncher with type parameters of type CompoundTagModifier and TypeFieldDescriptionstatic final EntityDataSerializer
<CompoundTag> EntityDataSerializers.COMPOUND_TAG
-
Uses of CompoundTag in net.minecraft.server
Methods in net.minecraft.server with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate ScoreboardSaveData
ServerScoreboard.createData
(CompoundTag p_180014_, HolderLookup.Provider p_324580_) -
Uses of CompoundTag in net.minecraft.server.bossevents
Methods in net.minecraft.server.bossevents that return CompoundTagModifier and TypeMethodDescriptionCustomBossEvent.save
(HolderLookup.Provider p_330839_) CustomBossEvents.save
(HolderLookup.Provider p_330783_) Methods in net.minecraft.server.bossevents with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic CustomBossEvent
CustomBossEvent.load
(CompoundTag p_136273_, ResourceLocation p_136274_, HolderLookup.Provider p_331359_) void
CustomBossEvents.load
(CompoundTag p_136296_, HolderLookup.Provider p_331580_) -
Uses of CompoundTag in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as CompoundTagModifier and TypeFieldDescriptionprivate final CompoundTag
CloneCommands.CloneBlockEntityInfo.tag
The field for thetag
record component.Methods in net.minecraft.server.commands that return CompoundTagModifier and TypeMethodDescriptionprotected abstract CompoundTag
FunctionCommand.FunctionCustomExecutor.arguments
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_306010_) (package private) static CompoundTag
FunctionCommand.getArgumentTag
(NbtPathArgument.NbtPath p_295114_, DataAccessor p_296132_) CloneCommands.CloneBlockEntityInfo.tag()
Returns the value of thetag
record component.Methods in net.minecraft.server.commands with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic Entity
SummonCommand.createEntity
(CommandSourceStack p_270582_, Holder.Reference<EntityType<?>> p_270277_, Vec3 p_270366_, CompoundTag p_270197_, boolean p_270947_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions
(CompoundTag p_309636_, ExecutionControl<T> p_309536_, com.mojang.brigadier.CommandDispatcher<T> p_309639_, T p_309605_, CommandFunction<T> p_309610_, ResourceLocation p_309719_, CommandResultCallback p_309544_, boolean p_309542_) static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctions
(Collection<CommandFunction<T>> p_305938_, CompoundTag p_306214_, T p_306048_, T p_305876_, ExecutionControl<T> p_305902_, FunctionCommand.Callbacks<T> p_306230_, ChainModifiers p_309589_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsAsReturn
(Collection<CommandFunction<T>> p_309534_, CompoundTag p_309696_, T p_309655_, T p_309547_, ExecutionControl<T> p_309663_, FunctionCommand.Callbacks<T> p_309585_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsNoReturn
(Collection<CommandFunction<T>> p_309573_, CompoundTag p_309637_, T p_309693_, T p_309593_, ExecutionControl<T> p_309574_, FunctionCommand.Callbacks<T> p_309570_) static <T extends ExecutionCommandSource<T>>
voidExecuteCommand.scheduleFunctionConditionsAndTest
(T p_309624_, List<T> p_306057_, Function<T, T> p_306045_, IntPredicate p_306343_, com.mojang.brigadier.context.ContextChain<T> p_306308_, CompoundTag p_306076_, ExecutionControl<T> p_306202_, ExecuteCommand.CommandGetter<T, Collection<CommandFunction<T>>> p_305836_, ChainModifiers p_309703_) private static int
SummonCommand.spawnEntity
(CommandSourceStack p_249752_, Holder.Reference<EntityType<?>> p_251948_, Vec3 p_251429_, CompoundTag p_250568_, boolean p_250229_) Constructors in net.minecraft.server.commands with parameters of type CompoundTagModifierConstructorDescription(package private)
CloneBlockEntityInfo
(CompoundTag tag, DataComponentMap components) Creates an instance of aCloneBlockEntityInfo
record class. -
Uses of CompoundTag in net.minecraft.server.commands.data
Methods in net.minecraft.server.commands.data that return CompoundTagModifier and TypeMethodDescriptionBlockDataAccessor.getData()
DataAccessor.getData()
EntityDataAccessor.getData()
StorageDataAccessor.getData()
Methods in net.minecraft.server.commands.data with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate 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
Methods in net.minecraft.server.level that return CompoundTagModifier and TypeMethodDescriptionprivate CompoundTag
ChunkMap.upgradeChunkTag
(CompoundTag p_214948_) Methods in net.minecraft.server.level that return types with arguments of type CompoundTagMethods in net.minecraft.server.level with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
ServerPlayer.addAdditionalSaveData
(CompoundTag p_9197_) private static boolean
ChunkMap.isChunkDataValid
(CompoundTag p_214941_) 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_) private CompoundTag
ChunkMap.upgradeChunkTag
(CompoundTag p_214948_) -
Uses of CompoundTag in net.minecraft.server.players
Methods in net.minecraft.server.players that return CompoundTagMethods in net.minecraft.server.players that return types with arguments of type CompoundTag -
Uses of CompoundTag in net.minecraft.stats
Methods in net.minecraft.stats that return CompoundTagModifier and TypeMethodDescriptionprivate static CompoundTag
ServerStatsCounter.fromJson
(com.google.gson.JsonObject p_12831_) ServerRecipeBook.toNbt()
Methods in net.minecraft.stats with parameters of type CompoundTagModifier 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.util.datafix
Methods in net.minecraft.util.datafix that return CompoundTagModifier and TypeMethodDescriptionDataFixTypes.update
(com.mojang.datafixers.DataFixer p_265128_, CompoundTag p_265422_, int p_265549_, int p_265304_) DataFixTypes.updateToCurrentVersion
(com.mojang.datafixers.DataFixer p_265583_, CompoundTag p_265401_, int p_265111_) Methods in net.minecraft.util.datafix with parameters of type CompoundTagModifier and TypeMethodDescriptionDataFixTypes.update
(com.mojang.datafixers.DataFixer p_265128_, CompoundTag p_265422_, int p_265549_, int p_265304_) DataFixTypes.updateToCurrentVersion
(com.mojang.datafixers.DataFixer p_265583_, CompoundTag p_265401_, int p_265111_) -
Uses of CompoundTag in net.minecraft.util.datafix.fixes
Methods in net.minecraft.util.datafix.fixes that return CompoundTag -
Uses of CompoundTag in net.minecraft.util.worldupdate
Methods in net.minecraft.util.worldupdate that return CompoundTagModifier and TypeMethodDescriptionprotected CompoundTag
WorldUpgrader.EntityUpgrader.upgradeTag
(SimpleRegionStorage p_321667_, CompoundTag p_321776_) protected CompoundTag
WorldUpgrader.PoiUpgrader.upgradeTag
(SimpleRegionStorage p_321589_, CompoundTag p_321492_) protected abstract CompoundTag
WorldUpgrader.SimpleRegionStorageUpgrader.upgradeTag
(SimpleRegionStorage p_321857_, CompoundTag p_321575_) Methods in net.minecraft.util.worldupdate with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected CompoundTag
WorldUpgrader.EntityUpgrader.upgradeTag
(SimpleRegionStorage p_321667_, CompoundTag p_321776_) protected CompoundTag
WorldUpgrader.PoiUpgrader.upgradeTag
(SimpleRegionStorage p_321589_, CompoundTag p_321492_) protected abstract CompoundTag
WorldUpgrader.SimpleRegionStorageUpgrader.upgradeTag
(SimpleRegionStorage p_321857_, CompoundTag p_321575_) -
Uses of CompoundTag in net.minecraft.world
Methods in net.minecraft.world that return CompoundTagModifier and TypeMethodDescriptionRandomSequences.save
(CompoundTag p_287658_, HolderLookup.Provider p_323500_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_, HolderLookup.Provider p_330957_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_, HolderLookup.Provider p_331375_) Methods in net.minecraft.world with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
LockCode.addToTag
(CompoundTag p_19110_) static LockCode
LockCode.fromTag
(CompoundTag p_19112_) private static boolean
RandomSequences.getBooleanWithDefault
(CompoundTag p_296109_, String p_295934_, boolean p_295516_) static RandomSequences
RandomSequences.load
(long p_287756_, CompoundTag p_287587_) static void
ContainerHelper.loadAllItems
(CompoundTag p_18981_, NonNullList<ItemStack> p_18982_, HolderLookup.Provider p_332027_) RandomSequences.save
(CompoundTag p_287658_, HolderLookup.Provider p_323500_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_, HolderLookup.Provider p_330957_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_, HolderLookup.Provider p_331375_) default boolean
RandomizableContainer.tryLoadLootTable
(CompoundTag p_309695_) default boolean
RandomizableContainer.trySaveLootTable
(CompoundTag p_309634_) -
Uses of CompoundTag in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic MobEffectInstance
MobEffectInstance.load
(CompoundTag p_19561_) -
Uses of CompoundTag in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as CompoundTagModifier and TypeFieldDescriptionprivate CompoundTag
Marker.data
private CompoundTag
Entity.persistentData
Methods in net.minecraft.world.entity that return CompoundTagModifier and TypeMethodDescriptionEntity.getPersistentData()
Entity.saveWithoutId
(CompoundTag p_20241_) Methods in net.minecraft.world.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
AgeableMob.addAdditionalSaveData
(CompoundTag p_146761_) protected void
AreaEffectCloud.addAdditionalSaveData
(CompoundTag p_19737_) protected void
Display.addAdditionalSaveData
(CompoundTag p_270779_) protected void
Display.BlockDisplay.addAdditionalSaveData
(CompoundTag p_270469_) protected void
Display.ItemDisplay.addAdditionalSaveData
(CompoundTag p_270669_) protected void
Display.TextDisplay.addAdditionalSaveData
(CompoundTag p_270268_) protected abstract void
Entity.addAdditionalSaveData
(CompoundTag p_20139_) void
ExperienceOrb.addAdditionalSaveData
(CompoundTag p_20796_) void
GlowSquid.addAdditionalSaveData
(CompoundTag p_147122_) protected void
Interaction.addAdditionalSaveData
(CompoundTag p_273772_) 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_) protected void
OminousItemSpawner.addAdditionalSaveData
(CompoundTag p_338411_) 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_) void
Entity.load
(CompoundTag p_20259_) static Entity
EntityType.loadEntityRecursive
(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) private static byte
Display.TextDisplay.loadFlag
(byte p_270219_, CompoundTag p_270994_, String p_270958_, byte p_270701_) EntityType.loadStaticEntity
(CompoundTag p_20670_, Level p_20671_) void
AgeableMob.readAdditionalSaveData
(CompoundTag p_146752_) protected void
AreaEffectCloud.readAdditionalSaveData
(CompoundTag p_19727_) protected void
Display.BlockDisplay.readAdditionalSaveData
(CompoundTag p_270139_) protected void
Display.ItemDisplay.readAdditionalSaveData
(CompoundTag p_270713_) protected void
Display.readAdditionalSaveData
(CompoundTag p_270854_) protected void
Display.TextDisplay.readAdditionalSaveData
(CompoundTag p_270714_) protected abstract void
Entity.readAdditionalSaveData
(CompoundTag p_20052_) void
ExperienceOrb.readAdditionalSaveData
(CompoundTag p_20788_) void
GlowSquid.readAdditionalSaveData
(CompoundTag p_147117_) protected void
Interaction.readAdditionalSaveData
(CompoundTag p_272702_) 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_) protected void
OminousItemSpawner.readAdditionalSaveData
(CompoundTag p_338507_) void
TamableAnimal.readAdditionalSaveData
(CompoundTag p_21815_) default Leashable.LeashData
Leashable.readLeashData
(CompoundTag p_352410_) 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_) private static void
Display.TextDisplay.storeFlag
(byte p_270879_, CompoundTag p_270177_, String p_270294_, byte p_270853_) default void
Leashable.writeLeashData
(CompoundTag p_352349_, Leashable.LeashData p_352363_) -
Uses of CompoundTag in net.minecraft.world.entity.ai.attributes
Methods in net.minecraft.world.entity.ai.attributes that return CompoundTagMethods in net.minecraft.world.entity.ai.attributes with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
AttributeInstance.load
(CompoundTag p_22114_) static AttributeModifier
AttributeModifier.load
(CompoundTag p_22213_) -
Uses of CompoundTag in net.minecraft.world.entity.ambient
Methods in net.minecraft.world.entity.ambient with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Bat.addAdditionalSaveData
(CompoundTag p_27443_) void
Bat.readAdditionalSaveData
(CompoundTag p_27427_) -
Uses of CompoundTag in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type CompoundTagModifier 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_) static void
Bucketable.loadDefaultDataFromBucketTag
(Mob p_148826_, CompoundTag p_148827_) Deprecated.void
AbstractFish.loadFromBucketTag
(CompoundTag p_148708_) void
Bucketable.loadFromBucketTag
(CompoundTag p_148832_) void
TropicalFish.loadFromBucketTag
(CompoundTag p_323573_) 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.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Allay.addAdditionalSaveData
(CompoundTag p_218367_) void
Allay.readAdditionalSaveData
(CompoundTag p_218350_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.armadillo
Methods in net.minecraft.world.entity.animal.armadillo with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Armadillo.addAdditionalSaveData
(CompoundTag p_316752_) void
Armadillo.readAdditionalSaveData
(CompoundTag p_316298_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Axolotl.addAdditionalSaveData
(CompoundTag p_149158_) void
Axolotl.loadFromBucketTag
(CompoundTag p_149163_) void
Axolotl.readAdditionalSaveData
(CompoundTag p_149145_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Camel.addAdditionalSaveData
(CompoundTag p_250330_) void
Camel.readAdditionalSaveData
(CompoundTag p_250781_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Frog.addAdditionalSaveData
(CompoundTag p_218508_) void
Tadpole.addAdditionalSaveData
(CompoundTag p_218709_) void
Tadpole.loadFromBucketTag
(CompoundTag p_218715_) void
Frog.readAdditionalSaveData
(CompoundTag p_218496_) void
Tadpole.readAdditionalSaveData
(CompoundTag p_218698_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Goat.addAdditionalSaveData
(CompoundTag p_149385_) void
Goat.readAdditionalSaveData
(CompoundTag p_149373_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type CompoundTagModifier 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_) 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
Methods in net.minecraft.world.entity.boss with parameters of type CompoundTagModifier 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
Methods in net.minecraft.world.entity.boss.enderdragon with parameters of type CompoundTagModifier 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
Methods in net.minecraft.world.entity.boss.wither with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
WitherBoss.addAdditionalSaveData
(CompoundTag p_31485_) void
WitherBoss.readAdditionalSaveData
(CompoundTag p_31474_) -
Uses of CompoundTag in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return CompoundTagMethods in net.minecraft.world.entity.decoration with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
ArmorStand.addAdditionalSaveData
(CompoundTag p_31619_) void
BlockAttachedEntity.addAdditionalSaveData
(CompoundTag p_344925_) 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
BlockAttachedEntity.readAdditionalSaveData
(CompoundTag p_346402_) 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
Fields in net.minecraft.world.entity.item declared as CompoundTagMethods in net.minecraft.world.entity.item with parameters of type CompoundTagModifier 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
Methods in net.minecraft.world.entity.monster with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Bogged.addAdditionalSaveData
(CompoundTag p_331631_) void
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_) void
AbstractSkeleton.readAdditionalSaveData
(CompoundTag p_32152_) void
Bogged.readAdditionalSaveData
(CompoundTag p_331225_) 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_) -
Uses of CompoundTag in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Hoglin.addAdditionalSaveData
(CompoundTag p_34529_) void
Hoglin.readAdditionalSaveData
(CompoundTag p_34519_) -
Uses of CompoundTag in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
AbstractPiglin.addAdditionalSaveData
(CompoundTag p_34661_) void
Piglin.addAdditionalSaveData
(CompoundTag p_34751_) void
AbstractPiglin.readAdditionalSaveData
(CompoundTag p_34659_) void
Piglin.readAdditionalSaveData
(CompoundTag p_34725_) -
Uses of CompoundTag in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Warden.addAdditionalSaveData
(CompoundTag p_219434_) void
Warden.readAdditionalSaveData
(CompoundTag p_219415_) -
Uses of CompoundTag in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
AbstractVillager.addAdditionalSaveData
(CompoundTag p_35301_) void
Villager.addAdditionalSaveData
(CompoundTag p_35481_) void
WanderingTrader.addAdditionalSaveData
(CompoundTag p_35861_) void
AbstractVillager.readAdditionalSaveData
(CompoundTag p_35290_) void
Villager.readAdditionalSaveData
(CompoundTag p_35451_) void
WanderingTrader.readAdditionalSaveData
(CompoundTag p_35852_) default void
InventoryCarrier.readInventoryFromTag
(CompoundTag p_253699_, HolderLookup.Provider p_330390_) default void
InventoryCarrier.writeInventoryToTag
(CompoundTag p_254428_, HolderLookup.Provider p_331103_) -
Uses of CompoundTag in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player with type parameters of type CompoundTagModifier and TypeFieldDescriptionprotected static final EntityDataAccessor
<CompoundTag> Player.DATA_SHOULDER_LEFT
protected static final EntityDataAccessor
<CompoundTag> Player.DATA_SHOULDER_RIGHT
Methods in net.minecraft.world.entity.player that return CompoundTagMethods in net.minecraft.world.entity.player with parameters of type CompoundTagModifier 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
Methods in net.minecraft.world.entity.projectile with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
AbstractArrow.addAdditionalSaveData
(CompoundTag p_36772_) void
AbstractHurtingProjectile.addAdditionalSaveData
(CompoundTag p_36848_) 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
WitherSkull.addAdditionalSaveData
(CompoundTag p_306205_) void
AbstractArrow.readAdditionalSaveData
(CompoundTag p_36761_) void
AbstractHurtingProjectile.readAdditionalSaveData
(CompoundTag p_36844_) 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_) void
WitherSkull.readAdditionalSaveData
(CompoundTag p_305818_) -
Uses of CompoundTag in net.minecraft.world.entity.raid
Methods in net.minecraft.world.entity.raid that return CompoundTagModifier and TypeMethodDescriptionRaid.save
(CompoundTag p_37748_) Raids.save
(CompoundTag p_37976_, HolderLookup.Provider p_323890_) Methods in net.minecraft.world.entity.raid with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Raider.addAdditionalSaveData
(CompoundTag p_37870_) 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_, HolderLookup.Provider p_323890_) Constructors in net.minecraft.world.entity.raid with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
AbstractMinecart.addAdditionalSaveData
(CompoundTag p_38151_) protected void
AbstractMinecartContainer.addAdditionalSaveData
(CompoundTag p_38248_) protected void
Boat.addAdditionalSaveData
(CompoundTag p_38359_) protected void
ChestBoat.addAdditionalSaveData
(CompoundTag p_219908_) 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_) default void
ContainerEntity.addChestVehicleSaveData
(CompoundTag p_219944_, HolderLookup.Provider p_332101_) protected void
AbstractMinecart.readAdditionalSaveData
(CompoundTag p_38137_) protected void
AbstractMinecartContainer.readAdditionalSaveData
(CompoundTag p_38235_) protected void
Boat.readAdditionalSaveData
(CompoundTag p_38338_) protected void
ChestBoat.readAdditionalSaveData
(CompoundTag p_219901_) 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_) default void
ContainerEntity.readChestVehicleSaveData
(CompoundTag p_219935_, HolderLookup.Provider p_331073_) -
Uses of CompoundTag in net.minecraft.world.food
Methods in net.minecraft.world.food with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
FoodData.addAdditionalSaveData
(CompoundTag p_38720_) void
FoodData.readAdditionalSaveData
(CompoundTag p_38716_) -
Uses of CompoundTag in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic ItemStack
ItemStack.parseOptional
(HolderLookup.Provider p_330543_, CompoundTag p_330539_) static void
BlockItem.setBlockEntityData
(ItemStack p_186339_, BlockEntityType<?> p_186340_, CompoundTag p_186341_) -
Uses of CompoundTag in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as CompoundTagMethods in net.minecraft.world.item.component that return CompoundTagMethods in net.minecraft.world.item.component with parameters of type CompoundTagModifier and TypeMethodDescriptionCustomData.itemMatcher
(DataComponentType<CustomData> p_332149_, CompoundTag p_330658_) boolean
CustomData.matchedBy
(CompoundTag p_330550_) static CustomData
CustomData.of
(CompoundTag p_330724_) static void
CustomData.set
(DataComponentType<CustomData> p_330462_, ItemStack p_332015_, CompoundTag p_331019_) Method parameters in net.minecraft.world.item.component with type arguments of type CompoundTagModifier and TypeMethodDescriptionCustomData.update
(Consumer<CompoundTag> p_331451_) static void
CustomData.update
(DataComponentType<CustomData> p_331895_, ItemStack p_332185_, Consumer<CompoundTag> p_331274_) Constructors in net.minecraft.world.item.component with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level
Fields in net.minecraft.world.level declared as CompoundTagModifier and TypeFieldDescriptionprivate final CompoundTag
SpawnData.entityToSpawn
The field for theentityToSpawn
record component.Methods in net.minecraft.world.level that return CompoundTagModifier and TypeMethodDescriptionGameRules.createTag()
SpawnData.entityToSpawn()
Returns the value of theentityToSpawn
record component.SpawnData.getEntityToSpawn()
BaseCommandBlock.save
(CompoundTag p_45422_, HolderLookup.Provider p_330850_) BaseSpawner.save
(CompoundTag p_186382_) ForcedChunksSavedData.save
(CompoundTag p_46120_, HolderLookup.Provider p_324573_) Methods in net.minecraft.world.level with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate static ResourceLocation
Spawner.getEntityKey
(CompoundTag p_312232_, String p_312196_) void
BaseCommandBlock.load
(CompoundTag p_45432_, HolderLookup.Provider p_331513_) void
BaseSpawner.load
(Level p_151329_, BlockPos p_151330_, CompoundTag p_151331_) static ForcedChunksSavedData
ForcedChunksSavedData.load
(CompoundTag p_151484_, HolderLookup.Provider p_323940_) BaseCommandBlock.save
(CompoundTag p_45422_, HolderLookup.Provider p_330850_) BaseSpawner.save
(CompoundTag p_186382_) ForcedChunksSavedData.save
(CompoundTag p_46120_, HolderLookup.Provider p_324573_) Constructors in net.minecraft.world.level with parameters of type CompoundTagModifierConstructorDescriptionSpawnData
(CompoundTag entityToSpawn, Optional<SpawnData.CustomSpawnRules> customSpawnRules, Optional<EquipmentTable> equipment) Creates an instance of aSpawnData
record class. -
Uses of CompoundTag in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
SculkSpreader.load
(CompoundTag p_222270_) void
SculkSpreader.save
(CompoundTag p_222276_) -
Uses of CompoundTag in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as CompoundTagMethods in net.minecraft.world.level.block.entity that return CompoundTagModifier and TypeMethodDescriptionBlockEntity.getPersistentData()
BannerBlockEntity.getUpdateTag
(HolderLookup.Provider p_324478_) BeaconBlockEntity.getUpdateTag
(HolderLookup.Provider p_324570_) BlockEntity.getUpdateTag
(HolderLookup.Provider p_323910_) BrushableBlockEntity.getUpdateTag
(HolderLookup.Provider p_323531_) CampfireBlockEntity.getUpdateTag
(HolderLookup.Provider p_324612_) ConduitBlockEntity.getUpdateTag
(HolderLookup.Provider p_324390_) DecoratedPotBlockEntity.getUpdateTag
(HolderLookup.Provider p_324359_) JigsawBlockEntity.getUpdateTag
(HolderLookup.Provider p_323882_) SignBlockEntity.getUpdateTag
(HolderLookup.Provider p_324439_) SkullBlockEntity.getUpdateTag
(HolderLookup.Provider p_323711_) SpawnerBlockEntity.getUpdateTag
(HolderLookup.Provider p_324015_) StructureBlockEntity.getUpdateTag
(HolderLookup.Provider p_324257_) TheEndGatewayBlockEntity.getUpdateTag
(HolderLookup.Provider p_324313_) TrialSpawnerBlockEntity.getUpdateTag
(HolderLookup.Provider p_323524_) PotDecorations.save
(CompoundTag p_331751_) final CompoundTag
BlockEntity.saveCustomAndMetadata
(HolderLookup.Provider p_339688_) final CompoundTag
BlockEntity.saveCustomOnly
(HolderLookup.Provider p_338656_) final CompoundTag
BlockEntity.saveWithFullMetadata
(HolderLookup.Provider p_323767_) final CompoundTag
BlockEntity.saveWithId
(HolderLookup.Provider p_324357_) final CompoundTag
BlockEntity.saveWithoutMetadata
(HolderLookup.Provider p_324030_) Methods in net.minecraft.world.level.block.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate void
CrafterBlockEntity.addDisabledSlots
(CompoundTag p_307523_) static void
BlockEntity.addEntityType
(CompoundTag p_187469_, BlockEntityType<?> p_187470_) private void
CrafterBlockEntity.addTriggered
(CompoundTag p_307675_) static BlockPos
BlockEntity.getPosFromTag
(CompoundTag p_187473_) static PotDecorations
PotDecorations.load
(CompoundTag p_331530_) protected void
AbstractFurnaceBlockEntity.loadAdditional
(CompoundTag p_155025_, HolderLookup.Provider p_323468_) protected void
BannerBlockEntity.loadAdditional
(CompoundTag p_338645_, HolderLookup.Provider p_338247_) protected void
BarrelBlockEntity.loadAdditional
(CompoundTag p_155055_, HolderLookup.Provider p_324230_) protected void
BaseContainerBlockEntity.loadAdditional
(CompoundTag p_338606_, HolderLookup.Provider p_338309_) protected void
BeaconBlockEntity.loadAdditional
(CompoundTag p_338669_, HolderLookup.Provider p_338291_) protected void
BeehiveBlockEntity.loadAdditional
(CompoundTag p_338675_, HolderLookup.Provider p_338666_) protected void
BlockEntity.loadAdditional
(CompoundTag p_338466_, HolderLookup.Provider p_338445_) protected void
BrewingStandBlockEntity.loadAdditional
(CompoundTag p_338530_, HolderLookup.Provider p_338200_) protected void
BrushableBlockEntity.loadAdditional
(CompoundTag p_338786_, HolderLookup.Provider p_338480_) protected void
CampfireBlockEntity.loadAdditional
(CompoundTag p_155312_, HolderLookup.Provider p_323804_) protected void
ChestBlockEntity.loadAdditional
(CompoundTag p_155349_, HolderLookup.Provider p_324564_) protected void
ChiseledBookShelfBlockEntity.loadAdditional
(CompoundTag p_338883_, HolderLookup.Provider p_338454_) protected void
CommandBlockEntity.loadAdditional
(CompoundTag p_338502_, HolderLookup.Provider p_338638_) protected void
ComparatorBlockEntity.loadAdditional
(CompoundTag p_338778_, HolderLookup.Provider p_338355_) protected void
ConduitBlockEntity.loadAdditional
(CompoundTag p_338591_, HolderLookup.Provider p_338280_) protected void
CrafterBlockEntity.loadAdditional
(CompoundTag p_307457_, HolderLookup.Provider p_324538_) protected void
DecoratedPotBlockEntity.loadAdditional
(CompoundTag p_338486_, HolderLookup.Provider p_338310_) protected void
DispenserBlockEntity.loadAdditional
(CompoundTag p_155496_, HolderLookup.Provider p_323868_) protected void
EnchantingTableBlockEntity.loadAdditional
(CompoundTag p_341199_, HolderLookup.Provider p_341063_) protected void
HopperBlockEntity.loadAdditional
(CompoundTag p_155588_, HolderLookup.Provider p_324320_) protected void
JigsawBlockEntity.loadAdditional
(CompoundTag p_155608_, HolderLookup.Provider p_324139_) protected void
JukeboxBlockEntity.loadAdditional
(CompoundTag p_155616_, HolderLookup.Provider p_324026_) protected void
LecternBlockEntity.loadAdditional
(CompoundTag p_155625_, HolderLookup.Provider p_324025_) protected void
SculkCatalystBlockEntity.loadAdditional
(CompoundTag p_338264_, HolderLookup.Provider p_338447_) protected void
SculkSensorBlockEntity.loadAdditional
(CompoundTag p_338719_, HolderLookup.Provider p_338792_) protected void
SculkShriekerBlockEntity.loadAdditional
(CompoundTag p_222868_, HolderLookup.Provider p_324354_) protected void
ShulkerBoxBlockEntity.loadAdditional
(CompoundTag p_155678_, HolderLookup.Provider p_324114_) protected void
SignBlockEntity.loadAdditional
(CompoundTag p_155716_, HolderLookup.Provider p_324351_) protected void
SkullBlockEntity.loadAdditional
(CompoundTag p_155745_, HolderLookup.Provider p_323876_) protected void
SpawnerBlockEntity.loadAdditional
(CompoundTag p_338334_, HolderLookup.Provider p_338853_) protected void
StructureBlockEntity.loadAdditional
(CompoundTag p_155800_, HolderLookup.Provider p_324076_) protected void
TheEndGatewayBlockEntity.loadAdditional
(CompoundTag p_155840_, HolderLookup.Provider p_323480_) protected void
TrialSpawnerBlockEntity.loadAdditional
(CompoundTag p_338752_, HolderLookup.Provider p_338872_) final void
BlockEntity.loadCustomOnly
(CompoundTag p_338387_, HolderLookup.Provider p_338713_) BeaconBlockEntity.loadEffect
(CompoundTag p_298570_, String p_299310_) void
ShulkerBoxBlockEntity.loadFromTag
(CompoundTag p_59694_, HolderLookup.Provider p_331802_) static BlockEntity
BlockEntity.loadStatic
(BlockPos p_155242_, BlockState p_155243_, CompoundTag p_155244_, HolderLookup.Provider p_323542_) final void
BlockEntity.loadWithComponents
(CompoundTag p_338356_, HolderLookup.Provider p_338558_) void
BannerBlockEntity.removeComponentsFromTag
(CompoundTag p_331690_) void
BaseContainerBlockEntity.removeComponentsFromTag
(CompoundTag p_330762_) void
BeaconBlockEntity.removeComponentsFromTag
(CompoundTag p_331401_) void
BeehiveBlockEntity.removeComponentsFromTag
(CompoundTag p_331127_) void
BlockEntity.removeComponentsFromTag
(CompoundTag p_332032_) Deprecated.void
CampfireBlockEntity.removeComponentsFromTag
(CompoundTag p_332690_) void
ChiseledBookShelfBlockEntity.removeComponentsFromTag
(CompoundTag p_332725_) void
CommandBlockEntity.removeComponentsFromTag
(CompoundTag p_331967_) void
DecoratedPotBlockEntity.removeComponentsFromTag
(CompoundTag p_330569_) void
EnchantingTableBlockEntity.removeComponentsFromTag
(CompoundTag p_341218_) void
RandomizableContainerBlockEntity.removeComponentsFromTag
(CompoundTag p_331200_) void
SkullBlockEntity.removeComponentsFromTag
(CompoundTag p_331773_) PotDecorations.save
(CompoundTag p_331751_) protected void
AbstractFurnaceBlockEntity.saveAdditional
(CompoundTag p_187452_, HolderLookup.Provider p_323656_) protected void
BannerBlockEntity.saveAdditional
(CompoundTag p_187456_, HolderLookup.Provider p_324143_) protected void
BarrelBlockEntity.saveAdditional
(CompoundTag p_187459_, HolderLookup.Provider p_323686_) protected void
BaseContainerBlockEntity.saveAdditional
(CompoundTag p_187461_, HolderLookup.Provider p_324280_) protected void
BeaconBlockEntity.saveAdditional
(CompoundTag p_187463_, HolderLookup.Provider p_324268_) protected void
BeehiveBlockEntity.saveAdditional
(CompoundTag p_187467_, HolderLookup.Provider p_324426_) protected void
BlockEntity.saveAdditional
(CompoundTag p_187471_, HolderLookup.Provider p_323635_) protected void
BrewingStandBlockEntity.saveAdditional
(CompoundTag p_187484_, HolderLookup.Provider p_324461_) protected void
BrushableBlockEntity.saveAdditional
(CompoundTag p_277339_, HolderLookup.Provider p_323885_) protected void
CampfireBlockEntity.saveAdditional
(CompoundTag p_187486_, HolderLookup.Provider p_324005_) protected void
ChestBlockEntity.saveAdditional
(CompoundTag p_187489_, HolderLookup.Provider p_324448_) protected void
ChiseledBookShelfBlockEntity.saveAdditional
(CompoundTag p_251872_, HolderLookup.Provider p_323649_) protected void
CommandBlockEntity.saveAdditional
(CompoundTag p_187491_, HolderLookup.Provider p_324575_) protected void
ComparatorBlockEntity.saveAdditional
(CompoundTag p_187493_, HolderLookup.Provider p_323979_) protected void
ConduitBlockEntity.saveAdditional
(CompoundTag p_187495_, HolderLookup.Provider p_323702_) protected void
CrafterBlockEntity.saveAdditional
(CompoundTag p_307531_, HolderLookup.Provider p_324381_) protected void
DecoratedPotBlockEntity.saveAdditional
(CompoundTag p_272957_, HolderLookup.Provider p_323719_) protected void
DispenserBlockEntity.saveAdditional
(CompoundTag p_187498_, HolderLookup.Provider p_323791_) protected void
EnchantingTableBlockEntity.saveAdditional
(CompoundTag p_341088_, HolderLookup.Provider p_341376_) protected void
HopperBlockEntity.saveAdditional
(CompoundTag p_187502_, HolderLookup.Provider p_324174_) protected void
JigsawBlockEntity.saveAdditional
(CompoundTag p_187504_, HolderLookup.Provider p_323960_) protected void
JukeboxBlockEntity.saveAdditional
(CompoundTag p_187507_, HolderLookup.Provider p_323723_) protected void
LecternBlockEntity.saveAdditional
(CompoundTag p_187509_, HolderLookup.Provider p_323474_) protected void
SculkCatalystBlockEntity.saveAdditional
(CompoundTag p_222789_, HolderLookup.Provider p_324018_) protected void
SculkSensorBlockEntity.saveAdditional
(CompoundTag p_187511_, HolderLookup.Provider p_323787_) protected void
SculkShriekerBlockEntity.saveAdditional
(CompoundTag p_222878_, HolderLookup.Provider p_324505_) protected void
ShulkerBoxBlockEntity.saveAdditional
(CompoundTag p_187513_, HolderLookup.Provider p_324152_) protected void
SignBlockEntity.saveAdditional
(CompoundTag p_187515_, HolderLookup.Provider p_324471_) protected void
SkullBlockEntity.saveAdditional
(CompoundTag p_187518_, HolderLookup.Provider p_324418_) protected void
SpawnerBlockEntity.saveAdditional
(CompoundTag p_187521_, HolderLookup.Provider p_324509_) protected void
StructureBlockEntity.saveAdditional
(CompoundTag p_187524_, HolderLookup.Provider p_323617_) protected void
TheEndGatewayBlockEntity.saveAdditional
(CompoundTag p_187527_, HolderLookup.Provider p_324553_) protected void
TrialSpawnerBlockEntity.saveAdditional
(CompoundTag p_311806_, HolderLookup.Provider p_324342_) private void
BlockEntity.saveId
(CompoundTag p_187475_) private void
BlockEntity.saveMetadata
(CompoundTag p_187479_) private static void
BeaconBlockEntity.storeEffect
(CompoundTag p_298214_, String p_298983_, Holder<MobEffect> p_316689_) private boolean
BrushableBlockEntity.tryLoadLootTable
(CompoundTag p_277740_) private boolean
BrushableBlockEntity.trySaveLootTable
(CompoundTag p_277591_) -
Uses of CompoundTag in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner that return CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.block.entity.vault
Methods in net.minecraft.world.level.block.entity.vault that return CompoundTagMethods in net.minecraft.world.level.block.entity.vault with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
VaultBlockEntity.loadAdditional
(CompoundTag p_324011_, HolderLookup.Provider p_324430_) protected void
VaultBlockEntity.saveAdditional
(CompoundTag p_323998_, HolderLookup.Provider p_324356_) -
Uses of CompoundTag in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston that return CompoundTagModifier and TypeMethodDescriptionPistonMovingBlockEntity.getUpdateTag
(HolderLookup.Provider p_324521_) Methods in net.minecraft.world.level.block.piston with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
PistonMovingBlockEntity.loadAdditional
(CompoundTag p_155930_, HolderLookup.Provider p_324214_) protected void
PistonMovingBlockEntity.saveAdditional
(CompoundTag p_187530_, HolderLookup.Provider p_323923_) -
Uses of CompoundTag in net.minecraft.world.level.border
Methods in net.minecraft.world.level.border with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final List
<CompoundTag> ProtoChunk.entities
protected final Map
<BlockPos, CompoundTag> ChunkAccess.pendingBlockEntities
Methods in net.minecraft.world.level.chunk that return CompoundTagModifier and TypeMethodDescriptionChunkAccess.getBlockEntityNbt
(BlockPos p_62103_) ImposterProtoChunk.getBlockEntityNbt
(BlockPos p_62757_) abstract CompoundTag
ChunkAccess.getBlockEntityNbtForSaving
(BlockPos p_62104_, HolderLookup.Provider p_324415_) ImposterProtoChunk.getBlockEntityNbtForSaving
(BlockPos p_62760_, HolderLookup.Provider p_323691_) LevelChunk.getBlockEntityNbtForSaving
(BlockPos p_62932_, HolderLookup.Provider p_323699_) ProtoChunk.getBlockEntityNbtForSaving
(BlockPos p_63275_, HolderLookup.Provider p_324473_) UpgradeData.write()
final CompoundTag
ChunkAccess.writeAttachmentsToNBT
(HolderLookup.Provider provider) FOR INTERNAL USE ONLYMethods in net.minecraft.world.level.chunk that return types with arguments of type CompoundTagMethods in net.minecraft.world.level.chunk with parameters of type CompoundTagModifier 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
ChunkAccess.readAttachmentsFromNBT
(HolderLookup.Provider provider, CompoundTag tag) FOR INTERNAL USE ONLYvoid
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_) Constructors in net.minecraft.world.level.chunk with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.chunk.status
Method parameters in net.minecraft.world.level.chunk.status with type arguments of type CompoundTagModifier and TypeMethodDescriptionprivate static void
ChunkStatusTasks.postLoadProtoChunk
(ServerLevel p_347492_, List<CompoundTag> p_347609_) -
Uses of CompoundTag in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as CompoundTagMethods in net.minecraft.world.level.chunk.storage that return CompoundTagModifier and TypeMethodDescription(package private) CompoundTag
IOWorker.PendingStore.copyData()
private static CompoundTag
ChunkSerializer.packStructureData
(StructurePieceSerializationContext p_188250_, ChunkPos p_188251_, Map<Structure, StructureStart> p_188252_, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> p_188253_) ChunkStorage.upgradeChunkTag
(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_188292_) SimpleRegionStorage.upgradeChunkTag
(CompoundTag p_321601_, int p_321496_) static CompoundTag
ChunkSerializer.write
(ServerLevel p_63455_, ChunkAccess p_63456_) Methods in net.minecraft.world.level.chunk.storage that return types with arguments of type CompoundTagMethods in net.minecraft.world.level.chunk.storage with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic 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 void
ChunkStorage.injectDatafixingContext
(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_196921_) private boolean
IOWorker.isOldChunk
(CompoundTag p_223485_) private static LevelChunk.PostLoadProcessor
ChunkSerializer.postLoadChunk
(ServerLevel p_196891_, CompoundTag p_196892_) static ProtoChunk
ChunkSerializer.read
(ServerLevel p_188231_, PoiManager p_188232_, RegionStorageInfo p_352213_, ChunkPos p_188233_, CompoundTag p_188234_) private static ChunkPos
EntityStorage.readChunkPos
(CompoundTag p_156571_) private void
SectionStorage.readColumn
(ChunkPos p_63802_, RegistryOps<Tag> p_321830_, CompoundTag p_321530_) private static void
ChunkStorage.removeDatafixingContext
(CompoundTag p_348632_) private static void
ChunkSerializer.saveTicks
(ServerLevel p_188236_, CompoundTag p_188237_, ChunkAccess.TicksToSave p_188238_) IOWorker.store
(ChunkPos p_63539_, CompoundTag p_63540_) ChunkSerializer.unpackStructureReferences
(RegistryAccess p_208155_, ChunkPos p_208156_, CompoundTag p_208157_) private static Map
<Structure, 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.MapCodec<? extends ChunkGenerator>>> p_188292_) SimpleRegionStorage.upgradeChunkTag
(CompoundTag p_321601_, int p_321496_) ChunkStorage.write
(ChunkPos p_63503_, CompoundTag p_63504_) RecreatingChunkStorage.write
(ChunkPos p_321778_, CompoundTag p_321767_) RecreatingSimpleRegionStorage.write
(ChunkPos p_321592_, CompoundTag p_321676_) protected void
RegionFileStorage.write
(ChunkPos p_63709_, CompoundTag p_63710_) SimpleRegionStorage.write
(ChunkPos p_321715_, CompoundTag p_321816_) private static void
EntityStorage.writeChunkPos
(CompoundTag p_156563_, ChunkPos p_156564_) Constructors in net.minecraft.world.level.chunk.storage with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.levelgen
Methods in net.minecraft.world.level.levelgen with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic BelowZeroRetrogen
BelowZeroRetrogen.read
(CompoundTag p_188486_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final Map
<String, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> LegacyStructureDataHandler.dataMap
Methods in net.minecraft.world.level.levelgen.structure that return CompoundTagModifier and TypeMethodDescriptionfinal CompoundTag
StructurePiece.createTag
(StructurePieceSerializationContext p_192645_) StructureStart.createTag
(StructurePieceSerializationContext p_192661_, ChunkPos p_192662_) StructureFeatureIndexSavedData.save
(CompoundTag p_73372_, HolderLookup.Provider p_323794_) LegacyStructureDataHandler.updateFromLegacy
(CompoundTag p_71327_) private CompoundTag
LegacyStructureDataHandler.updateStructureStart
(CompoundTag p_71329_, ChunkPos p_71330_) Methods in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
PoolElementStructurePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192425_, CompoundTag p_192426_) protected void
ScatteredFeaturePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192471_, CompoundTag p_192472_) protected abstract void
StructurePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192646_, CompoundTag p_192647_) protected void
TemplateStructurePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_192690_, CompoundTag p_192691_) StructureFeatureIndexSavedData.load
(CompoundTag p_163535_, HolderLookup.Provider p_323754_) static StructureStart
StructureStart.loadStaticStart
(StructurePieceSerializationContext p_226858_, CompoundTag p_226859_, long p_226860_) private it.unimi.dsi.fastutil.objects.Object2IntMap
<Structure> StructureCheck.loadStructures
(CompoundTag p_197312_) StructureFeatureIndexSavedData.save
(CompoundTag p_73372_, HolderLookup.Provider p_323794_) LegacyStructureDataHandler.updateFromLegacy
(CompoundTag p_71327_) private CompoundTag
LegacyStructureDataHandler.updateStructureStart
(CompoundTag p_71329_, ChunkPos p_71330_) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifierConstructorDescriptionPoolElementStructurePiece
(StructurePieceSerializationContext p_192406_, CompoundTag p_192407_) protected
ScatteredFeaturePiece
(StructurePieceType p_209929_, CompoundTag p_209930_) StructurePiece
(StructurePieceType p_209998_, CompoundTag p_209999_) TemplateStructurePiece
(StructurePieceType p_226894_, CompoundTag p_226895_, StructureTemplateManager p_226896_, Function<ResourceLocation, StructurePlaceSettings> p_226897_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.pieces
Methods in net.minecraft.world.level.levelgen.structure.pieces with parameters of type CompoundTagModifier 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
(StructureTemplateManager p_226963_, CompoundTag p_226964_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as CompoundTagMethods in net.minecraft.world.level.levelgen.structure.pools that return CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.structures
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
BuriedTreasurePieces.BuriedTreasurePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_227378_, CompoundTag p_227379_) protected void
DesertPyramidPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_227413_, CompoundTag p_227414_) protected void
EndCityPieces.EndCityPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_227500_, CompoundTag p_227501_) protected void
IglooPieces.IglooPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_227579_, CompoundTag p_227580_) protected void
JungleTemplePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_227682_, CompoundTag p_227683_) protected void
MineshaftPieces.MineShaftCorridor.addAdditionalSaveData
(StructurePieceSerializationContext p_227806_, CompoundTag p_227807_) protected void
MineshaftPieces.MineShaftCrossing.addAdditionalSaveData
(StructurePieceSerializationContext p_227862_, CompoundTag p_227863_) protected void
MineshaftPieces.MineShaftPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_227898_, CompoundTag p_227899_) protected void
MineshaftPieces.MineShaftRoom.addAdditionalSaveData
(StructurePieceSerializationContext p_227926_, CompoundTag p_227927_) protected void
NetherFortressPieces.BridgeEndFiller.addAdditionalSaveData
(StructurePieceSerializationContext p_228081_, CompoundTag p_228082_) protected void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_228259_, CompoundTag p_228260_) protected void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_228321_, CompoundTag p_228322_) protected void
NetherFortressPieces.MonsterThrone.addAdditionalSaveData
(StructurePieceSerializationContext p_228377_, CompoundTag p_228378_) protected void
NetherFortressPieces.NetherBridgePiece.addAdditionalSaveData
(StructurePieceSerializationContext p_228389_, CompoundTag p_228390_) protected void
NetherFossilPieces.NetherFossilPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_228558_, CompoundTag p_228559_) protected void
OceanMonumentPieces.OceanMonumentPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_228872_, CompoundTag p_228873_) protected void
OceanRuinPieces.OceanRuinPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_229039_, CompoundTag p_229040_) protected void
RuinedPortalPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_229158_, CompoundTag p_229159_) protected void
ShipwreckPieces.ShipwreckPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_229373_, CompoundTag p_229374_) protected void
StrongholdPieces.ChestCorridor.addAdditionalSaveData
(StructurePieceSerializationContext p_229492_, CompoundTag p_229493_) protected void
StrongholdPieces.FillerCorridor.addAdditionalSaveData
(StructurePieceSerializationContext p_229517_, CompoundTag p_229518_) protected void
StrongholdPieces.FiveCrossing.addAdditionalSaveData
(StructurePieceSerializationContext p_229554_, CompoundTag p_229555_) protected void
StrongholdPieces.Library.addAdditionalSaveData
(StructurePieceSerializationContext p_229612_, CompoundTag p_229613_) protected void
StrongholdPieces.PortalRoom.addAdditionalSaveData
(StructurePieceSerializationContext p_229654_, CompoundTag p_229655_) protected void
StrongholdPieces.RoomCrossing.addAdditionalSaveData
(StructurePieceSerializationContext p_229745_, CompoundTag p_229746_) protected void
StrongholdPieces.StairsDown.addAdditionalSaveData
(StructurePieceSerializationContext p_229795_, CompoundTag p_229796_) protected void
StrongholdPieces.Straight.addAdditionalSaveData
(StructurePieceSerializationContext p_229840_, CompoundTag p_229841_) protected void
StrongholdPieces.StrongholdPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_229891_, CompoundTag p_229892_) protected void
SwampHutPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_229969_, CompoundTag p_229970_) protected void
WoodlandMansionPieces.WoodlandMansionPiece.addAdditionalSaveData
(StructurePieceSerializationContext p_230208_, CompoundTag p_230209_) OceanRuinPieces.OceanRuinPiece.create
(StructureTemplateManager p_277874_, CompoundTag p_277773_) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(StructureTemplateManager p_229166_, CompoundTag p_229167_, ResourceLocation p_229168_) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type CompoundTagModifierConstructorDescriptionBridgeCrossing
(CompoundTag p_228033_) protected
BridgeCrossing
(StructurePieceType p_228030_, CompoundTag p_228031_) BridgeEndFiller
(CompoundTag p_228063_) BridgeStraight
(CompoundTag p_228092_) BuriedTreasurePiece
(CompoundTag p_227368_) CastleCorridorStairsPiece
(CompoundTag p_228121_) CastleCorridorTBalconyPiece
(CompoundTag p_228149_) CastleEntrance
(CompoundTag p_228178_) CastleSmallCorridorCrossingPiece
(CompoundTag p_228207_) CastleSmallCorridorLeftTurnPiece
(CompoundTag p_228237_) CastleSmallCorridorPiece
(CompoundTag p_228269_) CastleSmallCorridorRightTurnPiece
(CompoundTag p_228299_) CastleStalkRoom
(CompoundTag p_228331_) ChestCorridor
(CompoundTag p_229470_) DesertPyramidPiece
(CompoundTag p_227403_) EndCityPiece
(StructureTemplateManager p_227497_, CompoundTag p_227498_) FillerCorridor
(CompoundTag p_229500_) FiveCrossing
(CompoundTag p_229532_) IglooPiece
(StructureTemplateManager p_227561_, CompoundTag p_227562_) JungleTemplePiece
(CompoundTag p_227672_) LeftTurn
(CompoundTag p_229562_) Library
(CompoundTag p_229594_) MineShaftCorridor
(CompoundTag p_227737_) MineShaftCrossing
(CompoundTag p_227834_) MineShaftPiece
(StructurePieceType p_227872_, CompoundTag p_227873_) MineShaftRoom
(CompoundTag p_227908_) MineShaftStairs
(CompoundTag p_227937_) MonsterThrone
(CompoundTag p_228360_) MonumentBuilding
(CompoundTag p_228653_) NetherBridgePiece
(StructurePieceType p_228384_, CompoundTag p_228385_) NetherFossilPiece
(StructureTemplateManager p_228545_, CompoundTag p_228546_) OceanMonumentCoreRoom
(CompoundTag p_228702_) OceanMonumentDoubleXRoom
(CompoundTag p_228715_) OceanMonumentDoubleXYRoom
(CompoundTag p_228728_) OceanMonumentDoubleYRoom
(CompoundTag p_228741_) OceanMonumentDoubleYZRoom
(CompoundTag p_228754_) OceanMonumentDoubleZRoom
(CompoundTag p_228767_) OceanMonumentEntryRoom
(CompoundTag p_228780_) OceanMonumentPenthouse
(CompoundTag p_228793_) OceanMonumentPiece
(StructurePieceType p_228841_, CompoundTag p_228842_) OceanMonumentSimpleRoom
(CompoundTag p_228899_) OceanMonumentSimpleTopRoom
(CompoundTag p_228912_) OceanMonumentWingRoom
(CompoundTag p_228927_) private
OceanRuinPiece
(StructureTemplateManager p_277563_, CompoundTag p_277610_, Rotation p_277637_, float p_277437_, OceanRuinStructure.Type p_277873_, boolean p_277924_) PortalRoom
(CompoundTag p_229633_) PrisonHall
(CompoundTag p_229665_) RightTurn
(CompoundTag p_229692_) RoomCrossing
(CompoundTag p_228459_) RoomCrossing
(CompoundTag p_229723_) RuinedPortalPiece
(StructureTemplateManager p_229115_, CompoundTag p_229116_) ShipwreckPiece
(StructureTemplateManager p_229360_, CompoundTag p_229361_) StairsDown
(CompoundTag p_229773_) StairsDown
(StructurePieceType p_229770_, CompoundTag p_229771_) StairsRoom
(CompoundTag p_228487_) StartPiece
(CompoundTag p_228516_) StartPiece
(CompoundTag p_229805_) Straight
(CompoundTag p_229818_) StraightStairsDown
(CompoundTag p_229851_) StrongholdPiece
(StructurePieceType p_229878_, CompoundTag p_229879_) SwampHutPiece
(CompoundTag p_229956_) Turn
(StructurePieceType p_229934_, CompoundTag p_229935_) WoodlandMansionPiece
(StructureTemplateManager p_230202_, CompoundTag p_230203_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as CompoundTagModifier and TypeFieldDescriptionprivate final CompoundTag
StructureTemplate.StructureBlockInfo.nbt
The field for thenbt
record component.final CompoundTag
StructureTemplate.StructureEntityInfo.nbt
Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return CompoundTagModifier and TypeMethodDescriptionProcessorRule.getOutputTag
(RandomSource p_277551_, CompoundTag p_277867_) StructureTemplate.StructureBlockInfo.nbt()
Returns the value of thenbt
record component.StructureTemplate.save
(CompoundTag p_74619_) Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type CompoundTagModifier and TypeMethodDescriptionStructureTemplate.createEntityIgnoreException
(ServerLevelAccessor p_74544_, CompoundTag p_74545_) ProcessorRule.getOutputTag
(RandomSource p_277551_, CompoundTag p_277867_) void
StructureTemplate.load
(HolderGetter<Block> p_255773_, CompoundTag p_248574_) StructureTemplateManager.readStructure
(CompoundTag p_230405_) StructureTemplate.save
(CompoundTag p_74619_) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type CompoundTagModifierConstructorDescriptionStructureBlockInfo
(BlockPos pos, BlockState state, CompoundTag nbt) Creates an instance of aStructureBlockInfo
record class.StructureEntityInfo
(Vec3 p_74687_, BlockPos p_74688_, CompoundTag p_74689_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
Fields in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity declared as CompoundTagMethods in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity that return CompoundTagModifier and TypeMethodDescriptionAppendLoot.apply
(RandomSource p_277994_, CompoundTag p_277854_) AppendStatic.apply
(RandomSource p_277835_, CompoundTag p_277892_) Clear.apply
(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply
(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply
(RandomSource p_277745_, CompoundTag p_277965_) Methods in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type CompoundTagModifier and TypeMethodDescriptionAppendLoot.apply
(RandomSource p_277994_, CompoundTag p_277854_) AppendStatic.apply
(RandomSource p_277835_, CompoundTag p_277892_) Clear.apply
(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply
(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply
(RandomSource p_277745_, CompoundTag p_277965_) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.saveddata
Fields in net.minecraft.world.level.saveddata with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final BiFunction
<CompoundTag, HolderLookup.Provider, T> SavedData.Factory.deserializer
The field for thedeserializer
record component.Methods in net.minecraft.world.level.saveddata that return CompoundTagModifier and TypeMethodDescriptionabstract CompoundTag
SavedData.save
(CompoundTag p_77763_, HolderLookup.Provider p_323640_) Methods in net.minecraft.world.level.saveddata that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionSavedData.Factory.deserializer()
Returns the value of thedeserializer
record component.Methods in net.minecraft.world.level.saveddata with parameters of type CompoundTagModifier and TypeMethodDescriptionabstract CompoundTag
SavedData.save
(CompoundTag p_77763_, HolderLookup.Provider p_323640_) Constructor parameters in net.minecraft.world.level.saveddata with type arguments of type CompoundTagModifierConstructorDescriptionFactory
(Supplier<T> constructor, BiFunction<CompoundTag, HolderLookup.Provider, T> deserializer) Factory
(Supplier<T> constructor, BiFunction<CompoundTag, HolderLookup.Provider, T> deserializer, @Nullable DataFixTypes type) Creates an instance of aFactory
record class. -
Uses of CompoundTag in net.minecraft.world.level.saveddata.maps
Methods in net.minecraft.world.level.saveddata.maps that return CompoundTagModifier and TypeMethodDescriptionMapFrame.save()
MapIndex.save
(CompoundTag p_77884_, HolderLookup.Provider p_324049_) MapItemSavedData.save
(CompoundTag p_77956_, HolderLookup.Provider p_323858_) Methods in net.minecraft.world.level.saveddata.maps with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic MapFrame
MapFrame.load
(CompoundTag p_77873_) static MapIndex
MapIndex.load
(CompoundTag p_164763_, HolderLookup.Provider p_323806_) static MapItemSavedData
MapItemSavedData.load
(CompoundTag p_164808_, HolderLookup.Provider p_324560_) MapIndex.save
(CompoundTag p_77884_, HolderLookup.Provider p_324049_) MapItemSavedData.save
(CompoundTag p_77956_, HolderLookup.Provider p_323858_) -
Uses of CompoundTag in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as CompoundTagModifier and TypeFieldDescriptionprivate CompoundTag
PrimaryLevelData.customBossEvents
private final CompoundTag
PrimaryLevelData.loadedPlayerTag
Fields in net.minecraft.world.level.storage with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final Map
<String, CompoundTag> CommandStorage.Container.storage
Methods in net.minecraft.world.level.storage that return CompoundTagModifier and TypeMethodDescriptionPrimaryLevelData.createTag
(RegistryAccess p_78543_, CompoundTag p_78544_) WorldData.createTag
(RegistryAccess p_78636_, CompoundTag p_78637_) CommandStorage.get
(ResourceLocation p_78045_) PrimaryLevelData.getCustomBossEvents()
WorldData.getCustomBossEvents()
PrimaryLevelData.getLoadedPlayerTag()
WorldData.getLoadedPlayerTag()
(package private) static CompoundTag
LevelStorageSource.readLevelDataTagRaw
(Path p_307408_) DimensionDataStorage.readTagFromDisk
(String p_78159_, DataFixTypes p_295038_, int p_78160_) CommandStorage.Container.save
(CompoundTag p_78075_, HolderLookup.Provider p_323504_) Methods in net.minecraft.world.level.storage that return types with arguments of type CompoundTagMethods in net.minecraft.world.level.storage with parameters of type CompoundTagModifier 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_) void
CommandStorage.Container.put
(String p_78064_, CompoundTag p_78065_) CommandStorage.Container.save
(CompoundTag p_78075_, HolderLookup.Provider p_323504_) void
LevelStorageSource.LevelStorageAccess.saveDataTag
(RegistryAccess p_78291_, WorldData p_78292_, CompoundTag p_78293_) private void
LevelStorageSource.LevelStorageAccess.saveLevelData
(CompoundTag p_307262_) void
CommandStorage.set
(ResourceLocation p_78047_, CompoundTag p_78048_) void
PrimaryLevelData.setCustomBossEvents
(CompoundTag p_78571_) void
WorldData.setCustomBossEvents
(CompoundTag p_78643_) private void
PrimaryLevelData.setTagData
(RegistryAccess p_78546_, CompoundTag p_78547_, CompoundTag p_78548_) Method parameters in net.minecraft.world.level.storage with type arguments of type CompoundTagModifier and TypeMethodDescriptionprivate void
LevelStorageSource.LevelStorageAccess.modifyLevelDataWithoutDatafix
(Consumer<CompoundTag> p_307346_) private <T extends SavedData>
TDimensionDataStorage.readSavedData
(BiFunction<CompoundTag, HolderLookup.Provider, T> p_324609_, DataFixTypes p_295832_, String p_164870_) Constructors in net.minecraft.world.level.storage with parameters of type CompoundTagModifierConstructorDescriptionprivate
PrimaryLevelData
(CompoundTag p_277888_, boolean p_278109_, BlockPos p_320000_, float p_277542_, long p_277414_, long p_277635_, int p_277672_, int p_277714_, int p_278088_, boolean p_277943_, int p_278037_, boolean p_277644_, boolean p_277749_, boolean p_278004_, WorldBorder.Settings p_277729_, int p_277595_, int p_277794_, UUID p_277341_, Set<String> p_277989_, Set<String> p_277399_, TimerQueue<MinecraftServer> p_277860_, CompoundTag p_277936_, EndDragonFight.Data p_289764_, LevelSettings p_278064_, WorldOptions p_278072_, PrimaryLevelData.SpecialWorldProperty p_277548_, com.mojang.serialization.Lifecycle p_277915_) -
Uses of CompoundTag in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as CompoundTagMethods in net.minecraft.world.level.storage.loot.functions with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder
<?> SetCustomDataFunction.setCustomData
(CompoundTag p_330248_) Deprecated.Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type CompoundTagModifierConstructorDescriptionprivate
SetCustomDataFunction
(List<LootItemCondition> p_330259_, CompoundTag p_330792_) -
Uses of CompoundTag in net.minecraft.world.level.timers
Methods in net.minecraft.world.level.timers that return CompoundTagModifier and TypeMethodDescription<T extends TimerCallback<C>>
CompoundTagTimerCallbacks.serialize
(T p_82235_) private CompoundTag
TimerQueue.storeEvent
(TimerQueue.Event<T> p_82255_) Methods in net.minecraft.world.level.timers with parameters of type CompoundTagModifier 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
Methods in net.minecraft.world.scores that return CompoundTagModifier and TypeMethodDescriptionScoreboardSaveData.save
(CompoundTag p_83527_, HolderLookup.Provider p_324474_) Score.write
(HolderLookup.Provider p_330377_) Methods in net.minecraft.world.scores with parameters of type CompoundTagModifier and TypeMethodDescriptionScoreboardSaveData.load
(CompoundTag p_166103_, HolderLookup.Provider p_332093_) private void
ScoreboardSaveData.loadDisplaySlots
(CompoundTag p_83531_) static Score
Score.read
(CompoundTag p_313855_, HolderLookup.Provider p_331997_) ScoreboardSaveData.save
(CompoundTag p_83527_, HolderLookup.Provider p_324474_) private void
ScoreboardSaveData.saveDisplaySlots
(CompoundTag p_83533_) -
Uses of CompoundTag in net.minecraft.world.ticks
Methods in net.minecraft.world.ticks that return CompoundTagModifier 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_) Methods in net.minecraft.world.ticks with parameters of type CompoundTag -
Uses of CompoundTag in net.neoforged.neoforge.attachment
Methods in net.neoforged.neoforge.attachment that return CompoundTagModifier and TypeMethodDescriptionLevelAttachmentsSavedData.save
(CompoundTag tag, HolderLookup.Provider provider) final @Nullable CompoundTag
AttachmentHolder.serializeAttachments
(HolderLookup.Provider provider) Writes the serializable attachments to a tag.Methods in net.neoforged.neoforge.attachment with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected final void
AttachmentHolder.deserializeAttachments
(HolderLookup.Provider provider, CompoundTag tag) Reads serializable attachments from a tag previously created viaAttachmentHolder.serializeAttachments(HolderLookup.Provider)
.void
AttachmentHolder.AsField.deserializeInternal
(HolderLookup.Provider provider, CompoundTag tag) LevelAttachmentsSavedData.save
(CompoundTag tag, HolderLookup.Provider provider) Constructors in net.neoforged.neoforge.attachment with parameters of type CompoundTag -
Uses of CompoundTag in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic @Nullable MobEffect
CommonHooks.loadMobEffect
(CompoundTag nbt, String key, @Nullable MobEffect fallback) static void
CommonHooks.readAdditionalLevelSaveData
(CompoundTag rootTag, LevelStorageSource.LevelDirectory levelDirectory) static void
CommonHooks.saveMobEffect
(CompoundTag nbt, String key, MobEffect effect) static void
CommonHooks.writeAdditionalLevelSaveData
(WorldData worldData, CompoundTag levelTag) static void
IOUtilities.writeNbt
(CompoundTag tag, Path path) Behaves much the same asNbtIo.write(CompoundTag, Path)
, but usesIOUtilities.atomicWrite(Path, WriteCallback)
behind the scenes to ensure the data is stored resiliently.static void
IOUtilities.writeNbtCompressed
(CompoundTag tag, Path path) Behaves much the same asNbtIo.writeCompressed(CompoundTag, Path)
, but usesIOUtilities.atomicWrite(Path, WriteCallback)
behind the scenes to ensure the data is stored resiliently. -
Uses of CompoundTag in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return CompoundTagModifier and TypeMethodDescriptionIBlockEntityExtension.getPersistentData()
Gets aCompoundTag
that can be used to store custom data for this block entity.IEntityExtension.getPersistentData()
Returns a NBTTagCompound that can be used to store custom data for this entity.default CompoundTag
IEntityExtension.serializeNBT
(HolderLookup.Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.Use a data component/attachment to store info.Methods in net.neoforged.neoforge.common.extensions with parameters of type CompoundTagModifier and TypeMethodDescriptiondefault void
IEntityExtension.deserializeNBT
(HolderLookup.Provider provider, CompoundTag nbt) Deprecated, for removal: This API element is subject to removal in a future version.Use a data component/attachment to store info, orEntity.load(CompoundTag)
as a replacement.default void
IBlockEntityExtension.handleUpdateTag
(CompoundTag tag, HolderLookup.Provider lookupProvider) Called when the chunk's TE update tag, gotten fromBlockEntity.getUpdateTag(HolderLookup.Provider)
, is received on the client. -
Uses of CompoundTag in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as CompoundTagMethods in net.neoforged.neoforge.common.util that return CompoundTagModifier and TypeMethodDescriptionprivate static @Nullable CompoundTag
BlockSnapshot.getBlockEntityTag
(LevelAccessor level, BlockPos pos) Checks for a block entity at a given position, and saves it to NBT with full metadata if it exists.@Nullable CompoundTag
BlockSnapshot.getTag()
Returns the recorded block entity NBT data, if one was present.static @Nullable CompoundTag
DummySavedData.save
(CompoundTag compound, HolderLookup.Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.Methods in net.neoforged.neoforge.common.util with parameters of type CompoundTagModifier and TypeMethodDescriptionDummySavedData.save
(CompoundTag compound, HolderLookup.Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in net.neoforged.neoforge.common.util with parameters of type CompoundTagModifierConstructorDescriptionprivate
BlockSnapshot
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of CompoundTag in net.neoforged.neoforge.common.world.chunk
Methods in net.neoforged.neoforge.common.world.chunk that return CompoundTagModifier and TypeMethodDescriptionstatic CompoundTag
ForcedChunkManager.writeBlockPos
(BlockPos blockpos) Methods in net.neoforged.neoforge.common.world.chunk with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate static void
ForcedChunkManager.readBlockForcedChunks
(ResourceLocation controllerId, long chunkPos, CompoundTag modEntry, String key, Map<ForcedChunkManager.TicketOwner<BlockPos>, it.unimi.dsi.fastutil.longs.LongSet> blockForcedChunks) Reads the forge block forced chunks.private static BlockPos
ForcedChunkManager.readBlockPos
(CompoundTag compoundtag) private static void
ForcedChunkManager.readEntityForcedChunks
(ResourceLocation controllerId, long chunkPos, CompoundTag modEntry, String key, Map<ForcedChunkManager.TicketOwner<UUID>, it.unimi.dsi.fastutil.longs.LongSet> entityForcedChunks) Reads the forge entity forced chunks.static void
ForcedChunkManager.readModForcedChunks
(CompoundTag nbt, ForcedChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForcedChunkManager.TicketTracker<UUID> entityForcedChunks) Reads the mod forced chunks from the NBT compound.static void
ForcedChunkManager.writeModForcedChunks
(CompoundTag nbt, ForcedChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForcedChunkManager.TicketTracker<UUID> entityForcedChunks) Writes the mod forced chunks into the NBT compound.Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type CompoundTagModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
voidForcedChunkManager.writeForcedChunkOwners
(Map<ResourceLocation, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, Map<ForcedChunkManager.TicketOwner<T>, it.unimi.dsi.fastutil.longs.LongSet> forcedChunks, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) private static <T extends Comparable<? super T>>
voidForcedChunkManager.writeForcedChunkOwners
(Map<ResourceLocation, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> forcedEntries, ForcedChunkManager.TicketTracker<T> tracker, String listKey, int listType, BiConsumer<T, ListTag> ownerWriter) -
Uses of CompoundTag in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as CompoundTagMethods in net.neoforged.neoforge.event.level that return CompoundTagConstructors in net.neoforged.neoforge.event.level with parameters of type CompoundTagModifierConstructorDescriptionChunkDataEvent
(ChunkAccess chunk, CompoundTag data) ChunkDataEvent
(ChunkAccess chunk, LevelAccessor world, CompoundTag data) Load
(ChunkAccess chunk, CompoundTag data, ChunkType type) Save
(ChunkAccess chunk, LevelAccessor world, CompoundTag data) -
Uses of CompoundTag in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic FluidStack
FluidStack.parseOptional
(HolderLookup.Provider lookupProvider, CompoundTag tag) Tries to parse a fluid stack, defaulting toFluidStack.EMPTY
on parsing failure. -
Uses of CompoundTag in net.neoforged.neoforge.fluids.capability.templates
Methods in net.neoforged.neoforge.fluids.capability.templates that return CompoundTagModifier and TypeMethodDescriptionFluidTank.writeToNBT
(HolderLookup.Provider lookupProvider, CompoundTag nbt) Methods in net.neoforged.neoforge.fluids.capability.templates with parameters of type CompoundTagModifier and TypeMethodDescriptionFluidTank.readFromNBT
(HolderLookup.Provider lookupProvider, CompoundTag nbt) FluidTank.writeToNBT
(HolderLookup.Provider lookupProvider, CompoundTag nbt) -
Uses of CompoundTag in net.neoforged.neoforge.items
Methods in net.neoforged.neoforge.items that return CompoundTagMethods in net.neoforged.neoforge.items with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
ItemStackHandler.deserializeNBT
(HolderLookup.Provider provider, CompoundTag nbt)