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 CompoundTagNbtPredicate.tagThe field for thetagrecord component.Methods in net.minecraft.advancements.critereon that return CompoundTagModifier and TypeMethodDescriptionstatic CompoundTagNbtPredicate.getEntityTagToCompare(Entity pEntity) NbtPredicate.tag()Returns the value of thetagrecord 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 aNbtPredicaterecord 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 voidKeyboardHandler.copyCreateBlockCommand(BlockState pState, BlockPos pPos, CompoundTag pCompound) private voidKeyboardHandler.copyCreateEntityCommand(ResourceLocation pEntityId, Vec3 pPos, CompoundTag pCompound) private CompoundTagOptions.dataFix(CompoundTag pNbt) booleanDebugQueryHandler.handleResponse(int pTransactionId, CompoundTag pTag) Method parameters in net.minecraft.client with type arguments of type CompoundTagModifier and TypeMethodDescriptionvoidDebugQueryHandler.queryBlockEntityTag(BlockPos pPos, Consumer<CompoundTag> pTag) voidDebugQueryHandler.queryEntityTag(int pEntId, Consumer<CompoundTag> pTag) private intDebugQueryHandler.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 ServerDataServerData.read(CompoundTag pNbtCompound) Takes an NBTTagCompound with 'name' and 'ip' keys, returns a ServerData instance. -
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 CompoundTagNbtPathArgument.MatchElementNode.patternprivate final CompoundTagNbtPathArgument.MatchObjectNode.patternMethods in net.minecraft.commands.arguments that return CompoundTagModifier and TypeMethodDescriptionstatic <S> CompoundTagCompoundTagArgument.getCompoundTag(com.mojang.brigadier.context.CommandContext<S> pContext, String pName) CompoundTagArgument.parse(com.mojang.brigadier.StringReader pReader) Methods in net.minecraft.commands.arguments with parameters of type CompoundTagModifier and TypeMethodDescriptionNbtPathArgument.createTagPredicate(CompoundTag pTag) intNbtPathArgument.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 CompoundTagBlockPredicateArgument.BlockPredicate.nbtprivate final CompoundTagBlockPredicateArgument.TagPredicate.nbtprivate final CompoundTagBlockStateParser.BlockResult.nbtThe field for thenbtrecord component.private CompoundTagBlockStateParser.nbtprivate final CompoundTagBlockStateParser.TagResult.nbtThe field for thenbtrecord component.private final CompoundTagBlockInput.tagMethods in net.minecraft.commands.arguments.blocks that return CompoundTagModifier and TypeMethodDescriptionBlockStateParser.BlockResult.nbt()Returns the value of thenbtrecord component.BlockStateParser.TagResult.nbt()Returns the value of thenbtrecord 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 aBlockResultrecord class.(package private)TagPredicate(HolderSet<Block> pTag, Map<String, String> pVagueProperties, CompoundTag pNbt) Creates an instance of aTagResultrecord class. -
Uses of CompoundTag in net.minecraft.commands.functions
Methods in net.minecraft.commands.functions with parameters of type CompoundTagModifier and TypeMethodDescriptionCommandFunction.instantiate(CompoundTag pArguments, com.mojang.brigadier.CommandDispatcher<T> pDispatcher) MacroFunction.instantiate(CompoundTag pArguments, com.mojang.brigadier.CommandDispatcher<T> pDispatcher) 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 CompoundTagSnbtToNbt.applyFilters(String pFileName, CompoundTag pTag) static CompoundTagStructureUpdater.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 CompoundTagSnbtToNbt.applyFilters(String pFileName, CompoundTag pTag) static CompoundTagStructureUpdater.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> CompoundTag.CODECstatic final com.mojang.serialization.Codec<CompoundTag> TagParser.FLATTENED_CODECstatic final com.mojang.serialization.Codec<CompoundTag> TagParser.LENIENT_CODECstatic final TagType<CompoundTag> CompoundTag.TYPEMethods in net.minecraft.nbt that return CompoundTagModifier and TypeMethodDescriptionstatic CompoundTagNbtUtils.addCurrentDataVersion(CompoundTag pTag) static CompoundTagNbtUtils.addDataVersion(CompoundTag pTag, int pDataVersion) protected CompoundTagNbtOps.NbtRecordBuilder.append(String pKey, Tag pValue, CompoundTag pTag) private static CompoundTagTagParser.castToCompoundOrThrow(com.mojang.brigadier.StringReader pReader, Tag pTag) CompoundTag.copy()CompoundTag.getCompoundOrEmpty(String pKey) ListTag.getCompoundOrEmpty(int pIndex) protected CompoundTagNbtOps.NbtRecordBuilder.initBuilder()CompoundTag.merge(CompoundTag pOther) Copies all the tags ofotherinto this tag, then returns itself.(package private) static CompoundTagNbtUtils.packStructureTemplate(CompoundTag pTag) static CompoundTagTagParser.parseCompoundAsArgument(com.mojang.brigadier.StringReader pReader) static CompoundTagTagParser.parseCompoundFully(String pData) static CompoundTagReads a compound tag from a file.static CompoundTagNbtIo.read(DataInput pInput, NbtAccounter pAccounter) Reads a compound tag from a file.static CompoundTagstatic CompoundTagNbtIo.readCompressed(InputStream pZippedStream, NbtAccounter pAccounter) static CompoundTagNbtIo.readCompressed(Path pPath, NbtAccounter pAccounter) protected CompoundTagCompoundTag.shallowCopy()static CompoundTagNbtUtils.snbtToStructure(String pText) (package private) static CompoundTagNbtUtils.unpackBlockState(String p_178054_) (package private) static CompoundTagNbtUtils.unpackStructureTemplate(CompoundTag pTag) private static CompoundTagListTag.wrapElement(Tag pTag) static CompoundTagNbtUtils.writeBlockState(BlockState pState) static CompoundTagNbtUtils.writeFluidState(FluidState pState) Methods in net.minecraft.nbt that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionCompoundTag.asCompound()default Optional<CompoundTag> Tag.asCompound()ListTag.compoundStream()CompoundTag.getCompound(String pKey) ListTag.getCompound(int pIndex) CompoundTag.getType()Methods in net.minecraft.nbt with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic CompoundTagNbtUtils.addCurrentDataVersion(CompoundTag pTag) static CompoundTagNbtUtils.addDataVersion(CompoundTag pTag, int pDataVersion) protected CompoundTagNbtOps.NbtRecordBuilder.append(String pKey, Tag pValue, CompoundTag pTag) protected com.mojang.serialization.DataResult<Tag> NbtOps.NbtRecordBuilder.build(CompoundTag p_129190_, Tag p_129191_) static intNbtUtils.getDataVersion(CompoundTag pTag, int pDefaultValue) SnbtPrinterTagVisitor.getKeys(CompoundTag pTag) private static booleanListTag.isWrapper(CompoundTag pTag) CompoundTag.merge(CompoundTag pOther) Copies all the tags ofotherinto this tag, then returns itself.(package private) static StringNbtUtils.packBlockState(CompoundTag p_178076_) (package private) static CompoundTagNbtUtils.packStructureTemplate(CompoundTag pTag) static BlockStateNbtUtils.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 StringNbtUtils.structureToSnbt(CompoundTag pTag) private static TagListTag.tryUnwrap(CompoundTag pTag) (package private) static CompoundTagNbtUtils.unpackStructureTemplate(CompoundTag pTag) voidSnbtPrinterTagVisitor.visitCompound(CompoundTag pTag) voidStringTagVisitor.visitCompound(CompoundTag pTag) voidTagVisitor.visitCompound(CompoundTag pTag) voidTextComponentTagVisitor.visitCompound(CompoundTag pTag) static voidNbtIo.write(CompoundTag pCompoundTag, DataOutput pOutput) static voidNbtIo.write(CompoundTag pCompoundTag, Path pPath) static voidNbtIo.writeCompressed(CompoundTag pCompoundTag, OutputStream pOutputStream) Writes and compresses a compound tag to a GNU zipped file.static voidNbtIo.writeCompressed(CompoundTag pCompoundTag, Path pPath) -
Uses of CompoundTag in net.minecraft.nbt.visitors
Fields in net.minecraft.nbt.visitors declared as CompoundTag -
Uses of CompoundTag in net.minecraft.network
Methods in net.minecraft.network that return CompoundTagModifier and TypeMethodDescriptionFriendlyByteBuf.readNbt()static CompoundTagFriendlyByteBuf.readNbt(io.netty.buffer.ByteBuf pBuffer) -
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_TAGstatic final StreamCodec<io.netty.buffer.ByteBuf, Optional<CompoundTag>> ByteBufCodecs.OPTIONAL_COMPOUND_TAGstatic final StreamCodec<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.TRUSTED_COMPOUND_TAGMethods 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 CompoundTagClientboundBlockEntityDataPacket.tag(package private) final CompoundTagClientboundLevelChunkPacketData.BlockEntityInfo.tagprivate final CompoundTagClientboundTagQueryPacket.tagMethods in net.minecraft.network.protocol.game that return CompoundTagModifier and TypeMethodDescriptionClientboundBlockEntityDataPacket.getTag()ClientboundTagQueryPacket.getTag()Methods in net.minecraft.network.protocol.game with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidClientboundLevelChunkPacketData.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 CompoundTagModifierConstructorDescriptionprivateBlockEntityInfo(int pPackedXZ, int pY, BlockEntityType<?> pType, CompoundTag pTag) privateClientboundBlockEntityDataPacket(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.bossevents
Methods in net.minecraft.server.bossevents that return CompoundTagMethods in net.minecraft.server.bossevents with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidCustomBossEvents.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 CompoundTagCloneCommands.CloneBlockEntityInfo.tagThe field for thetagrecord component.Methods in net.minecraft.server.commands that return CompoundTagModifier and TypeMethodDescriptionprotected abstract CompoundTagFunctionCommand.FunctionCustomExecutor.arguments(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext) (package private) static CompoundTagFunctionCommand.getArgumentTag(NbtPathArgument.NbtPath pNbtPath, DataAccessor pDataAccessor) CloneCommands.CloneBlockEntityInfo.tag()Returns the value of thetagrecord component.Methods in net.minecraft.server.commands with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic EntitySummonCommand.createEntity(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pType, Vec3 pPos, CompoundTag pTag, boolean pRandomizeProperties) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions(CompoundTag pArguments, ExecutionControl<T> pExecutionControl, com.mojang.brigadier.CommandDispatcher<T> pDispatcher, T pSource, CommandFunction<T> pFunction, ResourceLocation pFunctionId, CommandResultCallback pResultCallback, boolean pReturnParentFrame) 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> pExecutionControl, 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 pOriginalSource, List<T> pSources, Function<T, T> pSourceModifier, IntPredicate pSuccessCheck, com.mojang.brigadier.context.ContextChain<T> pContextChain, CompoundTag pArguments, ExecutionControl<T> pExecutionControl, InCommandFunction<com.mojang.brigadier.context.CommandContext<T>, Collection<CommandFunction<T>>> pFunctionsGetter, ChainModifiers pChainModifiers) private static intSummonCommand.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 aCloneBlockEntityInforecord 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 intDataCommands.mergeData(CommandSourceStack pSource, DataAccessor pAccessor, CompoundTag pNbt) Merges the given NBT into the targeted object's NBT.intDataCommands.DataManipulator.modify(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, CompoundTag pNbt, NbtPathArgument.NbtPath pNbtPath, List<Tag> pTags) voidBlockDataAccessor.setData(CompoundTag pOther) voidDataAccessor.setData(CompoundTag pOther) voidEntityDataAccessor.setData(CompoundTag pOther) voidStorageDataAccessor.setData(CompoundTag pOther) -
Uses of CompoundTag in net.minecraft.server.dialog.action
Fields in net.minecraft.server.dialog.action with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final Optional<CompoundTag> CustomAll.additionsThe field for theadditionsrecord component.Methods in net.minecraft.server.dialog.action that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionCustomAll.additions()Returns the value of theadditionsrecord component.Constructor parameters in net.minecraft.server.dialog.action with type arguments of type CompoundTagModifierConstructorDescriptionCustomAll(ResourceLocation id, Optional<CompoundTag> additions) Creates an instance of aCustomAllrecord class. -
Uses of CompoundTag in net.minecraft.server.level
Methods in net.minecraft.server.level that return CompoundTagModifier and TypeMethodDescriptionprivate CompoundTagChunkMap.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 TypeMethodDescriptionprivate CompoundTagChunkMap.upgradeChunkTag(CompoundTag p_214948_) -
Uses of CompoundTag in net.minecraft.server.players
Methods in net.minecraft.server.players that return CompoundTag -
Uses of CompoundTag in net.minecraft.util.datafix
Methods in net.minecraft.util.datafix that return CompoundTagModifier and TypeMethodDescriptionDataFixTypes.update(com.mojang.datafixers.DataFixer pFixer, CompoundTag pTag, int pVersion, int pNewVersion) DataFixTypes.updateToCurrentVersion(com.mojang.datafixers.DataFixer pFixer, CompoundTag pTag, int pVersion) Methods in net.minecraft.util.datafix with parameters of type CompoundTagModifier and TypeMethodDescriptionDataFixTypes.update(com.mojang.datafixers.DataFixer pFixer, CompoundTag pTag, int pVersion, int pNewVersion) DataFixTypes.updateToCurrentVersion(com.mojang.datafixers.DataFixer pFixer, CompoundTag pTag, int pVersion) -
Uses of CompoundTag in net.minecraft.util.datafix.fixes
Methods in net.minecraft.util.datafix.fixes that return CompoundTagModifier and TypeMethodDescriptionprivate static CompoundTagprivate static CompoundTagTrialSpawnerConfigInRegistryFix.VanillaTrialChambers.removeDefaults(CompoundTag pTag) Methods in net.minecraft.util.datafix.fixes with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Dynamic<Tag> TrialSpawnerConfigInRegistryFix.VanillaTrialChambers.asDynamic(CompoundTag pTag) private static CompoundTagTrialSpawnerConfigInRegistryFix.VanillaTrialChambers.removeDefaults(CompoundTag pTag) -
Uses of CompoundTag in net.minecraft.util.worldupdate
Methods in net.minecraft.util.worldupdate that return CompoundTagModifier and TypeMethodDescriptionprotected CompoundTagWorldUpgrader.EntityUpgrader.upgradeTag(SimpleRegionStorage p_321667_, CompoundTag p_321776_) protected CompoundTagWorldUpgrader.PoiUpgrader.upgradeTag(SimpleRegionStorage p_321589_, CompoundTag p_321492_) protected abstract CompoundTagWorldUpgrader.SimpleRegionStorageUpgrader.upgradeTag(SimpleRegionStorage pRegionStorage, CompoundTag pChunkTag) Methods in net.minecraft.util.worldupdate with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected CompoundTagWorldUpgrader.EntityUpgrader.upgradeTag(SimpleRegionStorage p_321667_, CompoundTag p_321776_) protected CompoundTagWorldUpgrader.PoiUpgrader.upgradeTag(SimpleRegionStorage p_321589_, CompoundTag p_321492_) protected abstract CompoundTagWorldUpgrader.SimpleRegionStorageUpgrader.upgradeTag(SimpleRegionStorage pRegionStorage, CompoundTag pChunkTag) -
Uses of CompoundTag in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as CompoundTagMethods in net.minecraft.world.entity that return CompoundTagMethods in net.minecraft.world.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic EntityEntityType.loadEntityRecursive(CompoundTag pEntityTag, Level pLevel, EntitySpawnReason pSpawnReason, Function<Entity, Entity> pAdapter) -
Uses of CompoundTag in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic voidBucketable.loadDefaultDataFromBucketTag(Mob pMob, CompoundTag pTag) Deprecated.voidAbstractFish.loadFromBucketTag(CompoundTag pTag) voidBucketable.loadFromBucketTag(CompoundTag pTag) -
Uses of CompoundTag in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.entity.item
Fields in net.minecraft.world.entity.item declared as CompoundTag -
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_LEFTprotected static final EntityDataAccessor<CompoundTag> Player.DATA_SHOULDER_RIGHTMethods in net.minecraft.world.entity.player that return CompoundTagMethods in net.minecraft.world.entity.player with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate voidPlayer.playShoulderEntityAmbientSound(CompoundTag pEntityCompound) private voidPlayer.respawnEntityOnShoulder(CompoundTag pEntityCompound) booleanPlayer.setEntityOnShoulder(CompoundTag pEntityCompound) protected voidPlayer.setShoulderEntityLeft(CompoundTag pEntityCompound) protected voidPlayer.setShoulderEntityRight(CompoundTag pEntityCompound) -
Uses of CompoundTag in net.minecraft.world.entity.raid
Methods in net.minecraft.world.entity.raid with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.item
Methods in net.minecraft.world.item that return CompoundTagModifier and TypeMethodDescriptionprivate static CompoundTagAdventureModePredicate.saveBlockEntity(BlockEntity pBlockEntity, RegistryAccess pRegistryAccess, ProblemReporter pProblemReporter) -
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 TypeMethodDescriptionbooleanCustomData.matchedBy(CompoundTag pTag) static CustomDataCustomData.of(CompoundTag pTag) static voidCustomData.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 voidCustomData.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 CompoundTagSpawnData.entityToSpawnThe field for theentityToSpawnrecord component.Methods in net.minecraft.world.level that return CompoundTagModifier and TypeMethodDescriptionGameRules.createTag()SpawnData.entityToSpawn()Returns the value of theentityToSpawnrecord component.SpawnData.getEntityToSpawn()Constructors in net.minecraft.world.level with parameters of type CompoundTagModifierConstructorDescriptionSpawnData(CompoundTag entityToSpawn, Optional<SpawnData.CustomSpawnRules> customSpawnRules, Optional<EquipmentTable> equipment) Creates an instance of aSpawnDatarecord class. -
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) CreakingHeartBlockEntity.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) TestBlockEntity.getUpdateTag(HolderLookup.Provider pRegistries) TestInstanceBlockEntity.getUpdateTag(HolderLookup.Provider pRegistries) TheEndGatewayBlockEntity.getUpdateTag(HolderLookup.Provider pRegistries) TrialSpawnerBlockEntity.getUpdateTag(HolderLookup.Provider pRegistries) final CompoundTagBlockEntity.saveCustomOnly(HolderLookup.Provider pRegistries) final CompoundTagBlockEntity.saveWithFullMetadata(HolderLookup.Provider pRegistries) final CompoundTagBlockEntity.saveWithoutMetadata(HolderLookup.Provider pRegistries) Methods in net.minecraft.world.level.block.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic BlockPosBlockEntity.getPosFromTag(ChunkPos pChunkPos, CompoundTag pTag) static BlockEntityBlockEntity.loadStatic(BlockPos pPos, BlockState pState, CompoundTag pTag, HolderLookup.Provider pRegistries) -
Uses of CompoundTag in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner that return CompoundTagModifier and TypeMethodDescriptionTrialSpawnerStateData.getUpdateTag(TrialSpawnerState pSpawnerState) Method parameters in net.minecraft.world.level.block.entity.trialspawner with type arguments of type CompoundTagModifier and TypeMethodDescriptionTrialSpawnerConfigs.customSpawnData(EntityType<T> pEntityType, Consumer<CompoundTag> pTagConsumer) TrialSpawnerConfigs.customSpawnDataWithEquipment(EntityType<T> pEntityType, Consumer<CompoundTag> pTagConsumer, ResourceKey<LootTable> pLootTableKey) -
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) -
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) -
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.entitiesprotected final Map<BlockPos, CompoundTag> ChunkAccess.pendingBlockEntitiesMethods in net.minecraft.world.level.chunk that return CompoundTagModifier and TypeMethodDescriptionChunkAccess.getBlockEntityNbt(BlockPos pPos) ImposterProtoChunk.getBlockEntityNbt(BlockPos pPos) abstract CompoundTagChunkAccess.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 CompoundTagChunkAccess.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 TypeMethodDescriptionvoidProtoChunk.addEntity(CompoundTag pTag) private BlockEntityLevelChunk.promotePendingBlockEntity(BlockPos pPos, CompoundTag pTag) final voidChunkAccess.readAttachmentsFromNBT(HolderLookup.Provider provider, CompoundTag tag) FOR INTERNAL USE ONLYvoidChunkAccess.setBlockEntityNbt(CompoundTag pTag) voidImposterProtoChunk.setBlockEntityNbt(CompoundTag pTag) Constructors in net.minecraft.world.level.chunk with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as CompoundTagModifier and TypeFieldDescriptionprivate final CompoundTagSerializableChunkData.attachmentDataThe field for theattachmentDatarecord component.(package private) CompoundTagIOWorker.PendingStore.dataprivate final CompoundTagSerializableChunkData.structureDataThe field for thestructureDatarecord component.Fields in net.minecraft.world.level.chunk.storage with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final List<CompoundTag> SerializableChunkData.blockEntitiesThe field for theblockEntitiesrecord component.private final List<CompoundTag> SerializableChunkData.entitiesThe field for theentitiesrecord component.Methods in net.minecraft.world.level.chunk.storage that return CompoundTagModifier and TypeMethodDescriptionSerializableChunkData.attachmentData()Returns the value of theattachmentDatarecord component.(package private) CompoundTagIOWorker.PendingStore.copyData()private static CompoundTagSerializableChunkData.packStructureData(StructurePieceSerializationContext pContext, ChunkPos pPos, Map<Structure, StructureStart> pStructureStarts, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> pReferences) SerializableChunkData.structureData()Returns the value of thestructureDatarecord component.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) SerializableChunkData.write()Methods in net.minecraft.world.level.chunk.storage that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionSerializableChunkData.blockEntities()Returns the value of theblockEntitiesrecord component.SerializableChunkData.entities()Returns the value of theentitiesrecord component.Methods in net.minecraft.world.level.chunk.storage with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic ChunkStatusSerializableChunkData.getChunkStatusFromTag(CompoundTag pTag) static intChunkStorage.getVersion(CompoundTag pChunkData) static voidChunkStorage.injectDatafixingContext(CompoundTag pChunkData, ResourceKey<Level> pLevelKey, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> pChunkGeneratorKey) private booleanIOWorker.isOldChunk(CompoundTag pChunkData) static SerializableChunkDataSerializableChunkData.parse(LevelHeightAccessor pLevelHeightAccessor, RegistryAccess pRegistries, CompoundTag pTag) private static voidChunkStorage.removeDatafixingContext(CompoundTag pTag) private static voidSerializableChunkData.saveTicks(CompoundTag pTag, ChunkAccess.PackedTicks pTicks) IOWorker.store(ChunkPos pChunkPos, CompoundTag pChunkData) SerializableChunkData.unpackStructureReferences(RegistryAccess pRegistries, ChunkPos pPos, CompoundTag pTag) private static Map<Structure, StructureStart> SerializableChunkData.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) RecreatingSimpleRegionStorage.write(ChunkPos pChunkPos, CompoundTag pData) protected voidRegionFileStorage.write(ChunkPos pChunkPos, CompoundTag pChunkData) SimpleRegionStorage.write(ChunkPos pChunkPos, CompoundTag pData) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type CompoundTagModifier and TypeMethodDescriptionprivate static LevelChunk.PostLoadProcessorSerializableChunkData.postLoadChunk(ServerLevel pLevel, List<CompoundTag> pEntities, List<CompoundTag> pBlockEntities) IOWorker.store(ChunkPos pChunkPos, Supplier<CompoundTag> pDataSupplier) ChunkStorage.write(ChunkPos pPos, Supplier<CompoundTag> pTagSupplier) RecreatingChunkStorage.write(ChunkPos pPos, Supplier<CompoundTag> pTagSupplier) Constructors in net.minecraft.world.level.chunk.storage with parameters of type CompoundTagModifierConstructorDescriptionPendingStore(CompoundTag pData) (package private)SerializableChunkData(Registry<Biome> biomeRegistry, ChunkPos chunkPos, int minSectionY, long lastUpdateTime, long inhabitedTime, ChunkStatus chunkStatus, BlendingData.Packed blendingData, BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, long[] carvingMask, Map<Heightmap.Types, long[]> heightmaps, ChunkAccess.PackedTicks packedTicks, it.unimi.dsi.fastutil.shorts.ShortList[] postProcessingSections, boolean lightCorrect, List<SerializableChunkData.SectionData> sectionData, List<CompoundTag> entities, List<CompoundTag> blockEntities, CompoundTag structureData) Deprecated.Neo: use constructor with additional data insteadSerializableChunkData(Registry<Biome> biomeRegistry, ChunkPos chunkPos, int minSectionY, long lastUpdateTime, long inhabitedTime, ChunkStatus chunkStatus, BlendingData.Packed blendingData, BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, long[] carvingMask, Map<Heightmap.Types, long[]> heightmaps, ChunkAccess.PackedTicks packedTicks, it.unimi.dsi.fastutil.shorts.ShortList[] postProcessingSections, boolean lightCorrect, List<SerializableChunkData.SectionData> sectionData, List<CompoundTag> entities, List<CompoundTag> blockEntities, CompoundTag structureData, CompoundTag attachmentData, ListTag auxLightData) Creates an instance of aSerializableChunkDatarecord class. -
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.dataMapMethods in net.minecraft.world.level.levelgen.structure that return CompoundTagModifier and TypeMethodDescriptionfinal CompoundTagStructurePiece.createTag(StructurePieceSerializationContext pContext) StructureStart.createTag(StructurePieceSerializationContext pContext, ChunkPos pChunkPos) LegacyStructureDataHandler.updateFromLegacy(CompoundTag pTag) private CompoundTagLegacyStructureDataHandler.updateStructureStart(CompoundTag pTag, ChunkPos pChunkPos) Methods in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidPoolElementStructurePiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidScatteredFeaturePiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected abstract voidStructurePiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidTemplateStructurePiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) static StructureStartStructureStart.loadStaticStart(StructurePieceSerializationContext pContext, CompoundTag pTag, long pSeed) private it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> StructureCheck.loadStructures(CompoundTag pTag) LegacyStructureDataHandler.updateFromLegacy(CompoundTag pTag) private CompoundTagLegacyStructureDataHandler.updateStructureStart(CompoundTag pTag, ChunkPos pChunkPos) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifierConstructorDescriptionPoolElementStructurePiece(StructurePieceSerializationContext pContext, CompoundTag pTag) protectedScatteredFeaturePiece(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 StructurePieceStructurePieceType.ContextlessType.load(StructurePieceSerializationContext pContext, CompoundTag pTag) StructurePieceType.load(StructurePieceSerializationContext pContext, CompoundTag pTag) default StructurePieceStructurePieceType.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 voidBuriedTreasurePieces.BuriedTreasurePiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidDesertPyramidPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidEndCityPieces.EndCityPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidIglooPieces.IglooPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidJungleTemplePiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidMineshaftPieces.MineShaftCorridor.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidMineshaftPieces.MineShaftCrossing.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidMineshaftPieces.MineShaftPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidMineshaftPieces.MineShaftRoom.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidNetherFortressPieces.BridgeEndFiller.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidNetherFortressPieces.MonsterThrone.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidNetherFortressPieces.NetherBridgePiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidNetherFossilPieces.NetherFossilPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidOceanMonumentPieces.OceanMonumentPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidOceanRuinPieces.OceanRuinPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidRuinedPortalPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidShipwreckPieces.ShipwreckPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidStrongholdPieces.ChestCorridor.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidStrongholdPieces.FillerCorridor.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidStrongholdPieces.FiveCrossing.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidStrongholdPieces.Library.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidStrongholdPieces.PortalRoom.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidStrongholdPieces.RoomCrossing.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidStrongholdPieces.StairsDown.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidStrongholdPieces.Straight.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidStrongholdPieces.StrongholdPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidSwampHutPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) protected voidWoodlandMansionPieces.WoodlandMansionPiece.addAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) OceanRuinPieces.OceanRuinPiece.create(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) private static StructurePlaceSettingsRuinedPortalPiece.makeSettings(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag, ResourceLocation pLocation) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type CompoundTagModifierConstructorDescriptionBridgeCrossing(CompoundTag pTag) protectedBridgeCrossing(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) privateOceanRuinPiece(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 CompoundTagStructureTemplate.StructureBlockInfo.nbtThe field for thenbtrecord component.final CompoundTagStructureTemplate.StructureEntityInfo.nbtMethods 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 thenbtrecord component.StructureTemplate.save(CompoundTag pTag) Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type CompoundTagModifier and TypeMethodDescriptionStructureTemplate.createEntityIgnoreException(ProblemReporter pProblemReporter, ServerLevelAccessor pLevel, CompoundTag pTag) static JigsawBlockEntity.JointTypeStructureTemplate.getJointType(CompoundTag pTag, BlockState pState) ProcessorRule.getOutputTag(RandomSource pRandom, CompoundTag pTag) voidStructureTemplate.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 aStructureBlockInforecord 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.storage
Fields in net.minecraft.world.level.storage declared as CompoundTagModifier and TypeFieldDescriptionprivate CompoundTagPrimaryLevelData.customBossEventsprivate final CompoundTagTagValueInput.inputprivate final CompoundTagPrimaryLevelData.loadedPlayerTagprivate final CompoundTagTagValueOutput.outputFields in net.minecraft.world.level.storage with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final List<CompoundTag> TagValueInput.CompoundListWrapper.listprivate final Map<String, CompoundTag> CommandStorage.Container.storageMethods in net.minecraft.world.level.storage that return CompoundTagModifier and TypeMethodDescriptionTagValueOutput.buildResult()PrimaryLevelData.createTag(RegistryAccess pRegistries, CompoundTag pHostPlayerNBT) WorldData.createTag(RegistryAccess pRegistries, CompoundTag pHostPlayerNBT) private <T extends SavedData>
CompoundTagDimensionDataStorage.encodeUnchecked(SavedDataType<T> pType, SavedData pData, RegistryOps<Tag> pOps) CommandStorage.get(ResourceLocation pId) PrimaryLevelData.getCustomBossEvents()WorldData.getCustomBossEvents()PrimaryLevelData.getLoadedPlayerTag()WorldData.getLoadedPlayerTag()(package private) static CompoundTagLevelStorageSource.readLevelDataTagRaw(Path pLevelPath) DimensionDataStorage.readTagFromDisk(String pFilename, DataFixTypes pDataFixType, int pVersion) Methods in net.minecraft.world.level.storage that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionprivate Map<SavedDataType<?>, CompoundTag> DimensionDataStorage.collectDirtyTagsToSave()private Optional<CompoundTag> Methods in net.minecraft.world.level.storage with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic ValueInputTagValueInput.create(ProblemReporter pProblemReporter, HolderLookup.Provider pLookup, CompoundTag pInput) PrimaryLevelData.createTag(RegistryAccess pRegistries, CompoundTag pHostPlayerNBT) WorldData.createTag(RegistryAccess pRegistries, CompoundTag pHostPlayerNBT) voidCommandStorage.Container.put(String pId, CompoundTag pNbt) voidLevelStorageSource.LevelStorageAccess.saveDataTag(RegistryAccess pRegistries, WorldData pServerConfiguration, CompoundTag pHostPlayerNBT) private voidLevelStorageSource.LevelStorageAccess.saveLevelData(CompoundTag pTag) voidCommandStorage.set(ResourceLocation pId, CompoundTag pNbt) voidPrimaryLevelData.setCustomBossEvents(CompoundTag pNbt) voidWorldData.setCustomBossEvents(CompoundTag pNbt) private voidPrimaryLevelData.setTagData(RegistryAccess pRegistry, CompoundTag pNbt, CompoundTag pPlayerNBT) voidTagValueOutput.store(CompoundTag tag) private voidDimensionDataStorage.tryWrite(SavedDataType<?> pType, CompoundTag pTag) (package private) ValueInputTagValueInput.CompoundListWrapper.wrapChild(int pIndex, CompoundTag pTag) private ValueInputTagValueInput.wrapChild(String pKey, CompoundTag pTag) (package private) static ValueInputTagValueInput.wrapChild(ProblemReporter pProblemReporter, ValueInputContextHelper pContext, CompoundTag pTag) Method parameters in net.minecraft.world.level.storage with type arguments of type CompoundTagModifier and TypeMethodDescriptionstatic ValueInput.ValueInputListTagValueInput.create(ProblemReporter pProblemReporter, HolderLookup.Provider pLookup, List<CompoundTag> pInput) private voidLevelStorageSource.LevelStorageAccess.modifyLevelDataWithoutDatafix(Consumer<CompoundTag> pModifier) Constructors in net.minecraft.world.level.storage with parameters of type CompoundTagModifierConstructorDescriptionprivatePrimaryLevelData(CompoundTag pLoadedPlayerTag, boolean pWasModded, BlockPos pSpawnPos, float pSpawnAngle, long pGameTime, long pDayTime, int pVersion, int pClearWeatherTime, int pRainTime, boolean pRaining, int pThunderTime, boolean pThundering, boolean pInitialized, boolean pDifficultyLocked, WorldBorder.Settings pWorldBorder, int pWanderingTraderSpawnDelay, int pWanderingTraderSpawnChance, UUID pWanderingTraderId, Set<String> pKnownServerBrands, Set<String> pRemovedFeatureFlags, TimerQueue<MinecraftServer> pScheduledEvents, CompoundTag pCustomBossEvents, EndDragonFight.Data pEndDragonFightData, LevelSettings pSettings, WorldOptions pWorldOptions, PrimaryLevelData.SpecialWorldProperty pSpecialWorldProperty, com.mojang.serialization.Lifecycle pWorldGenSettingsLifecycle) privateTagValueInput(ProblemReporter pProblemReporter, ValueInputContextHelper pContext, CompoundTag pInput) (package private)TagValueOutput(ProblemReporter pProblemReporter, com.mojang.serialization.DynamicOps<Tag> pOps, CompoundTag pTag) Constructor parameters in net.minecraft.world.level.storage with type arguments of type CompoundTagModifierConstructorDescriptionCompoundListWrapper(ProblemReporter pProblemReporter, ValueInputContextHelper pContext, List<CompoundTag> pList) privateContainer(Map<String, CompoundTag> p_401367_) -
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 CompoundTagModifierConstructorDescriptionprivateSetCustomDataFunction(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 TypeMethodDescriptionprivate CompoundTagTimerQueue.storeEvent(TimerQueue.Event<T> p_82255_) Methods in net.minecraft.world.level.timers 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 MobEffectCommonHooks.loadMobEffect(CompoundTag nbt, String key, @Nullable MobEffect fallback) static voidCommonHooks.readAdditionalLevelSaveData(CompoundTag rootTag, LevelStorageSource.LevelDirectory levelDirectory) static voidCommonHooks.saveMobEffect(CompoundTag nbt, String key, MobEffect effect) static voidCommonHooks.writeAdditionalLevelSaveData(WorldData worldData, CompoundTag levelTag) static voidIOUtilities.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 voidIOUtilities.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 aCompoundTagthat 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.Methods in net.neoforged.neoforge.common.extensions with parameters of type CompoundTagModifier and TypeMethodDescriptiondefault voidValueOutputExtension.store(CompoundTag tag) Store the elements of the giventagin the root level of this object, with the same keys as in thetag. -
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 CompoundTagBlockSnapshot.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 CompoundTagBlockSnapshot.getTag()Returns the recorded block entity NBT data, if one was present.static @Nullable CompoundTagJsonUtils.readNBT(JsonObject json, String key) Constructors in net.neoforged.neoforge.common.util with parameters of type CompoundTagModifierConstructorDescriptionprivateBlockSnapshot(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags)