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 p_57486_) 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 p_90900_, BlockPos p_90901_, CompoundTag p_90902_) private voidKeyboardHandler.copyCreateEntityCommand(ResourceLocation p_90923_, Vec3 p_90924_, CompoundTag p_90925_) private CompoundTagOptions.dataFix(CompoundTag p_92165_) booleanDebugQueryHandler.handleResponse(int p_90706_, CompoundTag p_90707_) Method parameters in net.minecraft.client with type arguments of type CompoundTagModifier and TypeMethodDescriptionvoidDebugQueryHandler.queryBlockEntityTag(BlockPos p_90709_, Consumer<CompoundTag> p_90710_) voidDebugQueryHandler.queryEntityTag(int p_90703_, Consumer<CompoundTag> p_90704_) private intDebugQueryHandler.startTransaction(Consumer<CompoundTag> p_90712_) -
Uses of CompoundTag in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return CompoundTagMethods in net.minecraft.client.multiplayer with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic ServerDataServerData.read(CompoundTag p_105386_) ClientChunkCache.replaceWithPacketData(int p_194117_, int p_194118_, FriendlyByteBuf p_194119_, CompoundTag p_194120_, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> p_194121_) -
Uses of CompoundTag in net.minecraft.client.server
Fields in net.minecraft.client.server declared as CompoundTagMethods in net.minecraft.client.server that return CompoundTag -
Uses of CompoundTag in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as CompoundTagModifier and TypeFieldDescriptionprivate final 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> p_87661_, String p_87662_) CompoundTagArgument.parse(com.mojang.brigadier.StringReader p_87659_) Methods in net.minecraft.commands.arguments with parameters of type CompoundTagModifier and TypeMethodDescriptionNbtPathArgument.createTagPredicate(CompoundTag p_99511_) intNbtPathArgument.NbtPath.insert(int p_263397_, CompoundTag p_263348_, List<Tag> p_263419_) Constructors in net.minecraft.commands.arguments with parameters of type CompoundTagModifierConstructorDescriptionMatchElementNode(CompoundTag p_99566_) MatchObjectNode(String p_99588_, CompoundTag p_99589_) MatchRootObjectNode(CompoundTag p_99605_) -
Uses of CompoundTag in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks declared as CompoundTagModifier and TypeFieldDescriptionprivate final 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 p_114666_, Set<Property<?>> p_114667_, CompoundTag p_114668_) BlockPredicate(BlockState p_115595_, Set<Property<?>> p_115596_, CompoundTag p_115597_) BlockResult(BlockState blockState, Map<Property<?>, Comparable<?>> properties, CompoundTag nbt) Creates an instance of aBlockResultrecord class.(package private)TagPredicate(HolderSet<Block> p_234637_, Map<String, String> p_234638_, CompoundTag p_234639_) 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 p_306231_, com.mojang.brigadier.CommandDispatcher<T> p_305923_) MacroFunction.instantiate(CompoundTag p_305810_, com.mojang.brigadier.CommandDispatcher<T> p_306149_) PlainTextFunction.instantiate(CompoundTag p_306181_, com.mojang.brigadier.CommandDispatcher<T> p_306210_) -
Uses of CompoundTag in net.minecraft.data.structures
Methods in net.minecraft.data.structures that return CompoundTagModifier and TypeMethodDescriptionSnbtToNbt.Filter.apply(String p_126480_, CompoundTag p_126481_) StructureUpdater.apply(String p_126503_, CompoundTag p_126504_) private CompoundTagSnbtToNbt.applyFilters(String p_126461_, CompoundTag p_126462_) static CompoundTagStructureUpdater.update(String p_176823_, CompoundTag p_176824_) Methods in net.minecraft.data.structures with parameters of type CompoundTagModifier and TypeMethodDescriptionSnbtToNbt.Filter.apply(String p_126480_, CompoundTag p_126481_) StructureUpdater.apply(String p_126503_, CompoundTag p_126504_) private CompoundTagSnbtToNbt.applyFilters(String p_126461_, CompoundTag p_126462_) static CompoundTagStructureUpdater.update(String p_176823_, CompoundTag p_176824_) -
Uses of CompoundTag in net.minecraft.nbt
Fields in net.minecraft.nbt with type parameters of type CompoundTagModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CompoundTag> TagParser.AS_CODECstatic final com.mojang.serialization.Codec<CompoundTag> CompoundTag.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 p_265050_) static CompoundTagNbtUtils.addDataVersion(CompoundTag p_265534_, int p_265686_) protected CompoundTagNbtOps.NbtRecordBuilder.append(String p_129186_, Tag p_129187_, CompoundTag p_129188_) CompoundTag.copy()CompoundTag.getCompound(String p_128470_) ListTag.getCompound(int p_128729_) protected CompoundTagNbtOps.NbtRecordBuilder.initBuilder()CompoundTag.merge(CompoundTag p_128392_) (package private) static CompoundTagNbtUtils.packStructureTemplate(CompoundTag p_178068_) static CompoundTagstatic CompoundTagstatic CompoundTagNbtIo.read(DataInput p_128935_, NbtAccounter p_128936_) static CompoundTagstatic CompoundTagNbtIo.readCompressed(InputStream p_307406_, NbtAccounter p_307479_) static CompoundTagNbtIo.readCompressed(Path p_309661_, NbtAccounter p_307351_) (package private) CompoundTagTagParser.readSingleStruct()TagParser.readStruct()protected CompoundTagCompoundTag.shallowCopy()static CompoundTagNbtUtils.snbtToStructure(String p_178025_) (package private) static CompoundTagNbtUtils.unpackBlockState(String p_178054_) (package private) static CompoundTagNbtUtils.unpackStructureTemplate(CompoundTag p_178072_) private static CompoundTagNbtOps.HeterogenousListCollector.wrapElement(Tag p_251263_) static CompoundTagNbtUtils.writeBlockState(BlockState p_129203_) static CompoundTagNbtUtils.writeFluidState(FluidState p_178023_) Methods in net.minecraft.nbt that return types with arguments of type CompoundTagMethods in net.minecraft.nbt with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic CompoundTagNbtUtils.addCurrentDataVersion(CompoundTag p_265050_) static CompoundTagNbtUtils.addDataVersion(CompoundTag p_265534_, int p_265686_) protected CompoundTagNbtOps.NbtRecordBuilder.append(String p_129186_, Tag p_129187_, CompoundTag p_129188_) protected com.mojang.serialization.DataResult<Tag> NbtOps.NbtRecordBuilder.build(CompoundTag p_129190_, Tag p_129191_) static intNbtUtils.getDataVersion(CompoundTag p_265397_, int p_265399_) SnbtPrinterTagVisitor.getKeys(CompoundTag p_178147_) private static booleanNbtOps.HeterogenousListCollector.isWrapper(CompoundTag p_252073_) CompoundTag.merge(CompoundTag p_128392_) (package private) static StringNbtUtils.packBlockState(CompoundTag p_178076_) (package private) static CompoundTagNbtUtils.packStructureTemplate(CompoundTag p_178068_) NbtUtils.readBlockPos(CompoundTag p_129240_, String p_326507_) static BlockStateNbtUtils.readBlockState(HolderGetter<Block> p_256363_, CompoundTag p_250775_) private static <S extends StateHolder<?,S>, T extends Comparable<T>>
SNbtUtils.setValueHelper(S p_129205_, Property<T> p_129206_, String p_129207_, CompoundTag p_129208_, CompoundTag p_129209_) static StringNbtUtils.structureToSnbt(CompoundTag p_178064_) private static TagNbtOps.tryUnwrap(CompoundTag p_251041_) (package private) static CompoundTagNbtUtils.unpackStructureTemplate(CompoundTag p_178072_) voidSnbtPrinterTagVisitor.visitCompound(CompoundTag p_178120_) voidStringTagVisitor.visitCompound(CompoundTag p_178166_) voidTagVisitor.visitCompound(CompoundTag p_178218_) voidTextComponentTagVisitor.visitCompound(CompoundTag p_178260_) static voidNbtIo.write(CompoundTag p_128942_, DataOutput p_128943_) static voidNbtIo.write(CompoundTag p_128956_, Path p_309549_) static voidNbtIo.writeCompressed(CompoundTag p_128948_, OutputStream p_128949_) static voidNbtIo.writeCompressed(CompoundTag p_128945_, Path p_309705_) -
Uses of CompoundTag in net.minecraft.network
Methods in net.minecraft.network that return CompoundTagModifier and TypeMethodDescriptionFriendlyByteBuf.readNbt()static CompoundTagFriendlyByteBuf.readNbt(io.netty.buffer.ByteBuf p_320394_) -
Uses of CompoundTag in net.minecraft.network.chat.contents
Methods in net.minecraft.network.chat.contents that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionBlockDataSource.getData(CommandSourceStack p_237323_) DataSource.getData(CommandSourceStack p_237326_) EntityDataSource.getData(CommandSourceStack p_237341_) StorageDataSource.getData(CommandSourceStack p_237491_) -
Uses of CompoundTag in net.minecraft.network.codec
Fields in net.minecraft.network.codec with type parameters of type CompoundTagModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.COMPOUND_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> p_331128_) -
Uses of CompoundTag in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as CompoundTagModifier and TypeFieldDescriptionprivate final CompoundTagClientboundLevelChunkPacketData.heightmapsprivate final CompoundTagClientboundBlockEntityDataPacket.tag(package private) final CompoundTagClientboundLevelChunkPacketData.BlockEntityInfo.tagprivate final CompoundTagClientboundTagQueryPacket.tagMethods 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 TypeMethodDescriptionvoidClientboundLevelChunkPacketData.BlockEntityTagOutput.accept(BlockPos p_195696_, BlockEntityType<?> p_195697_, CompoundTag p_195698_) Method parameters in net.minecraft.network.protocol.game with type arguments of type CompoundTagModifier and TypeMethodDescriptionClientboundBlockEntityDataPacket.create(BlockEntity p_195643_, BiFunction<BlockEntity, RegistryAccess, CompoundTag> p_324611_) Constructors in net.minecraft.network.protocol.game with parameters of type CompoundTagModifierConstructorDescriptionprivateBlockEntityInfo(int p_195685_, int p_195686_, BlockEntityType<?> p_195687_, CompoundTag p_195688_) privateClientboundBlockEntityDataPacket(BlockPos p_195637_, BlockEntityType<?> p_195638_, CompoundTag p_195639_) ClientboundTagQueryPacket(int p_133497_, CompoundTag p_133498_) -
Uses of CompoundTag in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type CompoundTagModifier and TypeFieldDescriptionstatic final EntityDataSerializer<CompoundTag> EntityDataSerializers.COMPOUND_TAG -
Uses of CompoundTag in net.minecraft.server
Methods in net.minecraft.server with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate ScoreboardSaveDataServerScoreboard.createData(CompoundTag p_180014_, HolderLookup.Provider p_324580_) -
Uses of CompoundTag in net.minecraft.server.bossevents
Methods in net.minecraft.server.bossevents that return CompoundTagModifier and TypeMethodDescriptionCustomBossEvent.save(HolderLookup.Provider p_330839_) CustomBossEvents.save(HolderLookup.Provider p_330783_) Methods in net.minecraft.server.bossevents with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic CustomBossEventCustomBossEvent.load(CompoundTag p_136273_, ResourceLocation p_136274_, HolderLookup.Provider p_331359_) voidCustomBossEvents.load(CompoundTag p_136296_, HolderLookup.Provider p_331580_) -
Uses of CompoundTag in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as CompoundTagModifier and TypeFieldDescriptionprivate final 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> p_306010_) (package private) static CompoundTagFunctionCommand.getArgumentTag(NbtPathArgument.NbtPath p_295114_, DataAccessor p_296132_) 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 p_270582_, Holder.Reference<EntityType<?>> p_270277_, Vec3 p_270366_, CompoundTag p_270197_, boolean p_270947_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions(CompoundTag p_309636_, ExecutionControl<T> p_309536_, com.mojang.brigadier.CommandDispatcher<T> p_309639_, T p_309605_, CommandFunction<T> p_309610_, ResourceLocation p_309719_, CommandResultCallback p_309544_, boolean p_309542_) static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctions(Collection<CommandFunction<T>> p_305938_, CompoundTag p_306214_, T p_306048_, T p_305876_, ExecutionControl<T> p_305902_, FunctionCommand.Callbacks<T> p_306230_, ChainModifiers p_309589_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsAsReturn(Collection<CommandFunction<T>> p_309534_, CompoundTag p_309696_, T p_309655_, T p_309547_, ExecutionControl<T> p_309663_, FunctionCommand.Callbacks<T> p_309585_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsNoReturn(Collection<CommandFunction<T>> p_309573_, CompoundTag p_309637_, T p_309693_, T p_309593_, ExecutionControl<T> p_309574_, FunctionCommand.Callbacks<T> p_309570_) static <T extends ExecutionCommandSource<T>>
voidExecuteCommand.scheduleFunctionConditionsAndTest(T p_309624_, List<T> p_306057_, Function<T, T> p_306045_, IntPredicate p_306343_, com.mojang.brigadier.context.ContextChain<T> p_306308_, CompoundTag p_306076_, ExecutionControl<T> p_306202_, ExecuteCommand.CommandGetter<T, Collection<CommandFunction<T>>> p_305836_, ChainModifiers p_309703_) private static intSummonCommand.spawnEntity(CommandSourceStack p_249752_, Holder.Reference<EntityType<?>> p_251948_, Vec3 p_251429_, CompoundTag p_250568_, boolean p_250229_) Constructors in net.minecraft.server.commands with parameters of type CompoundTagModifierConstructorDescription(package private)CloneBlockEntityInfo(CompoundTag tag, DataComponentMap components) Creates an instance of 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 p_139395_, DataAccessor p_139396_, CompoundTag p_139397_) intDataCommands.DataManipulator.modify(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139496_, CompoundTag p_139497_, NbtPathArgument.NbtPath p_139498_, List<Tag> p_139499_) voidBlockDataAccessor.setData(CompoundTag p_139307_) voidDataAccessor.setData(CompoundTag p_139323_) voidEntityDataAccessor.setData(CompoundTag p_139519_) voidStorageDataAccessor.setData(CompoundTag p_139556_) -
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 TypeMethodDescriptionvoidServerPlayer.addAdditionalSaveData(CompoundTag p_9197_) private static booleanChunkMap.isChunkDataValid(CompoundTag p_214941_) voidServerPlayer.loadGameTypes(CompoundTag p_143428_) voidServerPlayer.readAdditionalSaveData(CompoundTag p_9131_) private static GameTypeServerPlayer.readPlayerMode(CompoundTag p_143414_, String p_143415_) private voidServerPlayer.storeGameTypes(CompoundTag p_143431_) private CompoundTagChunkMap.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 CompoundTagServerStatsCounter.fromJson(com.google.gson.JsonObject p_12831_) ServerRecipeBook.toNbt()Methods in net.minecraft.stats with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidServerRecipeBook.fromNbt(CompoundTag p_12795_, RecipeManager p_12796_) static RecipeBookSettingsRecipeBookSettings.read(CompoundTag p_12742_) voidRecipeBookSettings.write(CompoundTag p_12760_) -
Uses of CompoundTag in net.minecraft.util.datafix
Methods in net.minecraft.util.datafix that return CompoundTagModifier and TypeMethodDescriptionDataFixTypes.update(com.mojang.datafixers.DataFixer p_265128_, CompoundTag p_265422_, int p_265549_, int p_265304_) DataFixTypes.updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265583_, CompoundTag p_265401_, int p_265111_) Methods in net.minecraft.util.datafix with parameters of type CompoundTagModifier and TypeMethodDescriptionDataFixTypes.update(com.mojang.datafixers.DataFixer p_265128_, CompoundTag p_265422_, int p_265549_, int p_265304_) DataFixTypes.updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265583_, CompoundTag p_265401_, int p_265111_) -
Uses of CompoundTag in net.minecraft.util.datafix.fixes
Methods in net.minecraft.util.datafix.fixes that return CompoundTag -
Uses of CompoundTag in net.minecraft.util.worldupdate
Methods in net.minecraft.util.worldupdate that return CompoundTagModifier and TypeMethodDescriptionprotected 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 p_321857_, CompoundTag p_321575_) 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 p_321857_, CompoundTag p_321575_) -
Uses of CompoundTag in net.minecraft.world
Methods in net.minecraft.world that return CompoundTagModifier and TypeMethodDescriptionRandomSequences.save(CompoundTag p_287658_, HolderLookup.Provider p_323500_) static CompoundTagContainerHelper.saveAllItems(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_, HolderLookup.Provider p_330957_) static CompoundTagContainerHelper.saveAllItems(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_, HolderLookup.Provider p_331375_) Methods in net.minecraft.world with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidLockCode.addToTag(CompoundTag p_19110_) static LockCodeLockCode.fromTag(CompoundTag p_19112_) private static booleanRandomSequences.getBooleanWithDefault(CompoundTag p_296109_, String p_295934_, boolean p_295516_) static RandomSequencesRandomSequences.load(long p_287756_, CompoundTag p_287587_) static voidContainerHelper.loadAllItems(CompoundTag p_18981_, NonNullList<ItemStack> p_18982_, HolderLookup.Provider p_332027_) RandomSequences.save(CompoundTag p_287658_, HolderLookup.Provider p_323500_) static CompoundTagContainerHelper.saveAllItems(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_, HolderLookup.Provider p_330957_) static CompoundTagContainerHelper.saveAllItems(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_, HolderLookup.Provider p_331375_) default booleanRandomizableContainer.tryLoadLootTable(CompoundTag p_309695_) default booleanRandomizableContainer.trySaveLootTable(CompoundTag p_309634_) -
Uses of CompoundTag in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic MobEffectInstanceMobEffectInstance.load(CompoundTag p_19561_) -
Uses of CompoundTag in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as CompoundTagModifier and TypeFieldDescriptionprivate CompoundTagMarker.dataprivate CompoundTagEntity.persistentDataMethods in net.minecraft.world.entity that return CompoundTagModifier and TypeMethodDescriptionEntity.getPersistentData()Entity.saveWithoutId(CompoundTag p_20241_) Methods in net.minecraft.world.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAgeableMob.addAdditionalSaveData(CompoundTag p_146761_) protected voidAreaEffectCloud.addAdditionalSaveData(CompoundTag p_19737_) protected voidDisplay.addAdditionalSaveData(CompoundTag p_270779_) protected voidDisplay.BlockDisplay.addAdditionalSaveData(CompoundTag p_270469_) protected voidDisplay.ItemDisplay.addAdditionalSaveData(CompoundTag p_270669_) protected voidDisplay.TextDisplay.addAdditionalSaveData(CompoundTag p_270268_) protected abstract voidEntity.addAdditionalSaveData(CompoundTag p_20139_) voidExperienceOrb.addAdditionalSaveData(CompoundTag p_20796_) voidGlowSquid.addAdditionalSaveData(CompoundTag p_147122_) protected voidInteraction.addAdditionalSaveData(CompoundTag p_273772_) voidItemBasedSteering.addAdditionalSaveData(CompoundTag p_20848_) protected voidLightningBolt.addAdditionalSaveData(CompoundTag p_20877_) voidLivingEntity.addAdditionalSaveData(CompoundTag p_21145_) protected voidMarker.addAdditionalSaveData(CompoundTag p_147257_) voidMob.addAdditionalSaveData(CompoundTag p_21484_) protected voidOminousItemSpawner.addAdditionalSaveData(CompoundTag p_338411_) voidTamableAnimal.addAdditionalSaveData(CompoundTag p_21819_) default voidNeutralMob.addPersistentAngerSaveData(CompoundTag p_21679_) static Optional<EntityType<?>> EntityType.by(CompoundTag p_20638_) EntityType.create(CompoundTag p_20643_, Level p_20644_) voidEntity.load(CompoundTag p_20259_) static EntityEntityType.loadEntityRecursive(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) private static byteDisplay.TextDisplay.loadFlag(byte p_270219_, CompoundTag p_270994_, String p_270958_, byte p_270701_) EntityType.loadStaticEntity(CompoundTag p_20670_, Level p_20671_) voidAgeableMob.readAdditionalSaveData(CompoundTag p_146752_) protected voidAreaEffectCloud.readAdditionalSaveData(CompoundTag p_19727_) protected voidDisplay.BlockDisplay.readAdditionalSaveData(CompoundTag p_270139_) protected voidDisplay.ItemDisplay.readAdditionalSaveData(CompoundTag p_270713_) protected voidDisplay.readAdditionalSaveData(CompoundTag p_270854_) protected voidDisplay.TextDisplay.readAdditionalSaveData(CompoundTag p_270714_) protected abstract voidEntity.readAdditionalSaveData(CompoundTag p_20052_) voidExperienceOrb.readAdditionalSaveData(CompoundTag p_20788_) voidGlowSquid.readAdditionalSaveData(CompoundTag p_147117_) protected voidInteraction.readAdditionalSaveData(CompoundTag p_272702_) voidItemBasedSteering.readAdditionalSaveData(CompoundTag p_20853_) protected voidLightningBolt.readAdditionalSaveData(CompoundTag p_20873_) voidLivingEntity.readAdditionalSaveData(CompoundTag p_21096_) protected voidMarker.readAdditionalSaveData(CompoundTag p_147254_) voidMob.readAdditionalSaveData(CompoundTag p_21450_) protected voidOminousItemSpawner.readAdditionalSaveData(CompoundTag p_338507_) voidTamableAnimal.readAdditionalSaveData(CompoundTag p_21815_) default Leashable.LeashDataLeashable.readLeashData(CompoundTag p_352410_) default voidNeutralMob.readPersistentAngerSaveData(Level p_147286_, CompoundTag p_147287_) booleanEntity.save(CompoundTag p_20224_) booleanEntity.saveAsPassenger(CompoundTag p_20087_) Entity.saveWithoutId(CompoundTag p_20241_) private static voidDisplay.TextDisplay.storeFlag(byte p_270879_, CompoundTag p_270177_, String p_270294_, byte p_270853_) default voidLeashable.writeLeashData(CompoundTag p_352349_, Leashable.LeashData p_352363_) -
Uses of CompoundTag in net.minecraft.world.entity.ai.attributes
Methods in net.minecraft.world.entity.ai.attributes that return CompoundTagMethods in net.minecraft.world.entity.ai.attributes with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAttributeInstance.load(CompoundTag p_22114_) static AttributeModifierAttributeModifier.load(CompoundTag p_22213_) -
Uses of CompoundTag in net.minecraft.world.entity.ambient
Methods in net.minecraft.world.entity.ambient with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidBat.addAdditionalSaveData(CompoundTag p_27443_) voidBat.readAdditionalSaveData(CompoundTag p_27427_) -
Uses of CompoundTag in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAbstractFish.addAdditionalSaveData(CompoundTag p_27485_) voidAnimal.addAdditionalSaveData(CompoundTag p_27587_) voidBee.addAdditionalSaveData(CompoundTag p_27823_) voidCat.addAdditionalSaveData(CompoundTag p_28156_) voidChicken.addAdditionalSaveData(CompoundTag p_28257_) voidDolphin.addAdditionalSaveData(CompoundTag p_28364_) voidFox.addAdditionalSaveData(CompoundTag p_28518_) voidIronGolem.addAdditionalSaveData(CompoundTag p_28867_) voidMushroomCow.addAdditionalSaveData(CompoundTag p_28944_) voidOcelot.addAdditionalSaveData(CompoundTag p_29024_) voidPanda.addAdditionalSaveData(CompoundTag p_29129_) voidParrot.addAdditionalSaveData(CompoundTag p_29422_) voidPig.addAdditionalSaveData(CompoundTag p_29495_) voidPolarBear.addAdditionalSaveData(CompoundTag p_29548_) voidPufferfish.addAdditionalSaveData(CompoundTag p_29624_) voidRabbit.addAdditionalSaveData(CompoundTag p_29697_) voidSheep.addAdditionalSaveData(CompoundTag p_29864_) voidSnowGolem.addAdditionalSaveData(CompoundTag p_29923_) voidTropicalFish.addAdditionalSaveData(CompoundTag p_30033_) voidTurtle.addAdditionalSaveData(CompoundTag p_30176_) voidWolf.addAdditionalSaveData(CompoundTag p_30418_) static voidBucketable.loadDefaultDataFromBucketTag(Mob p_148826_, CompoundTag p_148827_) Deprecated.voidAbstractFish.loadFromBucketTag(CompoundTag p_148708_) voidBucketable.loadFromBucketTag(CompoundTag p_148832_) voidTropicalFish.loadFromBucketTag(CompoundTag p_323573_) voidAbstractFish.readAdditionalSaveData(CompoundTag p_27465_) voidAnimal.readAdditionalSaveData(CompoundTag p_27576_) voidBee.readAdditionalSaveData(CompoundTag p_27793_) voidCat.readAdditionalSaveData(CompoundTag p_28142_) voidChicken.readAdditionalSaveData(CompoundTag p_28243_) voidDolphin.readAdditionalSaveData(CompoundTag p_28340_) voidFox.readAdditionalSaveData(CompoundTag p_28493_) voidIronGolem.readAdditionalSaveData(CompoundTag p_28857_) voidMushroomCow.readAdditionalSaveData(CompoundTag p_28936_) voidOcelot.readAdditionalSaveData(CompoundTag p_29013_) voidPanda.readAdditionalSaveData(CompoundTag p_29115_) voidParrot.readAdditionalSaveData(CompoundTag p_29402_) voidPig.readAdditionalSaveData(CompoundTag p_29478_) voidPolarBear.readAdditionalSaveData(CompoundTag p_29541_) voidPufferfish.readAdditionalSaveData(CompoundTag p_29613_) voidRabbit.readAdditionalSaveData(CompoundTag p_29684_) voidSheep.readAdditionalSaveData(CompoundTag p_29845_) voidSnowGolem.readAdditionalSaveData(CompoundTag p_29915_) voidTropicalFish.readAdditionalSaveData(CompoundTag p_30029_) voidTurtle.readAdditionalSaveData(CompoundTag p_30162_) voidWolf.readAdditionalSaveData(CompoundTag p_30402_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAllay.addAdditionalSaveData(CompoundTag p_218367_) voidAllay.readAdditionalSaveData(CompoundTag p_218350_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.armadillo
Methods in net.minecraft.world.entity.animal.armadillo with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidArmadillo.addAdditionalSaveData(CompoundTag p_316752_) voidArmadillo.readAdditionalSaveData(CompoundTag p_316298_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAxolotl.addAdditionalSaveData(CompoundTag p_149158_) voidAxolotl.loadFromBucketTag(CompoundTag p_149163_) voidAxolotl.readAdditionalSaveData(CompoundTag p_149145_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidCamel.addAdditionalSaveData(CompoundTag p_250330_) voidCamel.readAdditionalSaveData(CompoundTag p_250781_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidFrog.addAdditionalSaveData(CompoundTag p_218508_) voidTadpole.addAdditionalSaveData(CompoundTag p_218709_) voidTadpole.loadFromBucketTag(CompoundTag p_218715_) voidFrog.readAdditionalSaveData(CompoundTag p_218496_) voidTadpole.readAdditionalSaveData(CompoundTag p_218698_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidGoat.addAdditionalSaveData(CompoundTag p_149385_) voidGoat.readAdditionalSaveData(CompoundTag p_149373_) -
Uses of CompoundTag in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAbstractChestedHorse.addAdditionalSaveData(CompoundTag p_30496_) voidAbstractHorse.addAdditionalSaveData(CompoundTag p_30589_) voidHorse.addAdditionalSaveData(CompoundTag p_30716_) voidLlama.addAdditionalSaveData(CompoundTag p_30793_) voidSkeletonHorse.addAdditionalSaveData(CompoundTag p_30907_) voidTraderLlama.addAdditionalSaveData(CompoundTag p_30950_) voidAbstractChestedHorse.readAdditionalSaveData(CompoundTag p_30488_) voidAbstractHorse.readAdditionalSaveData(CompoundTag p_30565_) voidHorse.readAdditionalSaveData(CompoundTag p_30711_) voidLlama.readAdditionalSaveData(CompoundTag p_30780_) voidSkeletonHorse.readAdditionalSaveData(CompoundTag p_30901_) voidTraderLlama.readAdditionalSaveData(CompoundTag p_30948_) -
Uses of CompoundTag in net.minecraft.world.entity.boss
Methods in net.minecraft.world.entity.boss with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidEnderDragonPart.addAdditionalSaveData(CompoundTag p_31028_) protected voidEnderDragonPart.readAdditionalSaveData(CompoundTag p_31025_) -
Uses of CompoundTag in net.minecraft.world.entity.boss.enderdragon
Methods in net.minecraft.world.entity.boss.enderdragon with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidEndCrystal.addAdditionalSaveData(CompoundTag p_31062_) voidEnderDragon.addAdditionalSaveData(CompoundTag p_31144_) protected voidEndCrystal.readAdditionalSaveData(CompoundTag p_31055_) voidEnderDragon.readAdditionalSaveData(CompoundTag p_31134_) -
Uses of CompoundTag in net.minecraft.world.entity.boss.wither
Methods in net.minecraft.world.entity.boss.wither with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidWitherBoss.addAdditionalSaveData(CompoundTag p_31485_) voidWitherBoss.readAdditionalSaveData(CompoundTag p_31474_) -
Uses of CompoundTag in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return CompoundTagMethods in net.minecraft.world.entity.decoration with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidArmorStand.addAdditionalSaveData(CompoundTag p_31619_) voidBlockAttachedEntity.addAdditionalSaveData(CompoundTag p_344925_) voidItemFrame.addAdditionalSaveData(CompoundTag p_31808_) voidLeashFenceKnotEntity.addAdditionalSaveData(CompoundTag p_31852_) voidPainting.addAdditionalSaveData(CompoundTag p_31935_) voidArmorStand.readAdditionalSaveData(CompoundTag p_31600_) voidBlockAttachedEntity.readAdditionalSaveData(CompoundTag p_346402_) voidItemFrame.readAdditionalSaveData(CompoundTag p_31795_) voidLeashFenceKnotEntity.readAdditionalSaveData(CompoundTag p_31850_) voidPainting.readAdditionalSaveData(CompoundTag p_31927_) private voidArmorStand.readPose(CompoundTag p_31658_) -
Uses of CompoundTag in net.minecraft.world.entity.item
Fields in net.minecraft.world.entity.item declared as CompoundTagMethods in net.minecraft.world.entity.item with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidFallingBlockEntity.addAdditionalSaveData(CompoundTag p_31973_) voidItemEntity.addAdditionalSaveData(CompoundTag p_32050_) protected voidPrimedTnt.addAdditionalSaveData(CompoundTag p_32097_) protected voidFallingBlockEntity.readAdditionalSaveData(CompoundTag p_31964_) voidItemEntity.readAdditionalSaveData(CompoundTag p_32034_) protected voidPrimedTnt.readAdditionalSaveData(CompoundTag p_32091_) -
Uses of CompoundTag in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidBogged.addAdditionalSaveData(CompoundTag p_331631_) voidCreeper.addAdditionalSaveData(CompoundTag p_32304_) voidEnderMan.addAdditionalSaveData(CompoundTag p_32520_) voidEndermite.addAdditionalSaveData(CompoundTag p_32610_) voidEvoker.addAdditionalSaveData(CompoundTag p_32646_) voidGhast.addAdditionalSaveData(CompoundTag p_32744_) voidPatrollingMonster.addAdditionalSaveData(CompoundTag p_33063_) voidPhantom.addAdditionalSaveData(CompoundTag p_33141_) voidPillager.addAdditionalSaveData(CompoundTag p_33300_) voidRavager.addAdditionalSaveData(CompoundTag p_33353_) voidShulker.addAdditionalSaveData(CompoundTag p_33443_) voidSkeleton.addAdditionalSaveData(CompoundTag p_149836_) voidSlime.addAdditionalSaveData(CompoundTag p_33619_) voidSpellcasterIllager.addAdditionalSaveData(CompoundTag p_33734_) voidStrider.addAdditionalSaveData(CompoundTag p_33918_) voidVex.addAdditionalSaveData(CompoundTag p_34015_) voidVindicator.addAdditionalSaveData(CompoundTag p_34100_) voidZoglin.addAdditionalSaveData(CompoundTag p_34234_) voidZombie.addAdditionalSaveData(CompoundTag p_34319_) voidZombieVillager.addAdditionalSaveData(CompoundTag p_34397_) voidZombifiedPiglin.addAdditionalSaveData(CompoundTag p_34458_) voidAbstractSkeleton.readAdditionalSaveData(CompoundTag p_32152_) voidBogged.readAdditionalSaveData(CompoundTag p_331225_) voidCreeper.readAdditionalSaveData(CompoundTag p_32296_) voidEnderMan.readAdditionalSaveData(CompoundTag p_32511_) voidEndermite.readAdditionalSaveData(CompoundTag p_32595_) voidEvoker.readAdditionalSaveData(CompoundTag p_32642_) voidGhast.readAdditionalSaveData(CompoundTag p_32733_) voidPatrollingMonster.readAdditionalSaveData(CompoundTag p_33055_) voidPhantom.readAdditionalSaveData(CompoundTag p_33132_) voidPillager.readAdditionalSaveData(CompoundTag p_33291_) voidRavager.readAdditionalSaveData(CompoundTag p_33344_) voidShulker.readAdditionalSaveData(CompoundTag p_33432_) voidSkeleton.readAdditionalSaveData(CompoundTag p_149833_) voidSlime.readAdditionalSaveData(CompoundTag p_33607_) voidSpellcasterIllager.readAdditionalSaveData(CompoundTag p_33732_) voidStrider.readAdditionalSaveData(CompoundTag p_33898_) voidVex.readAdditionalSaveData(CompoundTag p_34008_) voidVindicator.readAdditionalSaveData(CompoundTag p_34094_) voidZoglin.readAdditionalSaveData(CompoundTag p_34223_) voidZombie.readAdditionalSaveData(CompoundTag p_34305_) voidZombieVillager.readAdditionalSaveData(CompoundTag p_34387_) voidZombifiedPiglin.readAdditionalSaveData(CompoundTag p_34446_) -
Uses of CompoundTag in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidHoglin.addAdditionalSaveData(CompoundTag p_34529_) voidHoglin.readAdditionalSaveData(CompoundTag p_34519_) -
Uses of CompoundTag in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAbstractPiglin.addAdditionalSaveData(CompoundTag p_34661_) voidPiglin.addAdditionalSaveData(CompoundTag p_34751_) voidAbstractPiglin.readAdditionalSaveData(CompoundTag p_34659_) voidPiglin.readAdditionalSaveData(CompoundTag p_34725_) -
Uses of CompoundTag in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidWarden.addAdditionalSaveData(CompoundTag p_219434_) voidWarden.readAdditionalSaveData(CompoundTag p_219415_) -
Uses of CompoundTag in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAbstractVillager.addAdditionalSaveData(CompoundTag p_35301_) voidVillager.addAdditionalSaveData(CompoundTag p_35481_) voidWanderingTrader.addAdditionalSaveData(CompoundTag p_35861_) voidAbstractVillager.readAdditionalSaveData(CompoundTag p_35290_) voidVillager.readAdditionalSaveData(CompoundTag p_35451_) voidWanderingTrader.readAdditionalSaveData(CompoundTag p_35852_) default voidInventoryCarrier.readInventoryFromTag(CompoundTag p_253699_, HolderLookup.Provider p_330390_) default voidInventoryCarrier.writeInventoryToTag(CompoundTag p_254428_, HolderLookup.Provider p_331103_) -
Uses of CompoundTag in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player with type parameters of type CompoundTagModifier and TypeFieldDescriptionprotected static final EntityDataAccessor<CompoundTag> Player.DATA_SHOULDER_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 TypeMethodDescriptionvoidPlayer.addAdditionalSaveData(CompoundTag p_36265_) voidAbilities.addSaveData(CompoundTag p_35946_) voidAbilities.loadSaveData(CompoundTag p_35951_) private voidPlayer.playShoulderEntityAmbientSound(CompoundTag p_36368_) voidPlayer.readAdditionalSaveData(CompoundTag p_36215_) private voidPlayer.respawnEntityOnShoulder(CompoundTag p_36371_) booleanPlayer.setEntityOnShoulder(CompoundTag p_36361_) protected voidPlayer.setShoulderEntityLeft(CompoundTag p_36363_) protected voidPlayer.setShoulderEntityRight(CompoundTag p_36365_) -
Uses of CompoundTag in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAbstractArrow.addAdditionalSaveData(CompoundTag p_36772_) voidAbstractHurtingProjectile.addAdditionalSaveData(CompoundTag p_36848_) protected voidEvokerFangs.addAdditionalSaveData(CompoundTag p_36943_) voidEyeOfEnder.addAdditionalSaveData(CompoundTag p_36975_) voidFireball.addAdditionalSaveData(CompoundTag p_37013_) voidFireworkRocketEntity.addAdditionalSaveData(CompoundTag p_37075_) voidFishingHook.addAdditionalSaveData(CompoundTag p_37161_) voidLargeFireball.addAdditionalSaveData(CompoundTag p_37222_) protected voidProjectile.addAdditionalSaveData(CompoundTag p_37265_) protected voidShulkerBullet.addAdditionalSaveData(CompoundTag p_37357_) voidSpectralArrow.addAdditionalSaveData(CompoundTag p_37426_) voidThrowableItemProjectile.addAdditionalSaveData(CompoundTag p_37449_) voidThrownTrident.addAdditionalSaveData(CompoundTag p_37582_) voidWitherSkull.addAdditionalSaveData(CompoundTag p_306205_) voidAbstractArrow.readAdditionalSaveData(CompoundTag p_36761_) voidAbstractHurtingProjectile.readAdditionalSaveData(CompoundTag p_36844_) protected voidEvokerFangs.readAdditionalSaveData(CompoundTag p_36941_) voidEyeOfEnder.readAdditionalSaveData(CompoundTag p_36970_) voidFireball.readAdditionalSaveData(CompoundTag p_37009_) voidFireworkRocketEntity.readAdditionalSaveData(CompoundTag p_37073_) voidFishingHook.readAdditionalSaveData(CompoundTag p_37151_) voidLargeFireball.readAdditionalSaveData(CompoundTag p_37220_) protected voidProjectile.readAdditionalSaveData(CompoundTag p_37262_) protected voidShulkerBullet.readAdditionalSaveData(CompoundTag p_37353_) voidSpectralArrow.readAdditionalSaveData(CompoundTag p_37424_) voidThrowableItemProjectile.readAdditionalSaveData(CompoundTag p_37445_) voidThrownTrident.readAdditionalSaveData(CompoundTag p_37578_) voidWitherSkull.readAdditionalSaveData(CompoundTag p_305818_) -
Uses of CompoundTag in net.minecraft.world.entity.raid
Methods in net.minecraft.world.entity.raid that return CompoundTagModifier and TypeMethodDescriptionRaid.save(CompoundTag p_37748_) Raids.save(CompoundTag p_37976_, HolderLookup.Provider p_323890_) Methods in net.minecraft.world.entity.raid with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidRaider.addAdditionalSaveData(CompoundTag p_37870_) static RaidsRaids.load(ServerLevel p_150236_, CompoundTag p_150237_) voidRaider.readAdditionalSaveData(CompoundTag p_37862_) Raid.save(CompoundTag p_37748_) Raids.save(CompoundTag p_37976_, HolderLookup.Provider p_323890_) Constructors in net.minecraft.world.entity.raid with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidAbstractMinecart.addAdditionalSaveData(CompoundTag p_38151_) protected voidAbstractMinecartContainer.addAdditionalSaveData(CompoundTag p_38248_) protected voidBoat.addAdditionalSaveData(CompoundTag p_38359_) protected voidChestBoat.addAdditionalSaveData(CompoundTag p_219908_) protected voidMinecartCommandBlock.addAdditionalSaveData(CompoundTag p_38529_) protected voidMinecartFurnace.addAdditionalSaveData(CompoundTag p_38567_) protected voidMinecartHopper.addAdditionalSaveData(CompoundTag p_38608_) protected voidMinecartSpawner.addAdditionalSaveData(CompoundTag p_38635_) protected voidMinecartTNT.addAdditionalSaveData(CompoundTag p_38687_) default voidContainerEntity.addChestVehicleSaveData(CompoundTag p_219944_, HolderLookup.Provider p_332101_) protected voidAbstractMinecart.readAdditionalSaveData(CompoundTag p_38137_) protected voidAbstractMinecartContainer.readAdditionalSaveData(CompoundTag p_38235_) protected voidBoat.readAdditionalSaveData(CompoundTag p_38338_) protected voidChestBoat.readAdditionalSaveData(CompoundTag p_219901_) protected voidMinecartCommandBlock.readAdditionalSaveData(CompoundTag p_38525_) protected voidMinecartFurnace.readAdditionalSaveData(CompoundTag p_38565_) protected voidMinecartHopper.readAdditionalSaveData(CompoundTag p_38606_) protected voidMinecartSpawner.readAdditionalSaveData(CompoundTag p_38633_) protected voidMinecartTNT.readAdditionalSaveData(CompoundTag p_38682_) default voidContainerEntity.readChestVehicleSaveData(CompoundTag p_219935_, HolderLookup.Provider p_331073_) -
Uses of CompoundTag in net.minecraft.world.food
Methods in net.minecraft.world.food with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidFoodData.addAdditionalSaveData(CompoundTag p_38720_) voidFoodData.readAdditionalSaveData(CompoundTag p_38716_) -
Uses of CompoundTag in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic ItemStackItemStack.parseOptional(HolderLookup.Provider p_330543_, CompoundTag p_330539_) static voidBlockItem.setBlockEntityData(ItemStack p_186339_, BlockEntityType<?> p_186340_, CompoundTag p_186341_) -
Uses of CompoundTag in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as CompoundTagMethods in net.minecraft.world.item.component that return CompoundTagMethods in net.minecraft.world.item.component with parameters of type CompoundTagModifier and TypeMethodDescriptionCustomData.itemMatcher(DataComponentType<CustomData> p_332149_, CompoundTag p_330658_) booleanCustomData.matchedBy(CompoundTag p_330550_) static CustomDataCustomData.of(CompoundTag p_330724_) static voidCustomData.set(DataComponentType<CustomData> p_330462_, ItemStack p_332015_, CompoundTag p_331019_) Method parameters in net.minecraft.world.item.component with type arguments of type CompoundTagModifier and TypeMethodDescriptionCustomData.update(Consumer<CompoundTag> p_331451_) static voidCustomData.update(DataComponentType<CustomData> p_331895_, ItemStack p_332185_, Consumer<CompoundTag> p_331274_) Constructors in net.minecraft.world.item.component with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level
Fields in net.minecraft.world.level declared as CompoundTagModifier and TypeFieldDescriptionprivate final 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()BaseCommandBlock.save(CompoundTag p_45422_, HolderLookup.Provider p_330850_) BaseSpawner.save(CompoundTag p_186382_) ForcedChunksSavedData.save(CompoundTag p_46120_, HolderLookup.Provider p_324573_) Methods in net.minecraft.world.level with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate static ResourceLocationSpawner.getEntityKey(CompoundTag p_312232_, String p_312196_) voidBaseCommandBlock.load(CompoundTag p_45432_, HolderLookup.Provider p_331513_) voidBaseSpawner.load(Level p_151329_, BlockPos p_151330_, CompoundTag p_151331_) static ForcedChunksSavedDataForcedChunksSavedData.load(CompoundTag p_151484_, HolderLookup.Provider p_323940_) BaseCommandBlock.save(CompoundTag p_45422_, HolderLookup.Provider p_330850_) BaseSpawner.save(CompoundTag p_186382_) ForcedChunksSavedData.save(CompoundTag p_46120_, HolderLookup.Provider p_324573_) Constructors in net.minecraft.world.level with parameters of type CompoundTagModifierConstructorDescriptionSpawnData(CompoundTag entityToSpawn, Optional<SpawnData.CustomSpawnRules> customSpawnRules, Optional<EquipmentTable> equipment) Creates an instance of aSpawnDatarecord class. -
Uses of CompoundTag in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidSculkSpreader.load(CompoundTag p_222270_) voidSculkSpreader.save(CompoundTag p_222276_) -
Uses of CompoundTag in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as CompoundTagMethods in net.minecraft.world.level.block.entity that return CompoundTagModifier and TypeMethodDescriptionBlockEntity.getPersistentData()BannerBlockEntity.getUpdateTag(HolderLookup.Provider p_324478_) BeaconBlockEntity.getUpdateTag(HolderLookup.Provider p_324570_) BlockEntity.getUpdateTag(HolderLookup.Provider p_323910_) BrushableBlockEntity.getUpdateTag(HolderLookup.Provider p_323531_) CampfireBlockEntity.getUpdateTag(HolderLookup.Provider p_324612_) ConduitBlockEntity.getUpdateTag(HolderLookup.Provider p_324390_) DecoratedPotBlockEntity.getUpdateTag(HolderLookup.Provider p_324359_) JigsawBlockEntity.getUpdateTag(HolderLookup.Provider p_323882_) SignBlockEntity.getUpdateTag(HolderLookup.Provider p_324439_) SkullBlockEntity.getUpdateTag(HolderLookup.Provider p_323711_) SpawnerBlockEntity.getUpdateTag(HolderLookup.Provider p_324015_) StructureBlockEntity.getUpdateTag(HolderLookup.Provider p_324257_) TheEndGatewayBlockEntity.getUpdateTag(HolderLookup.Provider p_324313_) TrialSpawnerBlockEntity.getUpdateTag(HolderLookup.Provider p_323524_) PotDecorations.save(CompoundTag p_331751_) final CompoundTagBlockEntity.saveCustomAndMetadata(HolderLookup.Provider p_339688_) final CompoundTagBlockEntity.saveCustomOnly(HolderLookup.Provider p_338656_) final CompoundTagBlockEntity.saveWithFullMetadata(HolderLookup.Provider p_323767_) final CompoundTagBlockEntity.saveWithId(HolderLookup.Provider p_324357_) final CompoundTagBlockEntity.saveWithoutMetadata(HolderLookup.Provider p_324030_) Methods in net.minecraft.world.level.block.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate voidCrafterBlockEntity.addDisabledSlots(CompoundTag p_307523_) static voidBlockEntity.addEntityType(CompoundTag p_187469_, BlockEntityType<?> p_187470_) private voidCrafterBlockEntity.addTriggered(CompoundTag p_307675_) static BlockPosBlockEntity.getPosFromTag(CompoundTag p_187473_) static PotDecorationsPotDecorations.load(CompoundTag p_331530_) protected voidAbstractFurnaceBlockEntity.loadAdditional(CompoundTag p_155025_, HolderLookup.Provider p_323468_) protected voidBannerBlockEntity.loadAdditional(CompoundTag p_338645_, HolderLookup.Provider p_338247_) protected voidBarrelBlockEntity.loadAdditional(CompoundTag p_155055_, HolderLookup.Provider p_324230_) protected voidBaseContainerBlockEntity.loadAdditional(CompoundTag p_338606_, HolderLookup.Provider p_338309_) protected voidBeaconBlockEntity.loadAdditional(CompoundTag p_338669_, HolderLookup.Provider p_338291_) protected voidBeehiveBlockEntity.loadAdditional(CompoundTag p_338675_, HolderLookup.Provider p_338666_) protected voidBlockEntity.loadAdditional(CompoundTag p_338466_, HolderLookup.Provider p_338445_) protected voidBrewingStandBlockEntity.loadAdditional(CompoundTag p_338530_, HolderLookup.Provider p_338200_) protected voidBrushableBlockEntity.loadAdditional(CompoundTag p_338786_, HolderLookup.Provider p_338480_) protected voidCampfireBlockEntity.loadAdditional(CompoundTag p_155312_, HolderLookup.Provider p_323804_) protected voidChestBlockEntity.loadAdditional(CompoundTag p_155349_, HolderLookup.Provider p_324564_) protected voidChiseledBookShelfBlockEntity.loadAdditional(CompoundTag p_338883_, HolderLookup.Provider p_338454_) protected voidCommandBlockEntity.loadAdditional(CompoundTag p_338502_, HolderLookup.Provider p_338638_) protected voidComparatorBlockEntity.loadAdditional(CompoundTag p_338778_, HolderLookup.Provider p_338355_) protected voidConduitBlockEntity.loadAdditional(CompoundTag p_338591_, HolderLookup.Provider p_338280_) protected voidCrafterBlockEntity.loadAdditional(CompoundTag p_307457_, HolderLookup.Provider p_324538_) protected voidDecoratedPotBlockEntity.loadAdditional(CompoundTag p_338486_, HolderLookup.Provider p_338310_) protected voidDispenserBlockEntity.loadAdditional(CompoundTag p_155496_, HolderLookup.Provider p_323868_) protected voidEnchantingTableBlockEntity.loadAdditional(CompoundTag p_341199_, HolderLookup.Provider p_341063_) protected voidHopperBlockEntity.loadAdditional(CompoundTag p_155588_, HolderLookup.Provider p_324320_) protected voidJigsawBlockEntity.loadAdditional(CompoundTag p_155608_, HolderLookup.Provider p_324139_) protected voidJukeboxBlockEntity.loadAdditional(CompoundTag p_155616_, HolderLookup.Provider p_324026_) protected voidLecternBlockEntity.loadAdditional(CompoundTag p_155625_, HolderLookup.Provider p_324025_) protected voidSculkCatalystBlockEntity.loadAdditional(CompoundTag p_338264_, HolderLookup.Provider p_338447_) protected voidSculkSensorBlockEntity.loadAdditional(CompoundTag p_338719_, HolderLookup.Provider p_338792_) protected voidSculkShriekerBlockEntity.loadAdditional(CompoundTag p_222868_, HolderLookup.Provider p_324354_) protected voidShulkerBoxBlockEntity.loadAdditional(CompoundTag p_155678_, HolderLookup.Provider p_324114_) protected voidSignBlockEntity.loadAdditional(CompoundTag p_155716_, HolderLookup.Provider p_324351_) protected voidSkullBlockEntity.loadAdditional(CompoundTag p_155745_, HolderLookup.Provider p_323876_) protected voidSpawnerBlockEntity.loadAdditional(CompoundTag p_338334_, HolderLookup.Provider p_338853_) protected voidStructureBlockEntity.loadAdditional(CompoundTag p_155800_, HolderLookup.Provider p_324076_) protected voidTheEndGatewayBlockEntity.loadAdditional(CompoundTag p_155840_, HolderLookup.Provider p_323480_) protected voidTrialSpawnerBlockEntity.loadAdditional(CompoundTag p_338752_, HolderLookup.Provider p_338872_) final voidBlockEntity.loadCustomOnly(CompoundTag p_338387_, HolderLookup.Provider p_338713_) BeaconBlockEntity.loadEffect(CompoundTag p_298570_, String p_299310_) voidShulkerBoxBlockEntity.loadFromTag(CompoundTag p_59694_, HolderLookup.Provider p_331802_) static BlockEntityBlockEntity.loadStatic(BlockPos p_155242_, BlockState p_155243_, CompoundTag p_155244_, HolderLookup.Provider p_323542_) final voidBlockEntity.loadWithComponents(CompoundTag p_338356_, HolderLookup.Provider p_338558_) voidBannerBlockEntity.removeComponentsFromTag(CompoundTag p_331690_) voidBaseContainerBlockEntity.removeComponentsFromTag(CompoundTag p_330762_) voidBeaconBlockEntity.removeComponentsFromTag(CompoundTag p_331401_) voidBeehiveBlockEntity.removeComponentsFromTag(CompoundTag p_331127_) voidBlockEntity.removeComponentsFromTag(CompoundTag p_332032_) Deprecated.voidCampfireBlockEntity.removeComponentsFromTag(CompoundTag p_332690_) voidChiseledBookShelfBlockEntity.removeComponentsFromTag(CompoundTag p_332725_) voidCommandBlockEntity.removeComponentsFromTag(CompoundTag p_331967_) voidDecoratedPotBlockEntity.removeComponentsFromTag(CompoundTag p_330569_) voidEnchantingTableBlockEntity.removeComponentsFromTag(CompoundTag p_341218_) voidRandomizableContainerBlockEntity.removeComponentsFromTag(CompoundTag p_331200_) voidSkullBlockEntity.removeComponentsFromTag(CompoundTag p_331773_) PotDecorations.save(CompoundTag p_331751_) protected voidAbstractFurnaceBlockEntity.saveAdditional(CompoundTag p_187452_, HolderLookup.Provider p_323656_) protected voidBannerBlockEntity.saveAdditional(CompoundTag p_187456_, HolderLookup.Provider p_324143_) protected voidBarrelBlockEntity.saveAdditional(CompoundTag p_187459_, HolderLookup.Provider p_323686_) protected voidBaseContainerBlockEntity.saveAdditional(CompoundTag p_187461_, HolderLookup.Provider p_324280_) protected voidBeaconBlockEntity.saveAdditional(CompoundTag p_187463_, HolderLookup.Provider p_324268_) protected voidBeehiveBlockEntity.saveAdditional(CompoundTag p_187467_, HolderLookup.Provider p_324426_) protected voidBlockEntity.saveAdditional(CompoundTag p_187471_, HolderLookup.Provider p_323635_) protected voidBrewingStandBlockEntity.saveAdditional(CompoundTag p_187484_, HolderLookup.Provider p_324461_) protected voidBrushableBlockEntity.saveAdditional(CompoundTag p_277339_, HolderLookup.Provider p_323885_) protected voidCampfireBlockEntity.saveAdditional(CompoundTag p_187486_, HolderLookup.Provider p_324005_) protected voidChestBlockEntity.saveAdditional(CompoundTag p_187489_, HolderLookup.Provider p_324448_) protected voidChiseledBookShelfBlockEntity.saveAdditional(CompoundTag p_251872_, HolderLookup.Provider p_323649_) protected voidCommandBlockEntity.saveAdditional(CompoundTag p_187491_, HolderLookup.Provider p_324575_) protected voidComparatorBlockEntity.saveAdditional(CompoundTag p_187493_, HolderLookup.Provider p_323979_) protected voidConduitBlockEntity.saveAdditional(CompoundTag p_187495_, HolderLookup.Provider p_323702_) protected voidCrafterBlockEntity.saveAdditional(CompoundTag p_307531_, HolderLookup.Provider p_324381_) protected voidDecoratedPotBlockEntity.saveAdditional(CompoundTag p_272957_, HolderLookup.Provider p_323719_) protected voidDispenserBlockEntity.saveAdditional(CompoundTag p_187498_, HolderLookup.Provider p_323791_) protected voidEnchantingTableBlockEntity.saveAdditional(CompoundTag p_341088_, HolderLookup.Provider p_341376_) protected voidHopperBlockEntity.saveAdditional(CompoundTag p_187502_, HolderLookup.Provider p_324174_) protected voidJigsawBlockEntity.saveAdditional(CompoundTag p_187504_, HolderLookup.Provider p_323960_) protected voidJukeboxBlockEntity.saveAdditional(CompoundTag p_187507_, HolderLookup.Provider p_323723_) protected voidLecternBlockEntity.saveAdditional(CompoundTag p_187509_, HolderLookup.Provider p_323474_) protected voidSculkCatalystBlockEntity.saveAdditional(CompoundTag p_222789_, HolderLookup.Provider p_324018_) protected voidSculkSensorBlockEntity.saveAdditional(CompoundTag p_187511_, HolderLookup.Provider p_323787_) protected voidSculkShriekerBlockEntity.saveAdditional(CompoundTag p_222878_, HolderLookup.Provider p_324505_) protected voidShulkerBoxBlockEntity.saveAdditional(CompoundTag p_187513_, HolderLookup.Provider p_324152_) protected voidSignBlockEntity.saveAdditional(CompoundTag p_187515_, HolderLookup.Provider p_324471_) protected voidSkullBlockEntity.saveAdditional(CompoundTag p_187518_, HolderLookup.Provider p_324418_) protected voidSpawnerBlockEntity.saveAdditional(CompoundTag p_187521_, HolderLookup.Provider p_324509_) protected voidStructureBlockEntity.saveAdditional(CompoundTag p_187524_, HolderLookup.Provider p_323617_) protected voidTheEndGatewayBlockEntity.saveAdditional(CompoundTag p_187527_, HolderLookup.Provider p_324553_) protected voidTrialSpawnerBlockEntity.saveAdditional(CompoundTag p_311806_, HolderLookup.Provider p_324342_) private voidBlockEntity.saveId(CompoundTag p_187475_) private voidBlockEntity.saveMetadata(CompoundTag p_187479_) private static voidBeaconBlockEntity.storeEffect(CompoundTag p_298214_, String p_298983_, Holder<MobEffect> p_316689_) private booleanBrushableBlockEntity.tryLoadLootTable(CompoundTag p_277740_) private booleanBrushableBlockEntity.trySaveLootTable(CompoundTag p_277591_) -
Uses of CompoundTag in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner that return CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.block.entity.vault
Methods in net.minecraft.world.level.block.entity.vault that return CompoundTagMethods in net.minecraft.world.level.block.entity.vault with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidVaultBlockEntity.loadAdditional(CompoundTag p_324011_, HolderLookup.Provider p_324430_) protected voidVaultBlockEntity.saveAdditional(CompoundTag p_323998_, HolderLookup.Provider p_324356_) -
Uses of CompoundTag in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston that return CompoundTagModifier and TypeMethodDescriptionPistonMovingBlockEntity.getUpdateTag(HolderLookup.Provider p_324521_) Methods in net.minecraft.world.level.block.piston with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidPistonMovingBlockEntity.loadAdditional(CompoundTag p_155930_, HolderLookup.Provider p_324214_) protected voidPistonMovingBlockEntity.saveAdditional(CompoundTag p_187530_, HolderLookup.Provider p_323923_) -
Uses of CompoundTag in net.minecraft.world.level.border
Methods in net.minecraft.world.level.border with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final List<CompoundTag> ProtoChunk.entitiesprotected final Map<BlockPos, CompoundTag> ChunkAccess.pendingBlockEntitiesMethods in net.minecraft.world.level.chunk that return CompoundTagModifier and TypeMethodDescriptionChunkAccess.getBlockEntityNbt(BlockPos p_62103_) ImposterProtoChunk.getBlockEntityNbt(BlockPos p_62757_) abstract CompoundTagChunkAccess.getBlockEntityNbtForSaving(BlockPos p_62104_, HolderLookup.Provider p_324415_) ImposterProtoChunk.getBlockEntityNbtForSaving(BlockPos p_62760_, HolderLookup.Provider p_323691_) LevelChunk.getBlockEntityNbtForSaving(BlockPos p_62932_, HolderLookup.Provider p_323699_) ProtoChunk.getBlockEntityNbtForSaving(BlockPos p_63275_, HolderLookup.Provider p_324473_) UpgradeData.write()final 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 p_63243_) private static <T> voidUpgradeData.loadTicks(CompoundTag p_208133_, String p_208134_, Function<String, Optional<T>> p_208135_, List<SavedTick<T>> p_208136_) private BlockEntityLevelChunk.promotePendingBlockEntity(BlockPos p_62871_, CompoundTag p_62872_) final voidChunkAccess.readAttachmentsFromNBT(HolderLookup.Provider provider, CompoundTag tag) FOR INTERNAL USE ONLYvoidLevelChunk.replaceWithPacketData(FriendlyByteBuf p_187972_, CompoundTag p_187973_, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> p_187974_) voidChunkAccess.setBlockEntityNbt(CompoundTag p_62091_) voidImposterProtoChunk.setBlockEntityNbt(CompoundTag p_62728_) Constructors in net.minecraft.world.level.chunk with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.chunk.status
Method parameters in net.minecraft.world.level.chunk.status with type arguments of type CompoundTagModifier and TypeMethodDescriptionprivate static voidChunkStatusTasks.postLoadProtoChunk(ServerLevel p_347492_, List<CompoundTag> p_347609_) -
Uses of CompoundTag in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as CompoundTagMethods in net.minecraft.world.level.chunk.storage that return CompoundTagModifier and TypeMethodDescription(package private) CompoundTagIOWorker.PendingStore.copyData()private static CompoundTagChunkSerializer.packStructureData(StructurePieceSerializationContext p_188250_, ChunkPos p_188251_, Map<Structure, StructureStart> p_188252_, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> p_188253_) ChunkStorage.upgradeChunkTag(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_188292_) SimpleRegionStorage.upgradeChunkTag(CompoundTag p_321601_, int p_321496_) static CompoundTagChunkSerializer.write(ServerLevel p_63455_, ChunkAccess p_63456_) Methods in net.minecraft.world.level.chunk.storage that return types with arguments of type CompoundTagMethods in net.minecraft.world.level.chunk.storage with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic ChunkTypeChunkSerializer.getChunkTypeFromTag(CompoundTag p_63486_) private static ListTagChunkSerializer.getListOfCompoundsOrNull(CompoundTag p_196898_, String p_196899_) static intChunkStorage.getVersion(CompoundTag p_63506_) static voidChunkStorage.injectDatafixingContext(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_196921_) private booleanIOWorker.isOldChunk(CompoundTag p_223485_) private static LevelChunk.PostLoadProcessorChunkSerializer.postLoadChunk(ServerLevel p_196891_, CompoundTag p_196892_) static ProtoChunkChunkSerializer.read(ServerLevel p_188231_, PoiManager p_188232_, RegionStorageInfo p_352213_, ChunkPos p_188233_, CompoundTag p_188234_) private static ChunkPosEntityStorage.readChunkPos(CompoundTag p_156571_) private voidSectionStorage.readColumn(ChunkPos p_63802_, RegistryOps<Tag> p_321830_, CompoundTag p_321530_) private static voidChunkStorage.removeDatafixingContext(CompoundTag p_348632_) private static voidChunkSerializer.saveTicks(ServerLevel p_188236_, CompoundTag p_188237_, ChunkAccess.TicksToSave p_188238_) IOWorker.store(ChunkPos p_63539_, CompoundTag p_63540_) ChunkSerializer.unpackStructureReferences(RegistryAccess p_208155_, ChunkPos p_208156_, CompoundTag p_208157_) private static Map<Structure, StructureStart> ChunkSerializer.unpackStructureStart(StructurePieceSerializationContext p_188255_, CompoundTag p_188256_, long p_188257_) ChunkStorage.upgradeChunkTag(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_188292_) SimpleRegionStorage.upgradeChunkTag(CompoundTag p_321601_, int p_321496_) ChunkStorage.write(ChunkPos p_63503_, CompoundTag p_63504_) RecreatingChunkStorage.write(ChunkPos p_321778_, CompoundTag p_321767_) RecreatingSimpleRegionStorage.write(ChunkPos p_321592_, CompoundTag p_321676_) protected voidRegionFileStorage.write(ChunkPos p_63709_, CompoundTag p_63710_) SimpleRegionStorage.write(ChunkPos p_321715_, CompoundTag p_321816_) private static voidEntityStorage.writeChunkPos(CompoundTag p_156563_, ChunkPos p_156564_) Constructors in net.minecraft.world.level.chunk.storage with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.levelgen
Methods in net.minecraft.world.level.levelgen with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic BelowZeroRetrogenBelowZeroRetrogen.read(CompoundTag p_188486_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final Map<String, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>> LegacyStructureDataHandler.dataMapMethods in net.minecraft.world.level.levelgen.structure that return CompoundTagModifier and TypeMethodDescriptionfinal CompoundTagStructurePiece.createTag(StructurePieceSerializationContext p_192645_) StructureStart.createTag(StructurePieceSerializationContext p_192661_, ChunkPos p_192662_) StructureFeatureIndexSavedData.save(CompoundTag p_73372_, HolderLookup.Provider p_323794_) LegacyStructureDataHandler.updateFromLegacy(CompoundTag p_71327_) private CompoundTagLegacyStructureDataHandler.updateStructureStart(CompoundTag p_71329_, ChunkPos p_71330_) Methods in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidPoolElementStructurePiece.addAdditionalSaveData(StructurePieceSerializationContext p_192425_, CompoundTag p_192426_) protected voidScatteredFeaturePiece.addAdditionalSaveData(StructurePieceSerializationContext p_192471_, CompoundTag p_192472_) protected abstract voidStructurePiece.addAdditionalSaveData(StructurePieceSerializationContext p_192646_, CompoundTag p_192647_) protected voidTemplateStructurePiece.addAdditionalSaveData(StructurePieceSerializationContext p_192690_, CompoundTag p_192691_) StructureFeatureIndexSavedData.load(CompoundTag p_163535_, HolderLookup.Provider p_323754_) static StructureStartStructureStart.loadStaticStart(StructurePieceSerializationContext p_226858_, CompoundTag p_226859_, long p_226860_) private it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> StructureCheck.loadStructures(CompoundTag p_197312_) StructureFeatureIndexSavedData.save(CompoundTag p_73372_, HolderLookup.Provider p_323794_) LegacyStructureDataHandler.updateFromLegacy(CompoundTag p_71327_) private CompoundTagLegacyStructureDataHandler.updateStructureStart(CompoundTag p_71329_, ChunkPos p_71330_) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifierConstructorDescriptionPoolElementStructurePiece(StructurePieceSerializationContext p_192406_, CompoundTag p_192407_) protectedScatteredFeaturePiece(StructurePieceType p_209929_, CompoundTag p_209930_) StructurePiece(StructurePieceType p_209998_, CompoundTag p_209999_) TemplateStructurePiece(StructurePieceType p_226894_, CompoundTag p_226895_, StructureTemplateManager p_226896_, Function<ResourceLocation, StructurePlaceSettings> p_226897_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.pieces
Methods in net.minecraft.world.level.levelgen.structure.pieces with parameters of type CompoundTagModifier and TypeMethodDescriptionStructurePieceType.ContextlessType.load(CompoundTag p_210167_) default StructurePieceStructurePieceType.ContextlessType.load(StructurePieceSerializationContext p_210164_, CompoundTag p_210165_) StructurePieceType.load(StructurePieceSerializationContext p_210161_, CompoundTag p_210162_) default StructurePieceStructurePieceType.StructureTemplateType.load(StructurePieceSerializationContext p_210169_, CompoundTag p_210170_) StructurePieceType.StructureTemplateType.load(StructureTemplateManager p_226963_, CompoundTag p_226964_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as CompoundTagMethods in net.minecraft.world.level.levelgen.structure.pools that return CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.structures
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidBuriedTreasurePieces.BuriedTreasurePiece.addAdditionalSaveData(StructurePieceSerializationContext p_227378_, CompoundTag p_227379_) protected voidDesertPyramidPiece.addAdditionalSaveData(StructurePieceSerializationContext p_227413_, CompoundTag p_227414_) protected voidEndCityPieces.EndCityPiece.addAdditionalSaveData(StructurePieceSerializationContext p_227500_, CompoundTag p_227501_) protected voidIglooPieces.IglooPiece.addAdditionalSaveData(StructurePieceSerializationContext p_227579_, CompoundTag p_227580_) protected voidJungleTemplePiece.addAdditionalSaveData(StructurePieceSerializationContext p_227682_, CompoundTag p_227683_) protected voidMineshaftPieces.MineShaftCorridor.addAdditionalSaveData(StructurePieceSerializationContext p_227806_, CompoundTag p_227807_) protected voidMineshaftPieces.MineShaftCrossing.addAdditionalSaveData(StructurePieceSerializationContext p_227862_, CompoundTag p_227863_) protected voidMineshaftPieces.MineShaftPiece.addAdditionalSaveData(StructurePieceSerializationContext p_227898_, CompoundTag p_227899_) protected voidMineshaftPieces.MineShaftRoom.addAdditionalSaveData(StructurePieceSerializationContext p_227926_, CompoundTag p_227927_) protected voidNetherFortressPieces.BridgeEndFiller.addAdditionalSaveData(StructurePieceSerializationContext p_228081_, CompoundTag p_228082_) protected voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addAdditionalSaveData(StructurePieceSerializationContext p_228259_, CompoundTag p_228260_) protected voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.addAdditionalSaveData(StructurePieceSerializationContext p_228321_, CompoundTag p_228322_) protected voidNetherFortressPieces.MonsterThrone.addAdditionalSaveData(StructurePieceSerializationContext p_228377_, CompoundTag p_228378_) protected voidNetherFortressPieces.NetherBridgePiece.addAdditionalSaveData(StructurePieceSerializationContext p_228389_, CompoundTag p_228390_) protected voidNetherFossilPieces.NetherFossilPiece.addAdditionalSaveData(StructurePieceSerializationContext p_228558_, CompoundTag p_228559_) protected voidOceanMonumentPieces.OceanMonumentPiece.addAdditionalSaveData(StructurePieceSerializationContext p_228872_, CompoundTag p_228873_) protected voidOceanRuinPieces.OceanRuinPiece.addAdditionalSaveData(StructurePieceSerializationContext p_229039_, CompoundTag p_229040_) protected voidRuinedPortalPiece.addAdditionalSaveData(StructurePieceSerializationContext p_229158_, CompoundTag p_229159_) protected voidShipwreckPieces.ShipwreckPiece.addAdditionalSaveData(StructurePieceSerializationContext p_229373_, CompoundTag p_229374_) protected voidStrongholdPieces.ChestCorridor.addAdditionalSaveData(StructurePieceSerializationContext p_229492_, CompoundTag p_229493_) protected voidStrongholdPieces.FillerCorridor.addAdditionalSaveData(StructurePieceSerializationContext p_229517_, CompoundTag p_229518_) protected voidStrongholdPieces.FiveCrossing.addAdditionalSaveData(StructurePieceSerializationContext p_229554_, CompoundTag p_229555_) protected voidStrongholdPieces.Library.addAdditionalSaveData(StructurePieceSerializationContext p_229612_, CompoundTag p_229613_) protected voidStrongholdPieces.PortalRoom.addAdditionalSaveData(StructurePieceSerializationContext p_229654_, CompoundTag p_229655_) protected voidStrongholdPieces.RoomCrossing.addAdditionalSaveData(StructurePieceSerializationContext p_229745_, CompoundTag p_229746_) protected voidStrongholdPieces.StairsDown.addAdditionalSaveData(StructurePieceSerializationContext p_229795_, CompoundTag p_229796_) protected voidStrongholdPieces.Straight.addAdditionalSaveData(StructurePieceSerializationContext p_229840_, CompoundTag p_229841_) protected voidStrongholdPieces.StrongholdPiece.addAdditionalSaveData(StructurePieceSerializationContext p_229891_, CompoundTag p_229892_) protected voidSwampHutPiece.addAdditionalSaveData(StructurePieceSerializationContext p_229969_, CompoundTag p_229970_) protected voidWoodlandMansionPieces.WoodlandMansionPiece.addAdditionalSaveData(StructurePieceSerializationContext p_230208_, CompoundTag p_230209_) OceanRuinPieces.OceanRuinPiece.create(StructureTemplateManager p_277874_, CompoundTag p_277773_) private static StructurePlaceSettingsRuinedPortalPiece.makeSettings(StructureTemplateManager p_229166_, CompoundTag p_229167_, ResourceLocation p_229168_) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type CompoundTagModifierConstructorDescriptionBridgeCrossing(CompoundTag p_228033_) protectedBridgeCrossing(StructurePieceType p_228030_, CompoundTag p_228031_) BridgeEndFiller(CompoundTag p_228063_) BridgeStraight(CompoundTag p_228092_) BuriedTreasurePiece(CompoundTag p_227368_) CastleCorridorStairsPiece(CompoundTag p_228121_) CastleCorridorTBalconyPiece(CompoundTag p_228149_) CastleEntrance(CompoundTag p_228178_) CastleSmallCorridorCrossingPiece(CompoundTag p_228207_) CastleSmallCorridorLeftTurnPiece(CompoundTag p_228237_) CastleSmallCorridorPiece(CompoundTag p_228269_) CastleSmallCorridorRightTurnPiece(CompoundTag p_228299_) CastleStalkRoom(CompoundTag p_228331_) ChestCorridor(CompoundTag p_229470_) DesertPyramidPiece(CompoundTag p_227403_) EndCityPiece(StructureTemplateManager p_227497_, CompoundTag p_227498_) FillerCorridor(CompoundTag p_229500_) FiveCrossing(CompoundTag p_229532_) IglooPiece(StructureTemplateManager p_227561_, CompoundTag p_227562_) JungleTemplePiece(CompoundTag p_227672_) LeftTurn(CompoundTag p_229562_) Library(CompoundTag p_229594_) MineShaftCorridor(CompoundTag p_227737_) MineShaftCrossing(CompoundTag p_227834_) MineShaftPiece(StructurePieceType p_227872_, CompoundTag p_227873_) MineShaftRoom(CompoundTag p_227908_) MineShaftStairs(CompoundTag p_227937_) MonsterThrone(CompoundTag p_228360_) MonumentBuilding(CompoundTag p_228653_) NetherBridgePiece(StructurePieceType p_228384_, CompoundTag p_228385_) NetherFossilPiece(StructureTemplateManager p_228545_, CompoundTag p_228546_) OceanMonumentCoreRoom(CompoundTag p_228702_) OceanMonumentDoubleXRoom(CompoundTag p_228715_) OceanMonumentDoubleXYRoom(CompoundTag p_228728_) OceanMonumentDoubleYRoom(CompoundTag p_228741_) OceanMonumentDoubleYZRoom(CompoundTag p_228754_) OceanMonumentDoubleZRoom(CompoundTag p_228767_) OceanMonumentEntryRoom(CompoundTag p_228780_) OceanMonumentPenthouse(CompoundTag p_228793_) OceanMonumentPiece(StructurePieceType p_228841_, CompoundTag p_228842_) OceanMonumentSimpleRoom(CompoundTag p_228899_) OceanMonumentSimpleTopRoom(CompoundTag p_228912_) OceanMonumentWingRoom(CompoundTag p_228927_) privateOceanRuinPiece(StructureTemplateManager p_277563_, CompoundTag p_277610_, Rotation p_277637_, float p_277437_, OceanRuinStructure.Type p_277873_, boolean p_277924_) PortalRoom(CompoundTag p_229633_) PrisonHall(CompoundTag p_229665_) RightTurn(CompoundTag p_229692_) RoomCrossing(CompoundTag p_228459_) RoomCrossing(CompoundTag p_229723_) RuinedPortalPiece(StructureTemplateManager p_229115_, CompoundTag p_229116_) ShipwreckPiece(StructureTemplateManager p_229360_, CompoundTag p_229361_) StairsDown(CompoundTag p_229773_) StairsDown(StructurePieceType p_229770_, CompoundTag p_229771_) StairsRoom(CompoundTag p_228487_) StartPiece(CompoundTag p_228516_) StartPiece(CompoundTag p_229805_) Straight(CompoundTag p_229818_) StraightStairsDown(CompoundTag p_229851_) StrongholdPiece(StructurePieceType p_229878_, CompoundTag p_229879_) SwampHutPiece(CompoundTag p_229956_) Turn(StructurePieceType p_229934_, CompoundTag p_229935_) WoodlandMansionPiece(StructureTemplateManager p_230202_, CompoundTag p_230203_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as CompoundTagModifier and TypeFieldDescriptionprivate final 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 p_277551_, CompoundTag p_277867_) StructureTemplate.StructureBlockInfo.nbt()Returns the value of thenbtrecord component.StructureTemplate.save(CompoundTag p_74619_) Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type CompoundTagModifier and TypeMethodDescriptionStructureTemplate.createEntityIgnoreException(ServerLevelAccessor p_74544_, CompoundTag p_74545_) ProcessorRule.getOutputTag(RandomSource p_277551_, CompoundTag p_277867_) voidStructureTemplate.load(HolderGetter<Block> p_255773_, CompoundTag p_248574_) StructureTemplateManager.readStructure(CompoundTag p_230405_) StructureTemplate.save(CompoundTag p_74619_) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type CompoundTagModifierConstructorDescriptionStructureBlockInfo(BlockPos pos, BlockState state, CompoundTag nbt) Creates an instance of aStructureBlockInforecord class.StructureEntityInfo(Vec3 p_74687_, BlockPos p_74688_, CompoundTag p_74689_) -
Uses of CompoundTag in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
Fields in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity declared as CompoundTagMethods in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity that return CompoundTagModifier and TypeMethodDescriptionAppendLoot.apply(RandomSource p_277994_, CompoundTag p_277854_) AppendStatic.apply(RandomSource p_277835_, CompoundTag p_277892_) Clear.apply(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply(RandomSource p_277745_, CompoundTag p_277965_) Methods in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type CompoundTagModifier and TypeMethodDescriptionAppendLoot.apply(RandomSource p_277994_, CompoundTag p_277854_) AppendStatic.apply(RandomSource p_277835_, CompoundTag p_277892_) Clear.apply(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply(RandomSource p_277745_, CompoundTag p_277965_) Constructors in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.saveddata
Fields in net.minecraft.world.level.saveddata with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final BiFunction<CompoundTag, HolderLookup.Provider, T> SavedData.Factory.deserializerThe field for thedeserializerrecord component.Methods in net.minecraft.world.level.saveddata that return CompoundTagModifier and TypeMethodDescriptionabstract CompoundTagSavedData.save(CompoundTag p_77763_, HolderLookup.Provider p_323640_) Methods in net.minecraft.world.level.saveddata that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionSavedData.Factory.deserializer()Returns the value of thedeserializerrecord component.Methods in net.minecraft.world.level.saveddata with parameters of type CompoundTagModifier and TypeMethodDescriptionabstract CompoundTagSavedData.save(CompoundTag p_77763_, HolderLookup.Provider p_323640_) Constructor parameters in net.minecraft.world.level.saveddata with type arguments of type CompoundTagModifierConstructorDescriptionFactory(Supplier<T> constructor, BiFunction<CompoundTag, HolderLookup.Provider, T> deserializer) Factory(Supplier<T> constructor, BiFunction<CompoundTag, HolderLookup.Provider, T> deserializer, @Nullable DataFixTypes type) Creates an instance of aFactoryrecord class. -
Uses of CompoundTag in net.minecraft.world.level.saveddata.maps
Methods in net.minecraft.world.level.saveddata.maps that return CompoundTagModifier and TypeMethodDescriptionMapFrame.save()MapIndex.save(CompoundTag p_77884_, HolderLookup.Provider p_324049_) MapItemSavedData.save(CompoundTag p_77956_, HolderLookup.Provider p_323858_) Methods in net.minecraft.world.level.saveddata.maps with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic MapFrameMapFrame.load(CompoundTag p_77873_) static MapIndexMapIndex.load(CompoundTag p_164763_, HolderLookup.Provider p_323806_) static MapItemSavedDataMapItemSavedData.load(CompoundTag p_164808_, HolderLookup.Provider p_324560_) MapIndex.save(CompoundTag p_77884_, HolderLookup.Provider p_324049_) MapItemSavedData.save(CompoundTag p_77956_, HolderLookup.Provider p_323858_) -
Uses of CompoundTag in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as CompoundTagModifier and TypeFieldDescriptionprivate CompoundTagPrimaryLevelData.customBossEventsprivate final CompoundTagPrimaryLevelData.loadedPlayerTagFields in net.minecraft.world.level.storage with type parameters of type CompoundTagModifier and TypeFieldDescriptionprivate final Map<String, CompoundTag> CommandStorage.Container.storageMethods in net.minecraft.world.level.storage that return CompoundTagModifier and TypeMethodDescriptionPrimaryLevelData.createTag(RegistryAccess p_78543_, CompoundTag p_78544_) WorldData.createTag(RegistryAccess p_78636_, CompoundTag p_78637_) CommandStorage.get(ResourceLocation p_78045_) PrimaryLevelData.getCustomBossEvents()WorldData.getCustomBossEvents()PrimaryLevelData.getLoadedPlayerTag()WorldData.getLoadedPlayerTag()(package private) static CompoundTagLevelStorageSource.readLevelDataTagRaw(Path p_307408_) DimensionDataStorage.readTagFromDisk(String p_78159_, DataFixTypes p_295038_, int p_78160_) CommandStorage.Container.save(CompoundTag p_78075_, HolderLookup.Provider p_323504_) Methods in net.minecraft.world.level.storage that return types with arguments of type CompoundTagMethods in net.minecraft.world.level.storage with parameters of type CompoundTagModifier and TypeMethodDescriptionPrimaryLevelData.createTag(RegistryAccess p_78543_, CompoundTag p_78544_) WorldData.createTag(RegistryAccess p_78636_, CompoundTag p_78637_) (package private) CommandStorage.ContainerCommandStorage.Container.load(CompoundTag p_164850_) voidCommandStorage.Container.put(String p_78064_, CompoundTag p_78065_) CommandStorage.Container.save(CompoundTag p_78075_, HolderLookup.Provider p_323504_) voidLevelStorageSource.LevelStorageAccess.saveDataTag(RegistryAccess p_78291_, WorldData p_78292_, CompoundTag p_78293_) private voidLevelStorageSource.LevelStorageAccess.saveLevelData(CompoundTag p_307262_) voidCommandStorage.set(ResourceLocation p_78047_, CompoundTag p_78048_) voidPrimaryLevelData.setCustomBossEvents(CompoundTag p_78571_) voidWorldData.setCustomBossEvents(CompoundTag p_78643_) private voidPrimaryLevelData.setTagData(RegistryAccess p_78546_, CompoundTag p_78547_, CompoundTag p_78548_) Method parameters in net.minecraft.world.level.storage with type arguments of type CompoundTagModifier and TypeMethodDescriptionprivate voidLevelStorageSource.LevelStorageAccess.modifyLevelDataWithoutDatafix(Consumer<CompoundTag> p_307346_) private <T extends SavedData>
TDimensionDataStorage.readSavedData(BiFunction<CompoundTag, HolderLookup.Provider, T> p_324609_, DataFixTypes p_295832_, String p_164870_) Constructors in net.minecraft.world.level.storage with parameters of type CompoundTagModifierConstructorDescriptionprivatePrimaryLevelData(CompoundTag p_277888_, boolean p_278109_, BlockPos p_320000_, float p_277542_, long p_277414_, long p_277635_, int p_277672_, int p_277714_, int p_278088_, boolean p_277943_, int p_278037_, boolean p_277644_, boolean p_277749_, boolean p_278004_, WorldBorder.Settings p_277729_, int p_277595_, int p_277794_, UUID p_277341_, Set<String> p_277989_, Set<String> p_277399_, TimerQueue<MinecraftServer> p_277860_, CompoundTag p_277936_, EndDragonFight.Data p_289764_, LevelSettings p_278064_, WorldOptions p_278072_, PrimaryLevelData.SpecialWorldProperty p_277548_, com.mojang.serialization.Lifecycle p_277915_) -
Uses of CompoundTag in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as CompoundTagMethods in net.minecraft.world.level.storage.loot.functions with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> SetCustomDataFunction.setCustomData(CompoundTag p_330248_) Deprecated.Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type 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 TypeMethodDescription<T extends TimerCallback<C>>
CompoundTagTimerCallbacks.serialize(T p_82235_) private CompoundTagTimerQueue.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 CTimerCallback.Serializer.deserialize(CompoundTag p_82225_) TimerCallbacks.deserialize(CompoundTag p_82239_) private voidTimerQueue.loadEvent(CompoundTag p_82266_) voidFunctionCallback.Serializer.serialize(CompoundTag p_82182_, FunctionCallback p_82183_) voidFunctionTagCallback.Serializer.serialize(CompoundTag p_82206_, FunctionTagCallback p_82207_) abstract voidTimerCallback.Serializer.serialize(CompoundTag p_82222_, C p_82223_) -
Uses of CompoundTag in net.minecraft.world.scores
Methods in net.minecraft.world.scores that return CompoundTagModifier and TypeMethodDescriptionScoreboardSaveData.save(CompoundTag p_83527_, HolderLookup.Provider p_324474_) Score.write(HolderLookup.Provider p_330377_) Methods in net.minecraft.world.scores with parameters of type CompoundTagModifier and TypeMethodDescriptionScoreboardSaveData.load(CompoundTag p_166103_, HolderLookup.Provider p_332093_) private voidScoreboardSaveData.loadDisplaySlots(CompoundTag p_83531_) static ScoreScore.read(CompoundTag p_313855_, HolderLookup.Provider p_331997_) ScoreboardSaveData.save(CompoundTag p_83527_, HolderLookup.Provider p_324474_) private voidScoreboardSaveData.saveDisplaySlots(CompoundTag p_83533_) -
Uses of CompoundTag in net.minecraft.world.ticks
Methods in net.minecraft.world.ticks that return CompoundTagModifier and TypeMethodDescriptionprivate static CompoundTagSavedTick.saveTick(String p_193339_, BlockPos p_193340_, int p_193341_, TickPriority p_193342_) static <T> CompoundTagSavedTick.saveTick(ScheduledTick<T> p_193332_, Function<T, String> p_193333_, long p_193334_) Methods in net.minecraft.world.ticks with parameters of type CompoundTag -
Uses of CompoundTag in net.neoforged.neoforge.attachment
Methods in net.neoforged.neoforge.attachment that return CompoundTagModifier and TypeMethodDescriptionLevelAttachmentsSavedData.save(CompoundTag tag, HolderLookup.Provider provider) final @Nullable CompoundTagAttachmentHolder.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 voidAttachmentHolder.deserializeAttachments(HolderLookup.Provider provider, CompoundTag tag) Reads serializable attachments from a tag previously created viaAttachmentHolder.serializeAttachments(HolderLookup.Provider).voidAttachmentHolder.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 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) -
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.default CompoundTagIEntityExtension.serializeNBT(HolderLookup.Provider provider) Methods in net.neoforged.neoforge.common.extensions with parameters of type CompoundTagModifier and TypeMethodDescriptiondefault voidIEntityExtension.deserializeNBT(HolderLookup.Provider provider, CompoundTag nbt) default voidIBlockEntityExtension.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 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 CompoundTagDummySavedData.save(CompoundTag compound, HolderLookup.Provider provider) Methods in net.neoforged.neoforge.common.util with parameters of type CompoundTagModifier and TypeMethodDescriptionDummySavedData.save(CompoundTag compound, HolderLookup.Provider provider) 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) -
Uses of CompoundTag in net.neoforged.neoforge.common.world.chunk
Methods in net.neoforged.neoforge.common.world.chunk that return CompoundTagModifier and TypeMethodDescriptionstatic CompoundTagForcedChunkManager.writeBlockPos(BlockPos blockpos) Methods in net.neoforged.neoforge.common.world.chunk with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate static voidForcedChunkManager.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 BlockPosForcedChunkManager.readBlockPos(CompoundTag compoundtag) private static voidForcedChunkManager.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 voidForcedChunkManager.readModForcedChunks(CompoundTag nbt, ForcedChunkManager.TicketTracker<BlockPos> blockForcedChunks, ForcedChunkManager.TicketTracker<UUID> entityForcedChunks) Reads the mod forced chunks from the NBT compound.static voidForcedChunkManager.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 TypeMethodDescriptionvoidBlockPropertyTests.LightBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider holderLookup) protected voidBlockPropertyTests.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 voidEntityDataSerializerTest.TestEntity.addAdditionalSaveData(CompoundTag tag) protected voidEntityTests.AdaptedSpawnEntity.addAdditionalSaveData(CompoundTag tag) protected voidEntityTests.CustomComplexSpawnEntity.addAdditionalSaveData(CompoundTag tag) protected voidEntityTests.SimpleEntity.addAdditionalSaveData(CompoundTag tag) protected voidEntityDataSerializerTest.TestEntity.readAdditionalSaveData(CompoundTag tag) protected voidEntityTests.AdaptedSpawnEntity.readAdditionalSaveData(CompoundTag tag) protected voidEntityTests.CustomComplexSpawnEntity.readAdditionalSaveData(CompoundTag tag) protected voidEntityTests.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 FluidStackFluidStack.parseOptional(HolderLookup.Provider lookupProvider, CompoundTag tag) Tries to parse a fluid stack, defaulting toFluidStack.EMPTYon 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 TypeMethodDescriptionvoidItemStackHandler.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 TypeMethodDescriptionvoidFullPotsAccessorDemo.DioriteFlowerPotBlockEntity.handleUpdateTag(CompoundTag tag, HolderLookup.Provider holderLookup) voidFullPotsAccessorDemo.DioriteFlowerPotBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider holderLookup) protected voidFullPotsAccessorDemo.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 TypeMethodDescriptionvoidCustomItemDisplayContextTest.ItemHangerBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider holderLookup) protected voidCustomItemDisplayContextTest.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 voidPartEntityTest.TestEntityPart.addAdditionalSaveData(CompoundTag nbt) protected voidPartEntityTest.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)