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 pEntity) 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 pState, BlockPos pPos, CompoundTag pCompound) private void
KeyboardHandler.copyCreateEntityCommand
(ResourceLocation pEntityId, Vec3 pPos, CompoundTag pCompound) private CompoundTag
Options.dataFix
(CompoundTag pNbt) boolean
DebugQueryHandler.handleResponse
(int pTransactionId, CompoundTag pTag) Method parameters in net.minecraft.client with type arguments of type CompoundTagModifier and TypeMethodDescriptionvoid
DebugQueryHandler.queryBlockEntityTag
(BlockPos pPos, Consumer<CompoundTag> pTag) void
DebugQueryHandler.queryEntityTag
(int pEntId, Consumer<CompoundTag> pTag) private int
DebugQueryHandler.startTransaction
(Consumer<CompoundTag> pCallback) -
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 pNbtCompound) Takes an NBTTagCompound with 'name' and 'ip' keys, returns a ServerData instance.ClientChunkCache.replaceWithPacketData
(int pX, int pZ, FriendlyByteBuf pBuffer, CompoundTag pTag, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> pConsumer) -
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 pTag) int
NbtPathArgument.NbtPath.insert
(int pIndex, CompoundTag pRootTag, List<Tag> pTagsToInsert) Constructors in net.minecraft.commands.arguments with parameters of type CompoundTagModifierConstructorDescriptionMatchElementNode
(CompoundTag pPattern) MatchObjectNode
(String pName, CompoundTag pPattern) -
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 pState, Set<Property<?>> pProperties, CompoundTag pTag) BlockPredicate
(BlockState pState, Set<Property<?>> pProperties, CompoundTag pNbt) BlockResult
(BlockState blockState, Map<Property<?>, Comparable<?>> properties, CompoundTag nbt) Creates an instance of aBlockResult
record class.(package private)
TagPredicate
(HolderSet<Block> pTag, Map<String, String> pVagueProperties, CompoundTag pNbt) 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 pStructureLocationPath, CompoundTag pTag) StructureUpdater.apply
(String pStructureLocationPath, CompoundTag pTag) private CompoundTag
SnbtToNbt.applyFilters
(String pFileName, CompoundTag pTag) static CompoundTag
StructureUpdater.update
(String pStructureLocationPath, CompoundTag pTag) Methods in net.minecraft.data.structures with parameters of type CompoundTagModifier and TypeMethodDescriptionSnbtToNbt.Filter.apply
(String pStructureLocationPath, CompoundTag pTag) StructureUpdater.apply
(String pStructureLocationPath, CompoundTag pTag) private CompoundTag
SnbtToNbt.applyFilters
(String pFileName, CompoundTag pTag) static CompoundTag
StructureUpdater.update
(String pStructureLocationPath, CompoundTag pTag) -
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 pTag) static CompoundTag
NbtUtils.addDataVersion
(CompoundTag pTag, int pDataVersion) protected CompoundTag
NbtOps.NbtRecordBuilder.append
(String pKey, Tag pValue, CompoundTag pTag) CompoundTag.copy()
CompoundTag.getCompound
(String pKey) ListTag.getCompound
(int pIndex) protected CompoundTag
NbtOps.NbtRecordBuilder.initBuilder()
CompoundTag.merge
(CompoundTag pOther) Copies all the tags ofother
into this tag, then returns itself.(package private) static CompoundTag
NbtUtils.packStructureTemplate
(CompoundTag pTag) static CompoundTag
static CompoundTag
Reads a compound tag from a file.static CompoundTag
NbtIo.read
(DataInput pInput, NbtAccounter pAccounter) Reads a compound tag from a file.static CompoundTag
static CompoundTag
NbtIo.readCompressed
(InputStream pZippedStream, NbtAccounter pAccounter) static CompoundTag
NbtIo.readCompressed
(Path pPath, NbtAccounter pAccounter) (package private) CompoundTag
TagParser.readSingleStruct()
TagParser.readStruct()
protected CompoundTag
CompoundTag.shallowCopy()
static CompoundTag
NbtUtils.snbtToStructure
(String pText) (package private) static CompoundTag
NbtUtils.unpackBlockState
(String p_178054_) (package private) static CompoundTag
NbtUtils.unpackStructureTemplate
(CompoundTag pTag) private static CompoundTag
NbtOps.HeterogenousListCollector.wrapElement
(Tag pTag) static CompoundTag
NbtUtils.writeBlockState
(BlockState pState) static CompoundTag
NbtUtils.writeFluidState
(FluidState pState) 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 pTag) static CompoundTag
NbtUtils.addDataVersion
(CompoundTag pTag, int pDataVersion) protected CompoundTag
NbtOps.NbtRecordBuilder.append
(String pKey, Tag pValue, CompoundTag pTag) protected com.mojang.serialization.DataResult
<Tag> NbtOps.NbtRecordBuilder.build
(CompoundTag p_129190_, Tag p_129191_) static int
NbtUtils.getDataVersion
(CompoundTag pTag, int pDefaultValue) SnbtPrinterTagVisitor.getKeys
(CompoundTag pTag) private static boolean
NbtOps.HeterogenousListCollector.isWrapper
(CompoundTag pTag) CompoundTag.merge
(CompoundTag pOther) Copies all the tags ofother
into this tag, then returns itself.(package private) static String
NbtUtils.packBlockState
(CompoundTag p_178076_) (package private) static CompoundTag
NbtUtils.packStructureTemplate
(CompoundTag pTag) NbtUtils.readBlockPos
(CompoundTag pTag, String pKey) static BlockState
NbtUtils.readBlockState
(HolderGetter<Block> pBlockGetter, CompoundTag pTag) private static <S extends StateHolder<?,
S>, T extends Comparable<T>>
SNbtUtils.setValueHelper
(S pStateHolder, Property<T> pProperty, String pPropertyName, CompoundTag pPropertiesTag, CompoundTag pBlockStateTag) static String
NbtUtils.structureToSnbt
(CompoundTag pTag) private static Tag
NbtOps.tryUnwrap
(CompoundTag pTag) (package private) static CompoundTag
NbtUtils.unpackStructureTemplate
(CompoundTag pTag) void
SnbtPrinterTagVisitor.visitCompound
(CompoundTag pTag) void
StringTagVisitor.visitCompound
(CompoundTag pTag) void
TagVisitor.visitCompound
(CompoundTag pTag) void
TextComponentTagVisitor.visitCompound
(CompoundTag pTag) static void
NbtIo.write
(CompoundTag pCompoundTag, DataOutput pOutput) static void
NbtIo.write
(CompoundTag pCompoundTag, Path pPath) static void
NbtIo.writeCompressed
(CompoundTag pCompoundTag, OutputStream pOutputStream) Writes and compresses a compound tag to a GNU zipped file.static void
NbtIo.writeCompressed
(CompoundTag pCompoundTag, Path pPath) -
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 pSource) DataSource.getData
(CommandSourceStack pSource) EntityDataSource.getData
(CommandSourceStack pSource) StorageDataSource.getData
(CommandSourceStack pSource) -
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> pAccounterSupplier) -
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 pPos, BlockEntityType<?> pType, CompoundTag pNbt) Method parameters in net.minecraft.network.protocol.game with type arguments of type CompoundTagModifier and TypeMethodDescriptionClientboundBlockEntityDataPacket.create
(BlockEntity pBlockEntity, BiFunction<BlockEntity, RegistryAccess, CompoundTag> pDataGetter) Constructors in net.minecraft.network.protocol.game with parameters of type CompoundTagModifierConstructorDescriptionprivate
BlockEntityInfo
(int pPackedXZ, int pY, BlockEntityType<?> pType, CompoundTag pTag) private
ClientboundBlockEntityDataPacket
(BlockPos p_195637_, BlockEntityType<?> p_195638_, CompoundTag p_195639_) ClientboundTagQueryPacket
(int pTransactionId, CompoundTag pTag) -
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 pLevelRegistry) CustomBossEvents.save
(HolderLookup.Provider pLevelRegistry) Methods in net.minecraft.server.bossevents with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic CustomBossEvent
CustomBossEvent.load
(CompoundTag pTag, ResourceLocation pId, HolderLookup.Provider pLevelRegistry) void
CustomBossEvents.load
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) -
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 pNbtPath, DataAccessor pDataAccessor) 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 pSource, Holder.Reference<EntityType<?>> pType, Vec3 pPos, CompoundTag pTag, boolean pRandomizeProperties) 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>> pFunctions, CompoundTag pArguments, T pOriginalSource, T pSource, ExecutionControl<T> pExecutionControl, FunctionCommand.Callbacks<T> pCallbacks, ChainModifiers pChainModifiers) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsAsReturn
(Collection<CommandFunction<T>> pFunctions, CompoundTag pArguments, T pOriginalSource, T pSource, ExecutionControl<T> pExectutionControl, FunctionCommand.Callbacks<T> pCallbacks) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsNoReturn
(Collection<CommandFunction<T>> pFunctions, CompoundTag pArguments, T pOriginalSource, T pSource, ExecutionControl<T> pExecutionControl, FunctionCommand.Callbacks<T> pCallbacks) 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 pSource, Holder.Reference<EntityType<?>> pType, Vec3 pPos, CompoundTag pTag, boolean pRandomizeProperties) 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 pSource, DataAccessor pAccessor, CompoundTag pNbt) Merges the given NBT into the targeted object's NBT.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 pOther) void
DataAccessor.setData
(CompoundTag pOther) void
EntityDataAccessor.setData
(CompoundTag pOther) void
StorageDataAccessor.setData
(CompoundTag pOther) -
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 pCompound) private static boolean
ChunkMap.isChunkDataValid
(CompoundTag pTag) void
ServerPlayer.loadGameTypes
(CompoundTag pTag) void
ServerPlayer.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.private static GameType
ServerPlayer.readPlayerMode
(CompoundTag pTag, String pKey) private void
ServerPlayer.storeGameTypes
(CompoundTag pTag) 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 pTag, RecipeManager pRecipeManager) static RecipeBookSettings
RecipeBookSettings.read
(CompoundTag pTag) void
RecipeBookSettings.write
(CompoundTag pTag) -
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 pRegionStorage, CompoundTag pChunkTag) 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 pRegionStorage, CompoundTag pChunkTag) -
Uses of CompoundTag in net.minecraft.world
Methods in net.minecraft.world that return CompoundTagModifier and TypeMethodDescriptionRandomSequences.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag pTag, NonNullList<ItemStack> pItems, boolean pAlwaysPutTag, HolderLookup.Provider pLevelRegistry) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag pTag, NonNullList<ItemStack> pItems, HolderLookup.Provider pLevelRegistry) Methods in net.minecraft.world with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
LockCode.addToTag
(CompoundTag pNbt) static LockCode
LockCode.fromTag
(CompoundTag pNbt) private static boolean
RandomSequences.getBooleanWithDefault
(CompoundTag pTag, String pKey, boolean pDefaultValue) static RandomSequences
RandomSequences.load
(long pSeed, CompoundTag pTag) static void
ContainerHelper.loadAllItems
(CompoundTag pTag, NonNullList<ItemStack> pItems, HolderLookup.Provider pLevelRegistry) RandomSequences.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag pTag, NonNullList<ItemStack> pItems, boolean pAlwaysPutTag, HolderLookup.Provider pLevelRegistry) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag pTag, NonNullList<ItemStack> pItems, HolderLookup.Provider pLevelRegistry) default boolean
RandomizableContainer.tryLoadLootTable
(CompoundTag pTag) default boolean
RandomizableContainer.trySaveLootTable
(CompoundTag pTag) -
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 pNbt) Read a custom potion effect from a potion item's NBT data. -
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 pCompound) Writes this entity, including passengers, to NBT, regardless as to whether it is removed or a passenger.Methods in net.minecraft.world.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
AgeableMob.addAdditionalSaveData
(CompoundTag pCompound) protected void
AreaEffectCloud.addAdditionalSaveData
(CompoundTag pCompound) protected void
Display.addAdditionalSaveData
(CompoundTag pCompound) protected void
Display.BlockDisplay.addAdditionalSaveData
(CompoundTag pCompound) protected void
Display.ItemDisplay.addAdditionalSaveData
(CompoundTag pCompound) protected void
Display.TextDisplay.addAdditionalSaveData
(CompoundTag pCompound) protected abstract void
Entity.addAdditionalSaveData
(CompoundTag pCompound) void
ExperienceOrb.addAdditionalSaveData
(CompoundTag pCompound) void
GlowSquid.addAdditionalSaveData
(CompoundTag pCompound) protected void
Interaction.addAdditionalSaveData
(CompoundTag pCompound) void
ItemBasedSteering.addAdditionalSaveData
(CompoundTag pNbt) protected void
LightningBolt.addAdditionalSaveData
(CompoundTag pCompound) void
LivingEntity.addAdditionalSaveData
(CompoundTag pCompound) protected void
Marker.addAdditionalSaveData
(CompoundTag p_147257_) void
Mob.addAdditionalSaveData
(CompoundTag pCompound) protected void
OminousItemSpawner.addAdditionalSaveData
(CompoundTag pCompound) void
TamableAnimal.addAdditionalSaveData
(CompoundTag pCompound) default void
NeutralMob.addPersistentAngerSaveData
(CompoundTag pNbt) static Optional
<EntityType<?>> EntityType.by
(CompoundTag pCompound) EntityType.create
(CompoundTag pTag, Level pLevel) void
Entity.load
(CompoundTag pCompound) Reads the entity from NBT (calls an abstract helper method to read specialized data)static Entity
EntityType.loadEntityRecursive
(CompoundTag pCompound, Level pLevel, Function<Entity, Entity> pEntityFunction) private static byte
Display.TextDisplay.loadFlag
(byte pCurrentValue, CompoundTag pTag, String pFlag, byte pMask) EntityType.loadStaticEntity
(CompoundTag pCompound, Level pLevel) void
AgeableMob.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
AreaEffectCloud.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
Display.BlockDisplay.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
Display.ItemDisplay.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
Display.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
Display.TextDisplay.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected abstract void
Entity.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
ExperienceOrb.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
GlowSquid.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
Interaction.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
ItemBasedSteering.readAdditionalSaveData
(CompoundTag pNbt) protected void
LightningBolt.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
LivingEntity.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
Marker.readAdditionalSaveData
(CompoundTag p_147254_) void
Mob.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
OminousItemSpawner.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
TamableAnimal.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.default Leashable.LeashData
Leashable.readLeashData
(CompoundTag pTag) default void
NeutralMob.readPersistentAngerSaveData
(Level pLevel, CompoundTag pTag) boolean
Entity.save
(CompoundTag pCompound) Writes this entity to NBT, unless it has been removed or it is a passenger.boolean
Entity.saveAsPassenger
(CompoundTag pCompound) Writes this entity to NBT, unless it has been removed.Entity.saveWithoutId
(CompoundTag pCompound) Writes this entity, including passengers, to NBT, regardless as to whether it is removed or a passenger.private static void
Display.TextDisplay.storeFlag
(byte pCurrentValue, CompoundTag pTag, String pFlag, byte pMask) default void
Leashable.writeLeashData
(CompoundTag pTag, Leashable.LeashData pLeashData) -
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 pNbt) static AttributeModifier
AttributeModifier.load
(CompoundTag pNbt) -
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 pCompound) void
Bat.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Animal.addAdditionalSaveData
(CompoundTag pCompound) void
Bee.addAdditionalSaveData
(CompoundTag pCompound) void
Cat.addAdditionalSaveData
(CompoundTag pCompound) void
Chicken.addAdditionalSaveData
(CompoundTag pCompound) void
Dolphin.addAdditionalSaveData
(CompoundTag pCompound) void
Fox.addAdditionalSaveData
(CompoundTag pCompound) void
IronGolem.addAdditionalSaveData
(CompoundTag pCompound) void
MushroomCow.addAdditionalSaveData
(CompoundTag pCompound) void
Ocelot.addAdditionalSaveData
(CompoundTag pCompound) void
Panda.addAdditionalSaveData
(CompoundTag pCompound) void
Parrot.addAdditionalSaveData
(CompoundTag pCompound) void
Pig.addAdditionalSaveData
(CompoundTag pCompound) void
PolarBear.addAdditionalSaveData
(CompoundTag pCompound) void
Pufferfish.addAdditionalSaveData
(CompoundTag pCompound) void
Rabbit.addAdditionalSaveData
(CompoundTag pCompound) void
Sheep.addAdditionalSaveData
(CompoundTag pCompound) void
SnowGolem.addAdditionalSaveData
(CompoundTag pCompound) void
TropicalFish.addAdditionalSaveData
(CompoundTag pCompound) void
Turtle.addAdditionalSaveData
(CompoundTag pCompound) void
Wolf.addAdditionalSaveData
(CompoundTag pCompound) static void
Bucketable.loadDefaultDataFromBucketTag
(Mob pMob, CompoundTag pTag) Deprecated.void
AbstractFish.loadFromBucketTag
(CompoundTag pTag) void
Bucketable.loadFromBucketTag
(CompoundTag pTag) void
TropicalFish.loadFromBucketTag
(CompoundTag pTag) void
AbstractFish.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Animal.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Bee.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Cat.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Chicken.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Dolphin.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Fox.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
IronGolem.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
MushroomCow.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Ocelot.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Panda.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Parrot.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Pig.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
PolarBear.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Pufferfish.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Rabbit.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Sheep.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
SnowGolem.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
TropicalFish.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Turtle.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Wolf.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Allay.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Armadillo.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Axolotl.loadFromBucketTag
(CompoundTag pTag) void
Axolotl.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Camel.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Tadpole.addAdditionalSaveData
(CompoundTag pCompound) void
Tadpole.loadFromBucketTag
(CompoundTag pTag) void
Frog.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Tadpole.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Goat.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
AbstractHorse.addAdditionalSaveData
(CompoundTag pCompound) void
Horse.addAdditionalSaveData
(CompoundTag pCompound) void
Llama.addAdditionalSaveData
(CompoundTag pCompound) void
SkeletonHorse.addAdditionalSaveData
(CompoundTag pCompound) void
TraderLlama.addAdditionalSaveData
(CompoundTag pCompound) void
AbstractChestedHorse.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
AbstractHorse.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Horse.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Llama.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
SkeletonHorse.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
TraderLlama.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) protected void
EnderDragonPart.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
EnderDragon.addAdditionalSaveData
(CompoundTag pCompound) protected void
EndCrystal.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
EnderDragon.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
WitherBoss.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
BlockAttachedEntity.addAdditionalSaveData
(CompoundTag pCompound) void
ItemFrame.addAdditionalSaveData
(CompoundTag pCompound) void
LeashFenceKnotEntity.addAdditionalSaveData
(CompoundTag pCompound) void
Painting.addAdditionalSaveData
(CompoundTag pCompound) void
ArmorStand.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
BlockAttachedEntity.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
ItemFrame.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
LeashFenceKnotEntity.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Painting.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.private void
ArmorStand.readPose
(CompoundTag pCompound) -
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 pCompound) void
ItemEntity.addAdditionalSaveData
(CompoundTag pCompound) protected void
PrimedTnt.addAdditionalSaveData
(CompoundTag pCompound) protected void
FallingBlockEntity.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
ItemEntity.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
PrimedTnt.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Creeper.addAdditionalSaveData
(CompoundTag pCompound) void
EnderMan.addAdditionalSaveData
(CompoundTag pCompound) void
Endermite.addAdditionalSaveData
(CompoundTag pCompound) void
Evoker.addAdditionalSaveData
(CompoundTag pCompound) void
Ghast.addAdditionalSaveData
(CompoundTag pCompound) void
PatrollingMonster.addAdditionalSaveData
(CompoundTag pCompound) void
Phantom.addAdditionalSaveData
(CompoundTag pCompound) void
Pillager.addAdditionalSaveData
(CompoundTag pCompound) void
Ravager.addAdditionalSaveData
(CompoundTag pCompound) void
Shulker.addAdditionalSaveData
(CompoundTag pCompound) void
Skeleton.addAdditionalSaveData
(CompoundTag pCompound) void
Slime.addAdditionalSaveData
(CompoundTag pCompound) void
SpellcasterIllager.addAdditionalSaveData
(CompoundTag pCompound) void
Strider.addAdditionalSaveData
(CompoundTag pCompound) void
Vex.addAdditionalSaveData
(CompoundTag pCompound) void
Vindicator.addAdditionalSaveData
(CompoundTag pCompound) void
Zoglin.addAdditionalSaveData
(CompoundTag pCompound) void
Zombie.addAdditionalSaveData
(CompoundTag pCompound) void
ZombieVillager.addAdditionalSaveData
(CompoundTag pCompound) void
ZombifiedPiglin.addAdditionalSaveData
(CompoundTag pCompound) void
AbstractSkeleton.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Bogged.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Creeper.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
EnderMan.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Endermite.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Evoker.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Ghast.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
PatrollingMonster.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Phantom.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Pillager.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Ravager.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Shulker.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Skeleton.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Slime.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
SpellcasterIllager.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Strider.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Vex.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Vindicator.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Zoglin.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Zombie.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
ZombieVillager.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
ZombifiedPiglin.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Hoglin.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Piglin.addAdditionalSaveData
(CompoundTag pCompound) void
AbstractPiglin.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Piglin.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Warden.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
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 pCompound) void
Villager.addAdditionalSaveData
(CompoundTag pCompound) void
WanderingTrader.addAdditionalSaveData
(CompoundTag pCompound) void
AbstractVillager.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Villager.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
WanderingTrader.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.default void
InventoryCarrier.readInventoryFromTag
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) default void
InventoryCarrier.writeInventoryToTag
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) -
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 pCompound) void
Abilities.addSaveData
(CompoundTag pCompound) void
Abilities.loadSaveData
(CompoundTag pCompound) private void
Player.playShoulderEntityAmbientSound
(CompoundTag pEntityCompound) void
Player.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.private void
Player.respawnEntityOnShoulder
(CompoundTag pEntityCompound) boolean
Player.setEntityOnShoulder
(CompoundTag pEntityCompound) protected void
Player.setShoulderEntityLeft
(CompoundTag pEntityCompound) protected void
Player.setShoulderEntityRight
(CompoundTag pEntityCompound) -
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 pCompound) void
AbstractHurtingProjectile.addAdditionalSaveData
(CompoundTag pCompound) protected void
EvokerFangs.addAdditionalSaveData
(CompoundTag pCompound) void
EyeOfEnder.addAdditionalSaveData
(CompoundTag pCompound) void
Fireball.addAdditionalSaveData
(CompoundTag pCompound) void
FireworkRocketEntity.addAdditionalSaveData
(CompoundTag pCompound) void
FishingHook.addAdditionalSaveData
(CompoundTag pCompound) void
LargeFireball.addAdditionalSaveData
(CompoundTag pCompound) protected void
Projectile.addAdditionalSaveData
(CompoundTag pCompound) protected void
ShulkerBullet.addAdditionalSaveData
(CompoundTag pCompound) void
SpectralArrow.addAdditionalSaveData
(CompoundTag pCompound) void
ThrowableItemProjectile.addAdditionalSaveData
(CompoundTag pCompound) void
ThrownTrident.addAdditionalSaveData
(CompoundTag pCompound) void
WitherSkull.addAdditionalSaveData
(CompoundTag pCompound) void
AbstractArrow.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
AbstractHurtingProjectile.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
EvokerFangs.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
EyeOfEnder.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
Fireball.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
FireworkRocketEntity.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
FishingHook.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
LargeFireball.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
Projectile.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
ShulkerBullet.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
SpectralArrow.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
ThrowableItemProjectile.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
ThrownTrident.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.void
WitherSkull.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.raid
Methods in net.minecraft.world.entity.raid that return CompoundTagModifier and TypeMethodDescriptionRaid.save
(CompoundTag pCompound) Raids.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) Methods in net.minecraft.world.entity.raid with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Raider.addAdditionalSaveData
(CompoundTag pCompound) static Raids
Raids.load
(ServerLevel pLevel, CompoundTag pTag) void
Raider.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.Raid.save
(CompoundTag pCompound) Raids.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) 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 pCompound) protected void
AbstractMinecartContainer.addAdditionalSaveData
(CompoundTag pCompound) protected void
Boat.addAdditionalSaveData
(CompoundTag pCompound) protected void
ChestBoat.addAdditionalSaveData
(CompoundTag pCompound) protected void
MinecartCommandBlock.addAdditionalSaveData
(CompoundTag pCompound) protected void
MinecartFurnace.addAdditionalSaveData
(CompoundTag pCompound) protected void
MinecartHopper.addAdditionalSaveData
(CompoundTag pCompound) protected void
MinecartSpawner.addAdditionalSaveData
(CompoundTag pCompound) protected void
MinecartTNT.addAdditionalSaveData
(CompoundTag pCompound) default void
ContainerEntity.addChestVehicleSaveData
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) protected void
AbstractMinecart.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
AbstractMinecartContainer.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
Boat.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
ChestBoat.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
MinecartCommandBlock.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
MinecartFurnace.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
MinecartHopper.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
MinecartSpawner.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.protected void
MinecartTNT.readAdditionalSaveData
(CompoundTag pCompound) (abstract) Protected helper method to read subclass entity data from NBT.default void
ContainerEntity.readChestVehicleSaveData
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) -
Uses of CompoundTag in net.minecraft.world.food
Methods in net.minecraft.world.food with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
FoodData.addAdditionalSaveData
(CompoundTag pCompoundTag) Writes the food data for the player.void
FoodData.readAdditionalSaveData
(CompoundTag pCompoundTag) Reads the food data for the player. -
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 pLookupProvider, CompoundTag pTag) static void
BlockItem.setBlockEntityData
(ItemStack pStack, BlockEntityType<?> pBlockEntityType, CompoundTag pBlockEntityData) -
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> pComponentType, CompoundTag pTag) boolean
CustomData.matchedBy
(CompoundTag pTag) static CustomData
CustomData.of
(CompoundTag pTag) static void
CustomData.set
(DataComponentType<CustomData> pComponentType, ItemStack pStack, CompoundTag pTag) Method parameters in net.minecraft.world.item.component with type arguments of type CompoundTagModifier and TypeMethodDescriptionCustomData.update
(Consumer<CompoundTag> pUpdater) static void
CustomData.update
(DataComponentType<CustomData> pComponentType, ItemStack pStack, Consumer<CompoundTag> pUpdater) 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 pTag, HolderLookup.Provider pLevelRegistry) BaseSpawner.save
(CompoundTag pTag) ForcedChunksSavedData.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) Methods in net.minecraft.world.level with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate static ResourceLocation
Spawner.getEntityKey
(CompoundTag pTag, String pSpawnDataKey) void
BaseCommandBlock.load
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) void
BaseSpawner.load
(Level pLevel, BlockPos pPos, CompoundTag pTag) static ForcedChunksSavedData
ForcedChunksSavedData.load
(CompoundTag p_151484_, HolderLookup.Provider p_323940_) BaseCommandBlock.save
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) BaseSpawner.save
(CompoundTag pTag) ForcedChunksSavedData.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) 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 pTag) void
SculkSpreader.save
(CompoundTag pTag) -
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 pRegistries) BeaconBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) BlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) BrushableBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) CampfireBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) ConduitBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) DecoratedPotBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) JigsawBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) SignBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) SkullBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) SpawnerBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) StructureBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) TheEndGatewayBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) TrialSpawnerBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) PotDecorations.save
(CompoundTag pTag) final CompoundTag
BlockEntity.saveCustomAndMetadata
(HolderLookup.Provider pRegistries) final CompoundTag
BlockEntity.saveCustomOnly
(HolderLookup.Provider pRegistries) final CompoundTag
BlockEntity.saveWithFullMetadata
(HolderLookup.Provider pRegistries) final CompoundTag
BlockEntity.saveWithId
(HolderLookup.Provider pRegistries) final CompoundTag
BlockEntity.saveWithoutMetadata
(HolderLookup.Provider pRegistries) Methods in net.minecraft.world.level.block.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate void
CrafterBlockEntity.addDisabledSlots
(CompoundTag pTag) static void
BlockEntity.addEntityType
(CompoundTag pTag, BlockEntityType<?> pEntityType) private void
CrafterBlockEntity.addTriggered
(CompoundTag pTag) static BlockPos
BlockEntity.getPosFromTag
(CompoundTag pTag) static PotDecorations
PotDecorations.load
(CompoundTag pTag) protected void
AbstractFurnaceBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BannerBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BarrelBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BaseContainerBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BeaconBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BeehiveBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BrewingStandBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BrushableBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
CampfireBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ChestBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ChiseledBookShelfBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
CommandBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ComparatorBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ConduitBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
CrafterBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
DecoratedPotBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
DispenserBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
EnchantingTableBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
HopperBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
JigsawBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
JukeboxBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
LecternBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SculkCatalystBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SculkSensorBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SculkShriekerBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ShulkerBoxBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SignBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SkullBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SpawnerBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
StructureBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
TheEndGatewayBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
TrialSpawnerBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) final void
BlockEntity.loadCustomOnly
(CompoundTag pTag, HolderLookup.Provider pRegistries) BeaconBlockEntity.loadEffect
(CompoundTag pTag, String pKey) void
ShulkerBoxBlockEntity.loadFromTag
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) static BlockEntity
BlockEntity.loadStatic
(BlockPos pPos, BlockState pState, CompoundTag pTag, HolderLookup.Provider pRegistries) final void
BlockEntity.loadWithComponents
(CompoundTag pTag, HolderLookup.Provider pRegistries) void
BannerBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
BaseContainerBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
BeaconBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
BeehiveBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
BlockEntity.removeComponentsFromTag
(CompoundTag pTag) Deprecated.void
CampfireBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
ChiseledBookShelfBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
CommandBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
DecoratedPotBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
EnchantingTableBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
RandomizableContainerBlockEntity.removeComponentsFromTag
(CompoundTag pTag) void
SkullBlockEntity.removeComponentsFromTag
(CompoundTag pTag) PotDecorations.save
(CompoundTag pTag) protected void
AbstractFurnaceBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BannerBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BarrelBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BaseContainerBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BeaconBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BeehiveBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BrewingStandBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
BrushableBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
CampfireBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ChestBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ChiseledBookShelfBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
CommandBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ComparatorBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ConduitBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
CrafterBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
DecoratedPotBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
DispenserBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
EnchantingTableBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
HopperBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
JigsawBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
JukeboxBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
LecternBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SculkCatalystBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SculkSensorBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SculkShriekerBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
ShulkerBoxBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SignBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SkullBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
SpawnerBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
StructureBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
TheEndGatewayBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
TrialSpawnerBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) private void
BlockEntity.saveId
(CompoundTag pTag) private void
BlockEntity.saveMetadata
(CompoundTag pTag) private static void
BeaconBlockEntity.storeEffect
(CompoundTag pTag, String pKey, Holder<MobEffect> pEffect) private boolean
BrushableBlockEntity.tryLoadLootTable
(CompoundTag pTag) private boolean
BrushableBlockEntity.trySaveLootTable
(CompoundTag pTag) -
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 CompoundTagModifier and TypeMethodDescriptionVaultBlockEntity.getUpdateTag
(HolderLookup.Provider pRegistries) Methods in net.minecraft.world.level.block.entity.vault with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
VaultBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
VaultBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) -
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 pRegistries) Methods in net.minecraft.world.level.block.piston with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
PistonMovingBlockEntity.loadAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) protected void
PistonMovingBlockEntity.saveAdditional
(CompoundTag pTag, HolderLookup.Provider pRegistries) -
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 pPos) ImposterProtoChunk.getBlockEntityNbt
(BlockPos pPos) abstract CompoundTag
ChunkAccess.getBlockEntityNbtForSaving
(BlockPos pPos, HolderLookup.Provider pRegistries) ImposterProtoChunk.getBlockEntityNbtForSaving
(BlockPos pPos, HolderLookup.Provider pRegistries) LevelChunk.getBlockEntityNbtForSaving
(BlockPos pPos, HolderLookup.Provider pRegistries) ProtoChunk.getBlockEntityNbtForSaving
(BlockPos pPos, HolderLookup.Provider pRegistries) 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 pTag) private static <T> void
UpgradeData.loadTicks
(CompoundTag pTag, String pIdentifier, Function<String, Optional<T>> pValueFunction, List<SavedTick<T>> pTicks) private BlockEntity
LevelChunk.promotePendingBlockEntity
(BlockPos pPos, CompoundTag pTag) final void
ChunkAccess.readAttachmentsFromNBT
(HolderLookup.Provider provider, CompoundTag tag) FOR INTERNAL USE ONLYvoid
LevelChunk.replaceWithPacketData
(FriendlyByteBuf pBuffer, CompoundTag pTag, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> pOutputTagConsumer) void
ChunkAccess.setBlockEntityNbt
(CompoundTag pTag) void
ImposterProtoChunk.setBlockEntityNbt
(CompoundTag pTag) 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 pLevel, List<CompoundTag> pEntityTags) -
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 pContext, ChunkPos pPos, Map<Structure, StructureStart> pStructureMap, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> pReferenceMap) ChunkStorage.upgradeChunkTag
(ResourceKey<Level> pLevelKey, Supplier<DimensionDataStorage> pStorage, CompoundTag pChunkData, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> pChunkGeneratorKey) SimpleRegionStorage.upgradeChunkTag
(CompoundTag pTag, int pVersion) static CompoundTag
ChunkSerializer.write
(ServerLevel pLevel, ChunkAccess pChunk) 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 pTag) private static ListTag
ChunkSerializer.getListOfCompoundsOrNull
(CompoundTag pTag, String pKey) static int
ChunkStorage.getVersion
(CompoundTag pChunkData) static void
ChunkStorage.injectDatafixingContext
(CompoundTag pChunkData, ResourceKey<Level> pLevelKey, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> pChunkGeneratorKey) private boolean
IOWorker.isOldChunk
(CompoundTag pChunkData) private static LevelChunk.PostLoadProcessor
ChunkSerializer.postLoadChunk
(ServerLevel pLevel, CompoundTag pTag) static ProtoChunk
ChunkSerializer.read
(ServerLevel pLevel, PoiManager pPoiManager, RegionStorageInfo pRegionStorageInfo, ChunkPos pPos, CompoundTag pTag) private static ChunkPos
EntityStorage.readChunkPos
(CompoundTag pTag) private void
SectionStorage.readColumn
(ChunkPos pChunkPos, RegistryOps<Tag> pOps, CompoundTag pTag) private static void
ChunkStorage.removeDatafixingContext
(CompoundTag pTag) private static void
ChunkSerializer.saveTicks
(ServerLevel pLevel, CompoundTag pTag, ChunkAccess.TicksToSave pTicksToSave) IOWorker.store
(ChunkPos pChunkPos, CompoundTag pChunkData) ChunkSerializer.unpackStructureReferences
(RegistryAccess pRegistryAccess, ChunkPos pPos, CompoundTag pTag) private static Map
<Structure, StructureStart> ChunkSerializer.unpackStructureStart
(StructurePieceSerializationContext pContext, CompoundTag pTag, long pSeed) ChunkStorage.upgradeChunkTag
(ResourceKey<Level> pLevelKey, Supplier<DimensionDataStorage> pStorage, CompoundTag pChunkData, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> pChunkGeneratorKey) SimpleRegionStorage.upgradeChunkTag
(CompoundTag pTag, int pVersion) ChunkStorage.write
(ChunkPos pChunkPos, CompoundTag pData) RecreatingChunkStorage.write
(ChunkPos pChunkPos, CompoundTag pData) RecreatingSimpleRegionStorage.write
(ChunkPos pChunkPos, CompoundTag pData) protected void
RegionFileStorage.write
(ChunkPos pChunkPos, CompoundTag pChunkData) SimpleRegionStorage.write
(ChunkPos pChunkPos, CompoundTag pData) private static void
EntityStorage.writeChunkPos
(CompoundTag pTag, ChunkPos pPos) 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 pTag) -
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 pContext) StructureStart.createTag
(StructurePieceSerializationContext pContext, ChunkPos pChunkPos) StructureFeatureIndexSavedData.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) LegacyStructureDataHandler.updateFromLegacy
(CompoundTag pTag) private CompoundTag
LegacyStructureDataHandler.updateStructureStart
(CompoundTag pTag, ChunkPos pChunkPos) Methods in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
PoolElementStructurePiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
ScatteredFeaturePiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected abstract void
StructurePiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
TemplateStructurePiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) StructureFeatureIndexSavedData.load
(CompoundTag p_163535_, HolderLookup.Provider p_323754_) static StructureStart
StructureStart.loadStaticStart
(StructurePieceSerializationContext pContext, CompoundTag pTag, long pSeed) private it.unimi.dsi.fastutil.objects.Object2IntMap
<Structure> StructureCheck.loadStructures
(CompoundTag p_197312_) StructureFeatureIndexSavedData.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) LegacyStructureDataHandler.updateFromLegacy
(CompoundTag pTag) private CompoundTag
LegacyStructureDataHandler.updateStructureStart
(CompoundTag pTag, ChunkPos pChunkPos) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifierConstructorDescriptionPoolElementStructurePiece
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected
ScatteredFeaturePiece
(StructurePieceType pType, CompoundTag pTag) StructurePiece
(StructurePieceType pType, CompoundTag pTag) TemplateStructurePiece
(StructurePieceType pType, CompoundTag pTag, StructureTemplateManager pStructureTemplateManager, Function<ResourceLocation, StructurePlaceSettings> pPlaceSettingsFactory) -
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 pTag) default StructurePiece
StructurePieceType.ContextlessType.load
(StructurePieceSerializationContext pContext, CompoundTag pTag) StructurePieceType.load
(StructurePieceSerializationContext pContext, CompoundTag pTag) default StructurePiece
StructurePieceType.StructureTemplateType.load
(StructurePieceSerializationContext pContext, CompoundTag pTag) StructurePieceType.StructureTemplateType.load
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) -
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 pContext, CompoundTag pTag) protected void
DesertPyramidPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
EndCityPieces.EndCityPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
IglooPieces.IglooPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
JungleTemplePiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
MineshaftPieces.MineShaftCorridor.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
MineshaftPieces.MineShaftCrossing.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
MineshaftPieces.MineShaftPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
MineshaftPieces.MineShaftRoom.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
NetherFortressPieces.BridgeEndFiller.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
NetherFortressPieces.MonsterThrone.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
NetherFortressPieces.NetherBridgePiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
NetherFossilPieces.NetherFossilPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
OceanMonumentPieces.OceanMonumentPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
OceanRuinPieces.OceanRuinPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
RuinedPortalPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
ShipwreckPieces.ShipwreckPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
StrongholdPieces.ChestCorridor.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
StrongholdPieces.FillerCorridor.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
StrongholdPieces.FiveCrossing.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
StrongholdPieces.Library.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
StrongholdPieces.PortalRoom.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
StrongholdPieces.RoomCrossing.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
StrongholdPieces.StairsDown.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
StrongholdPieces.Straight.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
StrongholdPieces.StrongholdPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
SwampHutPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) protected void
WoodlandMansionPieces.WoodlandMansionPiece.addAdditionalSaveData
(StructurePieceSerializationContext pContext, CompoundTag pTag) OceanRuinPieces.OceanRuinPiece.create
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag, ResourceLocation pLocation) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type CompoundTagModifierConstructorDescriptionBridgeCrossing
(CompoundTag pTag) protected
BridgeCrossing
(StructurePieceType pType, CompoundTag pTag) BridgeEndFiller
(CompoundTag pTag) BridgeStraight
(CompoundTag pTag) CastleEntrance
(CompoundTag pTag) CastleStalkRoom
(CompoundTag pTag) ChestCorridor
(CompoundTag pTag) EndCityPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) FillerCorridor
(CompoundTag pTag) FiveCrossing
(CompoundTag pTag) IglooPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) JungleTemplePiece
(CompoundTag pTag) LeftTurn
(CompoundTag pTag) Library
(CompoundTag pTag) MineShaftCorridor
(CompoundTag pTag) MineShaftCrossing
(CompoundTag pTag) MineShaftPiece
(StructurePieceType pType, CompoundTag pTag) MineShaftRoom
(CompoundTag pTag) MineShaftStairs
(CompoundTag pTag) MonsterThrone
(CompoundTag pTag) MonumentBuilding
(CompoundTag pTag) NetherBridgePiece
(StructurePieceType pType, CompoundTag pTag) NetherFossilPiece
(StructureTemplateManager pStructureManager, CompoundTag pTag) OceanMonumentPiece
(StructurePieceType pType, CompoundTag pTag) private
OceanRuinPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pGenDepth, Rotation pRotation, float pIntegrity, OceanRuinStructure.Type pBiomeType, boolean pIsLarge) PortalRoom
(CompoundTag pTag) PrisonHall
(CompoundTag pTag) RightTurn
(CompoundTag pTag) RoomCrossing
(CompoundTag pTag) RoomCrossing
(CompoundTag pTag) RuinedPortalPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) ShipwreckPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) StairsDown
(CompoundTag pTag) StairsDown
(StructurePieceType pType, CompoundTag pTag) StairsRoom
(CompoundTag pTag) StartPiece
(CompoundTag pTag) StartPiece
(CompoundTag pTag) Straight
(CompoundTag pTag) StrongholdPiece
(StructurePieceType pType, CompoundTag pTag) SwampHutPiece
(CompoundTag pTag) Turn
(StructurePieceType p_229934_, CompoundTag p_229935_) WoodlandMansionPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) -
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 pRandom, CompoundTag pTag) StructureTemplate.StructureBlockInfo.nbt()
Returns the value of thenbt
record component.StructureTemplate.save
(CompoundTag pTag) Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type CompoundTagModifier and TypeMethodDescriptionStructureTemplate.createEntityIgnoreException
(ServerLevelAccessor pLevel, CompoundTag pTag) ProcessorRule.getOutputTag
(RandomSource pRandom, CompoundTag pTag) void
StructureTemplate.load
(HolderGetter<Block> pBlockGetter, CompoundTag pTag) StructureTemplateManager.readStructure
(CompoundTag pNbt) StructureTemplate.save
(CompoundTag pTag) 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 pPos, BlockPos pBlockPos, CompoundTag pNbt) -
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 pRandom, CompoundTag pTag) AppendStatic.apply
(RandomSource pRandom, CompoundTag pTag) Clear.apply
(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply
(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply
(RandomSource pRandom, CompoundTag pTag) Methods in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type CompoundTagModifier and TypeMethodDescriptionAppendLoot.apply
(RandomSource pRandom, CompoundTag pTag) AppendStatic.apply
(RandomSource pRandom, CompoundTag pTag) Clear.apply
(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply
(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply
(RandomSource pRandom, CompoundTag pTag) 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 pTag, HolderLookup.Provider pRegistries) 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 pTag, HolderLookup.Provider pRegistries) 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 pTag, HolderLookup.Provider pRegistries) MapItemSavedData.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) Methods in net.minecraft.world.level.saveddata.maps with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic MapFrame
MapFrame.load
(CompoundTag pCompoundTag) 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 pTag, HolderLookup.Provider pRegistries) MapItemSavedData.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) -
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 pRegistries, CompoundTag pHostPlayerNBT) WorldData.createTag
(RegistryAccess pRegistries, CompoundTag pHostPlayerNBT) CommandStorage.get
(ResourceLocation pId) PrimaryLevelData.getCustomBossEvents()
WorldData.getCustomBossEvents()
PrimaryLevelData.getLoadedPlayerTag()
WorldData.getLoadedPlayerTag()
(package private) static CompoundTag
LevelStorageSource.readLevelDataTagRaw
(Path pLevelPath) DimensionDataStorage.readTagFromDisk
(String pFilename, DataFixTypes pDataFixType, int pVersion) CommandStorage.Container.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) 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 pRegistries, CompoundTag pHostPlayerNBT) WorldData.createTag
(RegistryAccess pRegistries, CompoundTag pHostPlayerNBT) (package private) CommandStorage.Container
CommandStorage.Container.load
(CompoundTag pCompoundTag) void
CommandStorage.Container.put
(String pId, CompoundTag pNbt) CommandStorage.Container.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) void
LevelStorageSource.LevelStorageAccess.saveDataTag
(RegistryAccess pRegistries, WorldData pServerConfiguration, CompoundTag pHostPlayerNBT) private void
LevelStorageSource.LevelStorageAccess.saveLevelData
(CompoundTag pTag) void
CommandStorage.set
(ResourceLocation pId, CompoundTag pNbt) void
PrimaryLevelData.setCustomBossEvents
(CompoundTag pNbt) void
WorldData.setCustomBossEvents
(CompoundTag pNbt) private void
PrimaryLevelData.setTagData
(RegistryAccess pRegistry, CompoundTag pNbt, CompoundTag pPlayerNBT) Method parameters in net.minecraft.world.level.storage with type arguments of type CompoundTagModifier and TypeMethodDescriptionprivate void
LevelStorageSource.LevelStorageAccess.modifyLevelDataWithoutDatafix
(Consumer<CompoundTag> pModifier) private <T extends SavedData>
TDimensionDataStorage.readSavedData
(BiFunction<CompoundTag, HolderLookup.Provider, T> pReader, DataFixTypes pDataFixType, String pFilename) 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 pTag) 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 pCallback) 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 pTag) TimerCallbacks.deserialize
(CompoundTag pTag) private void
TimerQueue.loadEvent
(CompoundTag pTag) 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 pTag, C pCallback) -
Uses of CompoundTag in net.minecraft.world.scores
Methods in net.minecraft.world.scores that return CompoundTagModifier and TypeMethodDescriptionScoreboardSaveData.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) Score.write
(HolderLookup.Provider pLevelRegistry) Methods in net.minecraft.world.scores with parameters of type CompoundTagModifier and TypeMethodDescriptionScoreboardSaveData.load
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) private void
ScoreboardSaveData.loadDisplaySlots
(CompoundTag pCompound) static Score
Score.read
(CompoundTag pTag, HolderLookup.Provider pLevelRegistry) ScoreboardSaveData.save
(CompoundTag pTag, HolderLookup.Provider pRegistries) private void
ScoreboardSaveData.saveDisplaySlots
(CompoundTag pCompound) -
Uses of CompoundTag in net.minecraft.world.ticks
Methods in net.minecraft.world.ticks that return CompoundTagModifier and TypeMethodDescriptionprivate static CompoundTag
SavedTick.saveTick
(String pId, BlockPos pPos, int pDelay, TickPriority pPriority) static <T> CompoundTag
SavedTick.saveTick
(ScheduledTick<T> pTick, Function<T, String> pIdGetter, long pGameTime) 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 infoMethods 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.debug.block
Methods in net.neoforged.neoforge.debug.block that return CompoundTagModifier and TypeMethodDescriptionBlockPropertyTests.LightBlockEntity.getUpdateTag
(HolderLookup.Provider holderLookup) Methods in net.neoforged.neoforge.debug.block with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
BlockPropertyTests.LightBlockEntity.loadAdditional
(CompoundTag tag, HolderLookup.Provider holderLookup) protected void
BlockPropertyTests.LightBlockEntity.saveAdditional
(CompoundTag tag, HolderLookup.Provider holderLookup) -
Uses of CompoundTag in net.neoforged.neoforge.debug.entity
Methods in net.neoforged.neoforge.debug.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
EntityDataSerializerTest.TestEntity.addAdditionalSaveData
(CompoundTag tag) protected void
EntityTests.AdaptedSpawnEntity.addAdditionalSaveData
(CompoundTag tag) protected void
EntityTests.CustomComplexSpawnEntity.addAdditionalSaveData
(CompoundTag tag) protected void
EntityTests.SimpleEntity.addAdditionalSaveData
(CompoundTag tag) protected void
EntityDataSerializerTest.TestEntity.readAdditionalSaveData
(CompoundTag tag) protected void
EntityTests.AdaptedSpawnEntity.readAdditionalSaveData
(CompoundTag tag) protected void
EntityTests.CustomComplexSpawnEntity.readAdditionalSaveData
(CompoundTag tag) protected void
EntityTests.SimpleEntity.readAdditionalSaveData
(CompoundTag tag) -
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) -
Uses of CompoundTag in net.neoforged.neoforge.oldtest.block
Methods in net.neoforged.neoforge.oldtest.block that return CompoundTagModifier and TypeMethodDescriptionFullPotsAccessorDemo.DioriteFlowerPotBlockEntity.getUpdateTag
(HolderLookup.Provider holderLookup) Methods in net.neoforged.neoforge.oldtest.block with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
FullPotsAccessorDemo.DioriteFlowerPotBlockEntity.handleUpdateTag
(CompoundTag tag, HolderLookup.Provider holderLookup) void
FullPotsAccessorDemo.DioriteFlowerPotBlockEntity.loadAdditional
(CompoundTag tag, HolderLookup.Provider holderLookup) protected void
FullPotsAccessorDemo.DioriteFlowerPotBlockEntity.saveAdditional
(CompoundTag tag, HolderLookup.Provider holderLookup) -
Uses of CompoundTag in net.neoforged.neoforge.oldtest.client.model
Methods in net.neoforged.neoforge.oldtest.client.model that return CompoundTagModifier and TypeMethodDescriptionCustomItemDisplayContextTest.ItemHangerBlockEntity.getUpdateTag
(HolderLookup.Provider holderLookup) Methods in net.neoforged.neoforge.oldtest.client.model with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
CustomItemDisplayContextTest.ItemHangerBlockEntity.loadAdditional
(CompoundTag tag, HolderLookup.Provider holderLookup) protected void
CustomItemDisplayContextTest.ItemHangerBlockEntity.saveAdditional
(CompoundTag tag, HolderLookup.Provider holderLookup) -
Uses of CompoundTag in net.neoforged.neoforge.oldtest.entity
Methods in net.neoforged.neoforge.oldtest.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
PartEntityTest.TestEntityPart.addAdditionalSaveData
(CompoundTag nbt) protected void
PartEntityTest.TestEntityPart.readAdditionalSaveData
(CompoundTag nbt) -
Uses of CompoundTag in net.neoforged.testframework.gametest
Methods in net.neoforged.testframework.gametest with parameters of type CompoundTagModifier and TypeMethodDescriptionStructureTemplateBuilder.fill
(int x, int y, int z, int toX, int toY, int toZ, BlockState state, @Nullable CompoundTag nbt) StructureTemplateBuilder.set
(int x, int y, int z, BlockState state, @Nullable CompoundTag nbt) TemplateBuilderHelper.set
(int x, int y, int z, BlockState state, @Nullable CompoundTag nbt) -
Uses of CompoundTag in net.neoforged.testframework.impl
Methods in net.neoforged.testframework.impl that return CompoundTagModifier and TypeMethodDescriptionPlayerTestStore.save
(CompoundTag tag, HolderLookup.Provider provider) Methods in net.neoforged.testframework.impl with parameters of type CompoundTagModifier and TypeMethodDescriptionPlayerTestStore.decode
(CompoundTag tag) PlayerTestStore.save
(CompoundTag tag, HolderLookup.Provider provider)