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 entity) 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 state, BlockPos pos, CompoundTag compound) private voidKeyboardHandler.copyCreateEntityCommand(ResourceLocation entityId, Vec3 pos, CompoundTag compound) private CompoundTagOptions.dataFix(CompoundTag nbt) booleanDebugQueryHandler.handleResponse(int transactionId, CompoundTag tag) Method parameters in net.minecraft.client with type arguments of type CompoundTagModifier and TypeMethodDescriptionvoidDebugQueryHandler.queryBlockEntityTag(BlockPos pos, Consumer<CompoundTag> tag) voidDebugQueryHandler.queryEntityTag(int entId, Consumer<CompoundTag> tag) private intDebugQueryHandler.startTransaction(Consumer<CompoundTag> callback) -
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 nbtCompound) Takes an NBTTagCompound with 'name' and 'ip' keys, returns a ServerData instance.ClientChunkCache.replaceWithPacketData(int x, int z, FriendlyByteBuf buffer, CompoundTag tag, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> consumer) -
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> context, String name) CompoundTagArgument.parse(com.mojang.brigadier.StringReader reader) Methods in net.minecraft.commands.arguments with parameters of type CompoundTagModifier and TypeMethodDescriptionNbtPathArgument.createTagPredicate(CompoundTag tag) intNbtPathArgument.NbtPath.insert(int index, CompoundTag rootTag, List<Tag> tagsToInsert) Constructors in net.minecraft.commands.arguments with parameters of type CompoundTagModifierConstructorDescriptionMatchElementNode(CompoundTag pattern) MatchObjectNode(String name, CompoundTag pattern) -
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 state, Set<Property<?>> properties, CompoundTag tag) BlockPredicate(BlockState state, Set<Property<?>> properties, CompoundTag nbt) BlockResult(BlockState blockState, Map<Property<?>, Comparable<?>> properties, CompoundTag nbt) Creates an instance of aBlockResultrecord class.(package private)TagPredicate(HolderSet<Block> tag, Map<String, String> vagueProperties, CompoundTag nbt) 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 arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher) MacroFunction.instantiate(CompoundTag arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher) 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 structureLocationPath, CompoundTag tag) StructureUpdater.apply(String structureLocationPath, CompoundTag tag) private CompoundTagSnbtToNbt.applyFilters(String fileName, CompoundTag tag) static CompoundTagStructureUpdater.update(String structureLocationPath, CompoundTag tag) Methods in net.minecraft.data.structures with parameters of type CompoundTagModifier and TypeMethodDescriptionSnbtToNbt.Filter.apply(String structureLocationPath, CompoundTag tag) StructureUpdater.apply(String structureLocationPath, CompoundTag tag) private CompoundTagSnbtToNbt.applyFilters(String fileName, CompoundTag tag) static CompoundTagStructureUpdater.update(String structureLocationPath, CompoundTag tag) -
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 tag) static CompoundTagNbtUtils.addDataVersion(CompoundTag tag, int dataVersion) protected CompoundTagNbtOps.NbtRecordBuilder.append(String key, Tag value, CompoundTag tag) CompoundTag.copy()CompoundTag.getCompound(String key) ListTag.getCompound(int index) protected CompoundTagNbtOps.NbtRecordBuilder.initBuilder()CompoundTag.merge(CompoundTag other) Copies all the tags ofotherinto this tag, then returns itself.(package private) static CompoundTagNbtUtils.packStructureTemplate(CompoundTag tag) static CompoundTagstatic CompoundTagReads a compound tag from a file.static CompoundTagNbtIo.read(DataInput input, NbtAccounter accounter) Reads a compound tag from a file.static CompoundTagstatic CompoundTagNbtIo.readCompressed(InputStream zippedStream, NbtAccounter accounter) static CompoundTagNbtIo.readCompressed(Path path, NbtAccounter accounter) (package private) CompoundTagTagParser.readSingleStruct()TagParser.readStruct()protected CompoundTagCompoundTag.shallowCopy()static CompoundTagNbtUtils.snbtToStructure(String text) (package private) static CompoundTagNbtUtils.unpackBlockState(String blockStateText) (package private) static CompoundTagNbtUtils.unpackStructureTemplate(CompoundTag tag) private static CompoundTagNbtOps.HeterogenousListCollector.wrapElement(Tag tag) static CompoundTagNbtUtils.writeBlockState(BlockState state) static CompoundTagNbtUtils.writeFluidState(FluidState state) 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 tag) static CompoundTagNbtUtils.addDataVersion(CompoundTag tag, int dataVersion) protected CompoundTagNbtOps.NbtRecordBuilder.append(String key, Tag value, CompoundTag tag) protected com.mojang.serialization.DataResult<Tag> NbtOps.NbtRecordBuilder.build(CompoundTag p_129190_, Tag p_129191_) static intNbtUtils.getDataVersion(CompoundTag tag, int defaultValue) SnbtPrinterTagVisitor.getKeys(CompoundTag tag) private static booleanNbtOps.HeterogenousListCollector.isWrapper(CompoundTag tag) CompoundTag.merge(CompoundTag other) Copies all the tags ofotherinto this tag, then returns itself.(package private) static StringNbtUtils.packBlockState(CompoundTag tag) (package private) static CompoundTagNbtUtils.packStructureTemplate(CompoundTag tag) NbtUtils.readBlockPos(CompoundTag tag, String key) static BlockStateNbtUtils.readBlockState(HolderGetter<Block> blockGetter, CompoundTag tag) private static <S extends StateHolder<?,S>, T extends Comparable<T>>
SNbtUtils.setValueHelper(S stateHolder, Property<T> property, String propertyName, CompoundTag propertiesTag, CompoundTag blockStateTag) static StringNbtUtils.structureToSnbt(CompoundTag tag) private static TagNbtOps.tryUnwrap(CompoundTag p_tag) (package private) static CompoundTagNbtUtils.unpackStructureTemplate(CompoundTag tag) voidSnbtPrinterTagVisitor.visitCompound(CompoundTag p_tag) voidStringTagVisitor.visitCompound(CompoundTag tag) voidTagVisitor.visitCompound(CompoundTag tag) voidTextComponentTagVisitor.visitCompound(CompoundTag tag) static voidNbtIo.write(CompoundTag compoundTag, DataOutput output) static voidNbtIo.write(CompoundTag compoundTag, Path path) static voidNbtIo.writeCompressed(CompoundTag compoundTag, OutputStream outputStream) Writes and compresses a compound tag to a GNU zipped file.static voidNbtIo.writeCompressed(CompoundTag compoundTag, Path path) -
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 buffer) -
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 source) DataSource.getData(CommandSourceStack source) EntityDataSource.getData(CommandSourceStack source) StorageDataSource.getData(CommandSourceStack source) -
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> accounterSupplier) -
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 pos, BlockEntityType<?> type, CompoundTag nbt) Method parameters in net.minecraft.network.protocol.game with type arguments of type CompoundTagModifier and TypeMethodDescriptionClientboundBlockEntityDataPacket.create(BlockEntity blockEntity, BiFunction<BlockEntity, RegistryAccess, CompoundTag> dataGetter) Constructors in net.minecraft.network.protocol.game with parameters of type CompoundTagModifierConstructorDescriptionprivateBlockEntityInfo(int packedXZ, int y, BlockEntityType<?> type, CompoundTag tag) privateClientboundBlockEntityDataPacket(BlockPos pos, BlockEntityType<?> type, CompoundTag tag) ClientboundTagQueryPacket(int transactionId, CompoundTag tag) -
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 tag, HolderLookup.Provider registries) -
Uses of CompoundTag in net.minecraft.server.bossevents
Methods in net.minecraft.server.bossevents that return CompoundTagModifier and TypeMethodDescriptionCustomBossEvent.save(HolderLookup.Provider levelRegistry) CustomBossEvents.save(HolderLookup.Provider levelRegistry) Methods in net.minecraft.server.bossevents with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic CustomBossEventCustomBossEvent.load(CompoundTag p_tag, ResourceLocation id, HolderLookup.Provider levelRegistry) voidCustomBossEvents.load(CompoundTag tag, HolderLookup.Provider levelRegistry) -
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> context) (package private) static CompoundTagFunctionCommand.getArgumentTag(NbtPathArgument.NbtPath nbtPath, DataAccessor dataAccessor) 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 source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag tag, boolean randomizeProperties) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions(CompoundTag arguments, ExecutionControl<T> executionControl, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, CommandFunction<T> function, ResourceLocation functionId, CommandResultCallback resultCallback, boolean returnParentFrame) static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctions(Collection<CommandFunction<T>> functions, CompoundTag arguments, T originalSource, T source, ExecutionControl<T> executionControl, FunctionCommand.Callbacks<T> callbacks, ChainModifiers chainModifiers) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsAsReturn(Collection<CommandFunction<T>> functions, CompoundTag arguments, T originalSource, T source, ExecutionControl<T> exectutionControl, FunctionCommand.Callbacks<T> callbacks) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsNoReturn(Collection<CommandFunction<T>> functions, CompoundTag arguments, T originalSource, T source, ExecutionControl<T> executionControl, FunctionCommand.Callbacks<T> callbacks) static <T extends ExecutionCommandSource<T>>
voidExecuteCommand.scheduleFunctionConditionsAndTest(T originalSource, List<T> sources, Function<T, T> sourceModifier, IntPredicate successCheck, com.mojang.brigadier.context.ContextChain<T> contextChain, CompoundTag arguments, ExecutionControl<T> executionControl, ExecuteCommand.CommandGetter<T, Collection<CommandFunction<T>>> functions, ChainModifiers chainModifiers) private static intSummonCommand.spawnEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag tag, boolean randomizeProperties) 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 source, DataAccessor accessor, CompoundTag nbt) Merges the given NBT into the targeted object's NBT.intDataCommands.DataManipulator.modify(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, CompoundTag nbt, NbtPathArgument.NbtPath nbtPath, List<Tag> tags) voidBlockDataAccessor.setData(CompoundTag other) voidDataAccessor.setData(CompoundTag other) voidEntityDataAccessor.setData(CompoundTag other) voidStorageDataAccessor.setData(CompoundTag other) -
Uses of CompoundTag in net.minecraft.server.level
Methods in net.minecraft.server.level that return CompoundTagMethods 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 compound) private static booleanChunkMap.isChunkDataValid(CompoundTag tag) voidServerPlayer.loadGameTypes(CompoundTag tag) voidServerPlayer.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.private static GameTypeServerPlayer.readPlayerMode(CompoundTag tag, String key) private voidServerPlayer.storeGameTypes(CompoundTag tag) private CompoundTagChunkMap.upgradeChunkTag(CompoundTag tag) -
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 json) ServerRecipeBook.toNbt()Methods in net.minecraft.stats with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidServerRecipeBook.fromNbt(CompoundTag tag, RecipeManager recipeManager) static RecipeBookSettingsRecipeBookSettings.read(CompoundTag tag) voidRecipeBookSettings.write(CompoundTag tag) -
Uses of CompoundTag in net.minecraft.util.datafix
Methods in net.minecraft.util.datafix that return CompoundTagModifier and TypeMethodDescriptionDataFixTypes.update(com.mojang.datafixers.DataFixer fixer, CompoundTag tag, int version, int newVersion) DataFixTypes.updateToCurrentVersion(com.mojang.datafixers.DataFixer fixer, CompoundTag tag, int version) Methods in net.minecraft.util.datafix with parameters of type CompoundTagModifier and TypeMethodDescriptionDataFixTypes.update(com.mojang.datafixers.DataFixer fixer, CompoundTag tag, int version, int newVersion) DataFixTypes.updateToCurrentVersion(com.mojang.datafixers.DataFixer fixer, CompoundTag tag, int version) -
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 regionStorage, CompoundTag chunkTag) 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 regionStorage, CompoundTag chunkTag) -
Uses of CompoundTag in net.minecraft.world
Methods in net.minecraft.world that return CompoundTagModifier and TypeMethodDescriptionRandomSequences.save(CompoundTag tag, HolderLookup.Provider registries) static CompoundTagContainerHelper.saveAllItems(CompoundTag tag, NonNullList<ItemStack> items, boolean alwaysPutTag, HolderLookup.Provider levelRegistry) static CompoundTagContainerHelper.saveAllItems(CompoundTag tag, NonNullList<ItemStack> items, HolderLookup.Provider levelRegistry) Methods in net.minecraft.world with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidLockCode.addToTag(CompoundTag nbt) static LockCodeLockCode.fromTag(CompoundTag nbt) private static booleanRandomSequences.getBooleanWithDefault(CompoundTag tag, String key, boolean defaultValue) static RandomSequencesRandomSequences.load(long seed, CompoundTag tag) static voidContainerHelper.loadAllItems(CompoundTag tag, NonNullList<ItemStack> items, HolderLookup.Provider levelRegistry) RandomSequences.save(CompoundTag tag, HolderLookup.Provider registries) static CompoundTagContainerHelper.saveAllItems(CompoundTag tag, NonNullList<ItemStack> items, boolean alwaysPutTag, HolderLookup.Provider levelRegistry) static CompoundTagContainerHelper.saveAllItems(CompoundTag tag, NonNullList<ItemStack> items, HolderLookup.Provider levelRegistry) default booleanRandomizableContainer.tryLoadLootTable(CompoundTag tag) default booleanRandomizableContainer.trySaveLootTable(CompoundTag tag) -
Uses of CompoundTag in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic MobEffectInstanceMobEffectInstance.load(CompoundTag nbt) Read a custom potion effect from a potion item's NBT data. -
Uses of CompoundTag in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as CompoundTagModifier and TypeFieldDescriptionprivate CompoundTagMarker.dataprivate CompoundTagEntity.persistentDataMethods in net.minecraft.world.entity that return CompoundTagModifier and TypeMethodDescriptionEntity.getPersistentData()Entity.saveWithoutId(CompoundTag compound) Writes this entity, including passengers, to NBT, regardless as to whether it is removed or a passenger.Methods in net.minecraft.world.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAgeableMob.addAdditionalSaveData(CompoundTag compound) protected voidAreaEffectCloud.addAdditionalSaveData(CompoundTag compound) protected voidDisplay.addAdditionalSaveData(CompoundTag compound) protected voidDisplay.BlockDisplay.addAdditionalSaveData(CompoundTag compound) protected voidDisplay.ItemDisplay.addAdditionalSaveData(CompoundTag compound) protected voidDisplay.TextDisplay.addAdditionalSaveData(CompoundTag compound) protected abstract voidEntity.addAdditionalSaveData(CompoundTag compound) voidExperienceOrb.addAdditionalSaveData(CompoundTag compound) voidGlowSquid.addAdditionalSaveData(CompoundTag compound) protected voidInteraction.addAdditionalSaveData(CompoundTag compound) voidItemBasedSteering.addAdditionalSaveData(CompoundTag nbt) protected voidLightningBolt.addAdditionalSaveData(CompoundTag compound) voidLivingEntity.addAdditionalSaveData(CompoundTag compound) protected voidMarker.addAdditionalSaveData(CompoundTag p_147257_) voidMob.addAdditionalSaveData(CompoundTag compound) protected voidOminousItemSpawner.addAdditionalSaveData(CompoundTag compound) voidTamableAnimal.addAdditionalSaveData(CompoundTag compound) default voidNeutralMob.addPersistentAngerSaveData(CompoundTag nbt) static Optional<EntityType<?>> EntityType.by(CompoundTag compound) EntityType.create(CompoundTag tag, Level level) voidEntity.load(CompoundTag compound) Reads the entity from NBT (calls an abstract helper method to read specialized data)static EntityEntityType.loadEntityRecursive(CompoundTag compound, Level level, Function<Entity, Entity> entityFunction) private static byteDisplay.TextDisplay.loadFlag(byte currentValue, CompoundTag tag, String flag, byte mask) EntityType.loadStaticEntity(CompoundTag compound, Level level) voidAgeableMob.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidAreaEffectCloud.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidDisplay.BlockDisplay.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidDisplay.ItemDisplay.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidDisplay.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidDisplay.TextDisplay.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected abstract voidEntity.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidExperienceOrb.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidGlowSquid.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidInteraction.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidItemBasedSteering.readAdditionalSaveData(CompoundTag nbt) protected voidLightningBolt.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidLivingEntity.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidMarker.readAdditionalSaveData(CompoundTag p_147254_) voidMob.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidOminousItemSpawner.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidTamableAnimal.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.default Leashable.LeashDataLeashable.readLeashData(CompoundTag tag) default voidNeutralMob.readPersistentAngerSaveData(Level level, CompoundTag tag) booleanEntity.save(CompoundTag compound) Writes this entity to NBT, unless it has been removed or it is a passenger.booleanEntity.saveAsPassenger(CompoundTag compound) Writes this entity to NBT, unless it has been removed.Entity.saveWithoutId(CompoundTag compound) Writes this entity, including passengers, to NBT, regardless as to whether it is removed or a passenger.private static voidDisplay.TextDisplay.storeFlag(byte currentValue, CompoundTag tag, String flag, byte mask) default voidLeashable.writeLeashData(CompoundTag tag, Leashable.LeashData leashData) -
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 nbt) static AttributeModifierAttributeModifier.load(CompoundTag nbt) -
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 compound) voidBat.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAbstractFish.addAdditionalSaveData(CompoundTag compound) voidAnimal.addAdditionalSaveData(CompoundTag compound) voidBee.addAdditionalSaveData(CompoundTag compound) voidCat.addAdditionalSaveData(CompoundTag compound) voidChicken.addAdditionalSaveData(CompoundTag compound) voidDolphin.addAdditionalSaveData(CompoundTag compound) voidFox.addAdditionalSaveData(CompoundTag compound) voidIronGolem.addAdditionalSaveData(CompoundTag compound) voidMushroomCow.addAdditionalSaveData(CompoundTag compound) voidOcelot.addAdditionalSaveData(CompoundTag compound) voidPanda.addAdditionalSaveData(CompoundTag compound) voidParrot.addAdditionalSaveData(CompoundTag compound) voidPig.addAdditionalSaveData(CompoundTag compound) voidPolarBear.addAdditionalSaveData(CompoundTag compound) voidPufferfish.addAdditionalSaveData(CompoundTag compound) voidRabbit.addAdditionalSaveData(CompoundTag compound) voidSheep.addAdditionalSaveData(CompoundTag compound) voidSnowGolem.addAdditionalSaveData(CompoundTag compound) voidTropicalFish.addAdditionalSaveData(CompoundTag compound) voidTurtle.addAdditionalSaveData(CompoundTag compound) voidWolf.addAdditionalSaveData(CompoundTag compound) static voidBucketable.loadDefaultDataFromBucketTag(Mob mob, CompoundTag tag) Deprecated.voidAbstractFish.loadFromBucketTag(CompoundTag tag) voidBucketable.loadFromBucketTag(CompoundTag tag) voidTropicalFish.loadFromBucketTag(CompoundTag tag) voidAbstractFish.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidAnimal.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidBee.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidCat.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidChicken.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidDolphin.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidFox.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidIronGolem.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidMushroomCow.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidOcelot.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidPanda.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidParrot.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidPig.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidPolarBear.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidPufferfish.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidRabbit.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidSheep.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidSnowGolem.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidTropicalFish.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidTurtle.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidWolf.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAllay.addAdditionalSaveData(CompoundTag compound) voidAllay.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.animal.armadillo
Methods in net.minecraft.world.entity.animal.armadillo with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidArmadillo.addAdditionalSaveData(CompoundTag compound) voidArmadillo.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAxolotl.addAdditionalSaveData(CompoundTag compound) voidAxolotl.loadFromBucketTag(CompoundTag tag) voidAxolotl.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidCamel.addAdditionalSaveData(CompoundTag compound) voidCamel.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidFrog.addAdditionalSaveData(CompoundTag compound) voidTadpole.addAdditionalSaveData(CompoundTag compound) voidTadpole.loadFromBucketTag(CompoundTag tag) voidFrog.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidTadpole.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidGoat.addAdditionalSaveData(CompoundTag compound) voidGoat.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAbstractChestedHorse.addAdditionalSaveData(CompoundTag compound) voidAbstractHorse.addAdditionalSaveData(CompoundTag compound) voidHorse.addAdditionalSaveData(CompoundTag compound) voidLlama.addAdditionalSaveData(CompoundTag compound) voidSkeletonHorse.addAdditionalSaveData(CompoundTag compound) voidTraderLlama.addAdditionalSaveData(CompoundTag compound) voidAbstractChestedHorse.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidAbstractHorse.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidHorse.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidLlama.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidSkeletonHorse.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidTraderLlama.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.boss
Methods in net.minecraft.world.entity.boss with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidEnderDragonPart.addAdditionalSaveData(CompoundTag compound) protected voidEnderDragonPart.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.boss.enderdragon
Methods in net.minecraft.world.entity.boss.enderdragon with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidEndCrystal.addAdditionalSaveData(CompoundTag compound) voidEnderDragon.addAdditionalSaveData(CompoundTag compound) protected voidEndCrystal.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidEnderDragon.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.boss.wither
Methods in net.minecraft.world.entity.boss.wither with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidWitherBoss.addAdditionalSaveData(CompoundTag compound) voidWitherBoss.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return CompoundTagMethods in net.minecraft.world.entity.decoration with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidArmorStand.addAdditionalSaveData(CompoundTag compound) voidBlockAttachedEntity.addAdditionalSaveData(CompoundTag compound) voidItemFrame.addAdditionalSaveData(CompoundTag compound) voidLeashFenceKnotEntity.addAdditionalSaveData(CompoundTag compound) voidPainting.addAdditionalSaveData(CompoundTag compound) voidArmorStand.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidBlockAttachedEntity.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidItemFrame.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidLeashFenceKnotEntity.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidPainting.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.private voidArmorStand.readPose(CompoundTag compound) -
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 compound) voidItemEntity.addAdditionalSaveData(CompoundTag compound) protected voidPrimedTnt.addAdditionalSaveData(CompoundTag compound) protected voidFallingBlockEntity.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidItemEntity.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidPrimedTnt.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidBogged.addAdditionalSaveData(CompoundTag compound) voidCreeper.addAdditionalSaveData(CompoundTag compound) voidEnderMan.addAdditionalSaveData(CompoundTag compound) voidEndermite.addAdditionalSaveData(CompoundTag compound) voidEvoker.addAdditionalSaveData(CompoundTag compound) voidGhast.addAdditionalSaveData(CompoundTag compound) voidPatrollingMonster.addAdditionalSaveData(CompoundTag compound) voidPhantom.addAdditionalSaveData(CompoundTag compound) voidPillager.addAdditionalSaveData(CompoundTag compound) voidRavager.addAdditionalSaveData(CompoundTag compound) voidShulker.addAdditionalSaveData(CompoundTag compound) voidSkeleton.addAdditionalSaveData(CompoundTag compound) voidSlime.addAdditionalSaveData(CompoundTag compound) voidSpellcasterIllager.addAdditionalSaveData(CompoundTag compound) voidStrider.addAdditionalSaveData(CompoundTag compound) voidVex.addAdditionalSaveData(CompoundTag compound) voidVindicator.addAdditionalSaveData(CompoundTag compound) voidZoglin.addAdditionalSaveData(CompoundTag compound) voidZombie.addAdditionalSaveData(CompoundTag compound) voidZombieVillager.addAdditionalSaveData(CompoundTag compound) voidZombifiedPiglin.addAdditionalSaveData(CompoundTag compound) voidAbstractSkeleton.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidBogged.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidCreeper.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidEnderMan.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidEndermite.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidEvoker.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidGhast.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidPatrollingMonster.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidPhantom.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidPillager.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidRavager.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidShulker.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidSkeleton.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidSlime.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidSpellcasterIllager.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidStrider.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidVex.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidVindicator.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidZoglin.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidZombie.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidZombieVillager.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidZombifiedPiglin.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidHoglin.addAdditionalSaveData(CompoundTag compound) voidHoglin.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAbstractPiglin.addAdditionalSaveData(CompoundTag compound) voidPiglin.addAdditionalSaveData(CompoundTag compound) voidAbstractPiglin.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidPiglin.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidWarden.addAdditionalSaveData(CompoundTag compound) voidWarden.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidAbstractVillager.addAdditionalSaveData(CompoundTag compound) voidVillager.addAdditionalSaveData(CompoundTag compound) voidWanderingTrader.addAdditionalSaveData(CompoundTag compound) voidAbstractVillager.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidVillager.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidWanderingTrader.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.default voidInventoryCarrier.readInventoryFromTag(CompoundTag tag, HolderLookup.Provider levelRegistry) default voidInventoryCarrier.writeInventoryToTag(CompoundTag tag, HolderLookup.Provider levelRegistry) -
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 compound) voidAbilities.addSaveData(CompoundTag compound) voidAbilities.loadSaveData(CompoundTag compound) private voidPlayer.playShoulderEntityAmbientSound(CompoundTag entityCompound) voidPlayer.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.private voidPlayer.respawnEntityOnShoulder(CompoundTag entityCompound) booleanPlayer.setEntityOnShoulder(CompoundTag entityCompound) protected voidPlayer.setShoulderEntityLeft(CompoundTag entityCompound) protected voidPlayer.setShoulderEntityRight(CompoundTag entityCompound) -
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 compound) voidAbstractHurtingProjectile.addAdditionalSaveData(CompoundTag compound) protected voidEvokerFangs.addAdditionalSaveData(CompoundTag compound) voidEyeOfEnder.addAdditionalSaveData(CompoundTag compound) voidFireball.addAdditionalSaveData(CompoundTag compound) voidFireworkRocketEntity.addAdditionalSaveData(CompoundTag compound) voidFishingHook.addAdditionalSaveData(CompoundTag compound) voidLargeFireball.addAdditionalSaveData(CompoundTag compound) protected voidProjectile.addAdditionalSaveData(CompoundTag compound) protected voidShulkerBullet.addAdditionalSaveData(CompoundTag compound) voidSpectralArrow.addAdditionalSaveData(CompoundTag compound) voidThrowableItemProjectile.addAdditionalSaveData(CompoundTag compound) voidThrownTrident.addAdditionalSaveData(CompoundTag compound) voidWitherSkull.addAdditionalSaveData(CompoundTag compound) voidAbstractArrow.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidAbstractHurtingProjectile.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidEvokerFangs.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidEyeOfEnder.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidFireball.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidFireworkRocketEntity.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidFishingHook.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidLargeFireball.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidProjectile.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidShulkerBullet.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidSpectralArrow.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidThrowableItemProjectile.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidThrownTrident.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.voidWitherSkull.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT. -
Uses of CompoundTag in net.minecraft.world.entity.raid
Methods in net.minecraft.world.entity.raid that return CompoundTagModifier and TypeMethodDescriptionRaid.save(CompoundTag compound) Raids.save(CompoundTag tag, HolderLookup.Provider registries) Methods in net.minecraft.world.entity.raid with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidRaider.addAdditionalSaveData(CompoundTag compound) static RaidsRaids.load(ServerLevel level, CompoundTag tag) voidRaider.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.Raid.save(CompoundTag compound) Raids.save(CompoundTag tag, HolderLookup.Provider registries) 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 compound) protected voidAbstractMinecartContainer.addAdditionalSaveData(CompoundTag compound) protected voidBoat.addAdditionalSaveData(CompoundTag compound) protected voidChestBoat.addAdditionalSaveData(CompoundTag compound) protected voidMinecartCommandBlock.addAdditionalSaveData(CompoundTag compound) protected voidMinecartFurnace.addAdditionalSaveData(CompoundTag compound) protected voidMinecartHopper.addAdditionalSaveData(CompoundTag compound) protected voidMinecartSpawner.addAdditionalSaveData(CompoundTag compound) protected voidMinecartTNT.addAdditionalSaveData(CompoundTag compound) default voidContainerEntity.addChestVehicleSaveData(CompoundTag tag, HolderLookup.Provider levelRegistry) protected voidAbstractMinecart.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidAbstractMinecartContainer.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidBoat.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidChestBoat.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidMinecartCommandBlock.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidMinecartFurnace.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidMinecartHopper.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidMinecartSpawner.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.protected voidMinecartTNT.readAdditionalSaveData(CompoundTag compound) (abstract) Protected helper method to read subclass entity data from NBT.default voidContainerEntity.readChestVehicleSaveData(CompoundTag tag, HolderLookup.Provider levelRegistry) -
Uses of CompoundTag in net.minecraft.world.food
Methods in net.minecraft.world.food with parameters of type CompoundTagModifier and TypeMethodDescriptionvoidFoodData.addAdditionalSaveData(CompoundTag compoundTag) Writes the food data for the player.voidFoodData.readAdditionalSaveData(CompoundTag compoundTag) Reads the food data for the player. -
Uses of CompoundTag in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic ItemStackItemStack.parseOptional(HolderLookup.Provider lookupProvider, CompoundTag tag) static voidBlockItem.setBlockEntityData(ItemStack stack, BlockEntityType<?> blockEntityType, CompoundTag blockEntityData) -
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> componentType, CompoundTag tag) booleanCustomData.matchedBy(CompoundTag tag) static CustomDataCustomData.of(CompoundTag tag) static voidCustomData.set(DataComponentType<CustomData> componentType, ItemStack stack, CompoundTag tag) Method parameters in net.minecraft.world.item.component with type arguments of type CompoundTagModifier and TypeMethodDescriptionCustomData.update(Consumer<CompoundTag> updater) static voidCustomData.update(DataComponentType<CustomData> componentType, ItemStack stack, Consumer<CompoundTag> updater) 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 tag, HolderLookup.Provider levelRegistry) BaseSpawner.save(CompoundTag tag) ForcedChunksSavedData.save(CompoundTag tag, HolderLookup.Provider registries) Methods in net.minecraft.world.level with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate static ResourceLocationSpawner.getEntityKey(CompoundTag tag, String spawnDataKey) voidBaseCommandBlock.load(CompoundTag tag, HolderLookup.Provider levelRegistry) voidBaseSpawner.load(Level level, BlockPos pos, CompoundTag tag) static ForcedChunksSavedDataForcedChunksSavedData.load(CompoundTag tag, HolderLookup.Provider registries) BaseCommandBlock.save(CompoundTag tag, HolderLookup.Provider levelRegistry) BaseSpawner.save(CompoundTag tag) ForcedChunksSavedData.save(CompoundTag tag, HolderLookup.Provider registries) 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 tag) voidSculkSpreader.save(CompoundTag tag) -
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 registries) BeaconBlockEntity.getUpdateTag(HolderLookup.Provider registries) BlockEntity.getUpdateTag(HolderLookup.Provider registries) BrushableBlockEntity.getUpdateTag(HolderLookup.Provider registries) CampfireBlockEntity.getUpdateTag(HolderLookup.Provider registries) ConduitBlockEntity.getUpdateTag(HolderLookup.Provider registries) DecoratedPotBlockEntity.getUpdateTag(HolderLookup.Provider registries) JigsawBlockEntity.getUpdateTag(HolderLookup.Provider registries) SignBlockEntity.getUpdateTag(HolderLookup.Provider registries) SkullBlockEntity.getUpdateTag(HolderLookup.Provider registries) SpawnerBlockEntity.getUpdateTag(HolderLookup.Provider registries) StructureBlockEntity.getUpdateTag(HolderLookup.Provider registries) TheEndGatewayBlockEntity.getUpdateTag(HolderLookup.Provider registries) TrialSpawnerBlockEntity.getUpdateTag(HolderLookup.Provider registries) PotDecorations.save(CompoundTag tag) final CompoundTagBlockEntity.saveCustomAndMetadata(HolderLookup.Provider registries) final CompoundTagBlockEntity.saveCustomOnly(HolderLookup.Provider registries) final CompoundTagBlockEntity.saveWithFullMetadata(HolderLookup.Provider registries) final CompoundTagBlockEntity.saveWithId(HolderLookup.Provider registries) final CompoundTagBlockEntity.saveWithoutMetadata(HolderLookup.Provider registries) Methods in net.minecraft.world.level.block.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionprivate voidCrafterBlockEntity.addDisabledSlots(CompoundTag tag) static voidBlockEntity.addEntityType(CompoundTag tag, BlockEntityType<?> entityType) private voidCrafterBlockEntity.addTriggered(CompoundTag tag) static BlockPosBlockEntity.getPosFromTag(CompoundTag tag) static PotDecorationsPotDecorations.load(CompoundTag tag) protected voidAbstractFurnaceBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBannerBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBarrelBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBaseContainerBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBeaconBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBeehiveBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBrewingStandBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBrushableBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidCampfireBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidChestBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidChiseledBookShelfBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidCommandBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidComparatorBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidConduitBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidCrafterBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidDecoratedPotBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidDispenserBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidEnchantingTableBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidHopperBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidJigsawBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidJukeboxBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidLecternBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSculkCatalystBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSculkSensorBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSculkShriekerBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidShulkerBoxBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSignBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSkullBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSpawnerBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidStructureBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidTheEndGatewayBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidTrialSpawnerBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) final voidBlockEntity.loadCustomOnly(CompoundTag tag, HolderLookup.Provider registries) BeaconBlockEntity.loadEffect(CompoundTag tag, String key) voidShulkerBoxBlockEntity.loadFromTag(CompoundTag tag, HolderLookup.Provider levelRegistry) static BlockEntityBlockEntity.loadStatic(BlockPos pos, BlockState state, CompoundTag tag, HolderLookup.Provider registries) final voidBlockEntity.loadWithComponents(CompoundTag tag, HolderLookup.Provider registries) voidBannerBlockEntity.removeComponentsFromTag(CompoundTag tag) voidBaseContainerBlockEntity.removeComponentsFromTag(CompoundTag tag) voidBeaconBlockEntity.removeComponentsFromTag(CompoundTag tag) voidBeehiveBlockEntity.removeComponentsFromTag(CompoundTag tag) voidBlockEntity.removeComponentsFromTag(CompoundTag tag) Deprecated.voidCampfireBlockEntity.removeComponentsFromTag(CompoundTag tag) voidChiseledBookShelfBlockEntity.removeComponentsFromTag(CompoundTag tag) voidCommandBlockEntity.removeComponentsFromTag(CompoundTag tag) voidDecoratedPotBlockEntity.removeComponentsFromTag(CompoundTag tag) voidEnchantingTableBlockEntity.removeComponentsFromTag(CompoundTag tag) voidRandomizableContainerBlockEntity.removeComponentsFromTag(CompoundTag tag) voidSkullBlockEntity.removeComponentsFromTag(CompoundTag tag) PotDecorations.save(CompoundTag tag) protected voidAbstractFurnaceBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBannerBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBarrelBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBaseContainerBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBeaconBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBeehiveBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBrewingStandBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidBrushableBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidCampfireBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidChestBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidChiseledBookShelfBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidCommandBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidComparatorBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidConduitBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidCrafterBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidDecoratedPotBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidDispenserBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidEnchantingTableBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidHopperBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidJigsawBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidJukeboxBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidLecternBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSculkCatalystBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSculkSensorBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSculkShriekerBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidShulkerBoxBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSignBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSkullBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidSpawnerBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidStructureBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidTheEndGatewayBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidTrialSpawnerBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) private voidBlockEntity.saveId(CompoundTag tag) private voidBlockEntity.saveMetadata(CompoundTag tag) private static voidBeaconBlockEntity.storeEffect(CompoundTag tag, String key, Holder<MobEffect> effect) private booleanBrushableBlockEntity.tryLoadLootTable(CompoundTag tag) private booleanBrushableBlockEntity.trySaveLootTable(CompoundTag tag) -
Uses of CompoundTag in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner that return CompoundTag -
Uses of CompoundTag in net.minecraft.world.level.block.entity.vault
Methods in net.minecraft.world.level.block.entity.vault that return CompoundTagModifier and TypeMethodDescriptionVaultBlockEntity.getUpdateTag(HolderLookup.Provider registries) Methods in net.minecraft.world.level.block.entity.vault with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidVaultBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidVaultBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) -
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 registries) Methods in net.minecraft.world.level.block.piston with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidPistonMovingBlockEntity.loadAdditional(CompoundTag tag, HolderLookup.Provider registries) protected voidPistonMovingBlockEntity.saveAdditional(CompoundTag tag, HolderLookup.Provider registries) -
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 pos) ImposterProtoChunk.getBlockEntityNbt(BlockPos pos) abstract CompoundTagChunkAccess.getBlockEntityNbtForSaving(BlockPos pos, HolderLookup.Provider registries) ImposterProtoChunk.getBlockEntityNbtForSaving(BlockPos pos, HolderLookup.Provider registries) LevelChunk.getBlockEntityNbtForSaving(BlockPos pos, HolderLookup.Provider registries) ProtoChunk.getBlockEntityNbtForSaving(BlockPos pos, HolderLookup.Provider registries) 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 tag) private static <T> voidUpgradeData.loadTicks(CompoundTag p_tag, String identifier, Function<String, Optional<T>> valueFunction, List<SavedTick<T>> ticks) private BlockEntityLevelChunk.promotePendingBlockEntity(BlockPos pos, CompoundTag tag) final voidChunkAccess.readAttachmentsFromNBT(HolderLookup.Provider provider, CompoundTag tag) FOR INTERNAL USE ONLYvoidLevelChunk.replaceWithPacketData(FriendlyByteBuf buffer, CompoundTag tag, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> outputTagConsumer) voidChunkAccess.setBlockEntityNbt(CompoundTag tag) voidImposterProtoChunk.setBlockEntityNbt(CompoundTag tag) 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 level, List<CompoundTag> entityTags) -
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 context, ChunkPos pos, Map<Structure, StructureStart> structureMap, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> referenceMap) ChunkStorage.upgradeChunkTag(ResourceKey<Level> levelKey, Supplier<DimensionDataStorage> storage, CompoundTag chunkData, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> chunkGeneratorKey) SimpleRegionStorage.upgradeChunkTag(CompoundTag tag, int version) static CompoundTagChunkSerializer.write(ServerLevel level, ChunkAccess chunk) 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 tag) private static ListTagChunkSerializer.getListOfCompoundsOrNull(CompoundTag tag, String key) static intChunkStorage.getVersion(CompoundTag chunkData) static voidChunkStorage.injectDatafixingContext(CompoundTag chunkData, ResourceKey<Level> levelKey, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> chunkGeneratorKey) private booleanIOWorker.isOldChunk(CompoundTag chunkData) private static LevelChunk.PostLoadProcessorChunkSerializer.postLoadChunk(ServerLevel level, CompoundTag tag) static ProtoChunkChunkSerializer.read(ServerLevel level, PoiManager poiManager, RegionStorageInfo regionStorageInfo, ChunkPos pos, CompoundTag tag) private static ChunkPosEntityStorage.readChunkPos(CompoundTag tag) private voidSectionStorage.readColumn(ChunkPos chunkPos, RegistryOps<Tag> ops, CompoundTag tag) private static voidChunkStorage.removeDatafixingContext(CompoundTag tag) private static voidChunkSerializer.saveTicks(ServerLevel level, CompoundTag tag, ChunkAccess.TicksToSave ticksToSave) IOWorker.store(ChunkPos chunkPos, CompoundTag chunkData) ChunkSerializer.unpackStructureReferences(RegistryAccess registryAccess, ChunkPos pos, CompoundTag tag) private static Map<Structure, StructureStart> ChunkSerializer.unpackStructureStart(StructurePieceSerializationContext context, CompoundTag tag, long seed) ChunkStorage.upgradeChunkTag(ResourceKey<Level> levelKey, Supplier<DimensionDataStorage> storage, CompoundTag chunkData, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> chunkGeneratorKey) SimpleRegionStorage.upgradeChunkTag(CompoundTag tag, int version) ChunkStorage.write(ChunkPos chunkPos, CompoundTag data) RecreatingChunkStorage.write(ChunkPos chunkPos, CompoundTag data) RecreatingSimpleRegionStorage.write(ChunkPos chunkPos, CompoundTag data) protected voidRegionFileStorage.write(ChunkPos chunkPos, CompoundTag chunkData) SimpleRegionStorage.write(ChunkPos chunkPos, CompoundTag data) private static voidEntityStorage.writeChunkPos(CompoundTag tag, ChunkPos pos) 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 tag) -
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 context) StructureStart.createTag(StructurePieceSerializationContext context, ChunkPos chunkPos) StructureFeatureIndexSavedData.save(CompoundTag tag, HolderLookup.Provider registries) LegacyStructureDataHandler.updateFromLegacy(CompoundTag tag) private CompoundTagLegacyStructureDataHandler.updateStructureStart(CompoundTag tag, ChunkPos chunkPos) Methods in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected voidPoolElementStructurePiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidScatteredFeaturePiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected abstract voidStructurePiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidTemplateStructurePiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) StructureFeatureIndexSavedData.load(CompoundTag tag, HolderLookup.Provider registries) static StructureStartStructureStart.loadStaticStart(StructurePieceSerializationContext context, CompoundTag tag, long seed) private it.unimi.dsi.fastutil.objects.Object2IntMap<Structure> StructureCheck.loadStructures(CompoundTag tag) StructureFeatureIndexSavedData.save(CompoundTag tag, HolderLookup.Provider registries) LegacyStructureDataHandler.updateFromLegacy(CompoundTag tag) private CompoundTagLegacyStructureDataHandler.updateStructureStart(CompoundTag tag, ChunkPos chunkPos) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type CompoundTagModifierConstructorDescriptionprotectedScatteredFeaturePiece(StructurePieceType type, CompoundTag tag) StructurePiece(StructurePieceType type, CompoundTag tag) TemplateStructurePiece(StructurePieceType type, CompoundTag tag, StructureTemplateManager structureTemplateManager, Function<ResourceLocation, StructurePlaceSettings> placeSettingsFactory) -
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 tag) default StructurePieceStructurePieceType.ContextlessType.load(StructurePieceSerializationContext context, CompoundTag tag) StructurePieceType.load(StructurePieceSerializationContext context, CompoundTag tag) default StructurePieceStructurePieceType.StructureTemplateType.load(StructurePieceSerializationContext context, CompoundTag tag) StructurePieceType.StructureTemplateType.load(StructureTemplateManager structureTemplateManager, CompoundTag tag) -
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 context, CompoundTag tag) protected voidDesertPyramidPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidEndCityPieces.EndCityPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidIglooPieces.IglooPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidJungleTemplePiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidMineshaftPieces.MineShaftCorridor.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidMineshaftPieces.MineShaftCrossing.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidMineshaftPieces.MineShaftPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidMineshaftPieces.MineShaftRoom.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidNetherFortressPieces.BridgeEndFiller.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidNetherFortressPieces.MonsterThrone.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidNetherFortressPieces.NetherBridgePiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidNetherFossilPieces.NetherFossilPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidOceanMonumentPieces.OceanMonumentPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidOceanRuinPieces.OceanRuinPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidRuinedPortalPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidShipwreckPieces.ShipwreckPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidStrongholdPieces.ChestCorridor.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidStrongholdPieces.FillerCorridor.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidStrongholdPieces.FiveCrossing.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidStrongholdPieces.Library.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidStrongholdPieces.PortalRoom.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidStrongholdPieces.RoomCrossing.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidStrongholdPieces.StairsDown.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidStrongholdPieces.Straight.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidStrongholdPieces.StrongholdPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidSwampHutPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) protected voidWoodlandMansionPieces.WoodlandMansionPiece.addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag) OceanRuinPieces.OceanRuinPiece.create(StructureTemplateManager structureTemplateManager, CompoundTag tag) private static StructurePlaceSettingsRuinedPortalPiece.makeSettings(StructureTemplateManager structureTemplateManager, CompoundTag tag, ResourceLocation location) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type CompoundTagModifierConstructorDescriptionprotectedBridgeCrossing(StructurePieceType type, CompoundTag tag) ChestCorridor(CompoundTag tag) EndCityPiece(StructureTemplateManager structureTemplateManager, CompoundTag tag) FiveCrossing(CompoundTag tag) IglooPiece(StructureTemplateManager structureTemplateManager, CompoundTag tag) LeftTurn(CompoundTag tag) Library(CompoundTag tag) MineShaftPiece(StructurePieceType type, CompoundTag tag) MineShaftRoom(CompoundTag tag) MonsterThrone(CompoundTag tag) NetherBridgePiece(StructurePieceType type, CompoundTag tag) NetherFossilPiece(StructureTemplateManager structureManager, CompoundTag tag) OceanMonumentPiece(StructurePieceType type, CompoundTag tag) privateOceanRuinPiece(StructureTemplateManager structureTemplateManager, CompoundTag genDepth, Rotation rotation, float integrity, OceanRuinStructure.Type biomeType, boolean isLarge) PortalRoom(CompoundTag tag) PrisonHall(CompoundTag tag) RightTurn(CompoundTag tag) RoomCrossing(CompoundTag tag) RoomCrossing(CompoundTag tag) RuinedPortalPiece(StructureTemplateManager structureTemplateManager, CompoundTag tag) ShipwreckPiece(StructureTemplateManager structureTemplateManager, CompoundTag tag) StairsDown(CompoundTag tag) StairsDown(StructurePieceType type, CompoundTag tag) StairsRoom(CompoundTag tag) StartPiece(CompoundTag tag) StartPiece(CompoundTag tag) Straight(CompoundTag tag) StrongholdPiece(StructurePieceType type, CompoundTag tag) SwampHutPiece(CompoundTag tag) Turn(StructurePieceType p_229934_, CompoundTag p_229935_) WoodlandMansionPiece(StructureTemplateManager structureTemplateManager, CompoundTag tag) -
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 random, CompoundTag tag) StructureTemplate.StructureBlockInfo.nbt()Returns the value of thenbtrecord component.StructureTemplate.save(CompoundTag tag) Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type CompoundTagModifier and TypeMethodDescriptionStructureTemplate.createEntityIgnoreException(ServerLevelAccessor level, CompoundTag tag) ProcessorRule.getOutputTag(RandomSource random, CompoundTag tag) voidStructureTemplate.load(HolderGetter<Block> blockGetter, CompoundTag tag) StructureTemplateManager.readStructure(CompoundTag nbt) StructureTemplate.save(CompoundTag tag) 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 pos, BlockPos blockPos, CompoundTag nbt) -
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 random, CompoundTag tag) AppendStatic.apply(RandomSource random, CompoundTag tag) Clear.apply(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply(RandomSource random, CompoundTag tag) Methods in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type CompoundTagModifier and TypeMethodDescriptionAppendLoot.apply(RandomSource random, CompoundTag tag) AppendStatic.apply(RandomSource random, CompoundTag tag) Clear.apply(RandomSource p_277601_, CompoundTag p_277931_) Passthrough.apply(RandomSource p_277737_, CompoundTag p_277665_) RuleBlockEntityModifier.apply(RandomSource random, CompoundTag tag) 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 tag, HolderLookup.Provider registries) 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 tag, HolderLookup.Provider registries) 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 tag, HolderLookup.Provider registries) MapItemSavedData.save(CompoundTag tag, HolderLookup.Provider registries) Methods in net.minecraft.world.level.saveddata.maps with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic MapFrameMapFrame.load(CompoundTag compoundTag) static MapIndexMapIndex.load(CompoundTag tag, HolderLookup.Provider registries) static MapItemSavedDataMapItemSavedData.load(CompoundTag tag, HolderLookup.Provider levelRegistry) MapIndex.save(CompoundTag tag, HolderLookup.Provider registries) MapItemSavedData.save(CompoundTag tag, HolderLookup.Provider registries) -
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 registries, CompoundTag hostPlayerNBT) WorldData.createTag(RegistryAccess registries, CompoundTag hostPlayerNBT) CommandStorage.get(ResourceLocation id) PrimaryLevelData.getCustomBossEvents()WorldData.getCustomBossEvents()PrimaryLevelData.getLoadedPlayerTag()WorldData.getLoadedPlayerTag()(package private) static CompoundTagLevelStorageSource.readLevelDataTagRaw(Path levelPath) DimensionDataStorage.readTagFromDisk(String filename, DataFixTypes dataFixType, int version) CommandStorage.Container.save(CompoundTag tag, HolderLookup.Provider registries) 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 registries, CompoundTag hostPlayerNBT) WorldData.createTag(RegistryAccess registries, CompoundTag hostPlayerNBT) (package private) CommandStorage.ContainerCommandStorage.Container.load(CompoundTag compoundTag) voidCommandStorage.Container.put(String id, CompoundTag nbt) CommandStorage.Container.save(CompoundTag tag, HolderLookup.Provider registries) voidLevelStorageSource.LevelStorageAccess.saveDataTag(RegistryAccess registries, WorldData serverConfiguration, CompoundTag hostPlayerNBT) private voidLevelStorageSource.LevelStorageAccess.saveLevelData(CompoundTag tag) voidCommandStorage.set(ResourceLocation id, CompoundTag nbt) voidPrimaryLevelData.setCustomBossEvents(CompoundTag nbt) voidWorldData.setCustomBossEvents(CompoundTag nbt) private voidPrimaryLevelData.setTagData(RegistryAccess registry, CompoundTag nbt, CompoundTag playerNBT) Method parameters in net.minecraft.world.level.storage with type arguments of type CompoundTagModifier and TypeMethodDescriptionprivate voidLevelStorageSource.LevelStorageAccess.modifyLevelDataWithoutDatafix(Consumer<CompoundTag> modifier) private <T extends SavedData>
TDimensionDataStorage.readSavedData(BiFunction<CompoundTag, HolderLookup.Provider, T> reader, DataFixTypes dataFixType, String filename) Constructors in net.minecraft.world.level.storage with parameters of type CompoundTagModifierConstructorDescriptionprivatePrimaryLevelData(CompoundTag loadedPlayerTag, boolean wasModded, BlockPos spawnPos, float spawnAngle, long gameTime, long dayTime, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Settings worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, UUID wanderingTraderId, Set<String> knownServerBrands, Set<String> removedFeatureFlags, TimerQueue<MinecraftServer> scheduledEvents, CompoundTag customBossEvents, EndDragonFight.Data endDragonFightData, LevelSettings settings, WorldOptions worldOptions, PrimaryLevelData.SpecialWorldProperty specialWorldProperty, com.mojang.serialization.Lifecycle worldGenSettingsLifecycle) -
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 tag) Deprecated.Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type CompoundTagModifierConstructorDescriptionprivateSetCustomDataFunction(List<LootItemCondition> conditions, CompoundTag tag) -
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 callback) private CompoundTagTimerQueue.storeEvent(TimerQueue.Event<T> event) 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 tag) TimerCallbacks.deserialize(CompoundTag tag) private voidTimerQueue.loadEvent(CompoundTag tag) voidFunctionCallback.Serializer.serialize(CompoundTag p_82182_, FunctionCallback p_82183_) voidFunctionTagCallback.Serializer.serialize(CompoundTag p_82206_, FunctionTagCallback p_82207_) abstract voidTimerCallback.Serializer.serialize(CompoundTag tag, C callback) -
Uses of CompoundTag in net.minecraft.world.scores
Methods in net.minecraft.world.scores that return CompoundTagModifier and TypeMethodDescriptionScoreboardSaveData.save(CompoundTag tag, HolderLookup.Provider registries) Score.write(HolderLookup.Provider levelRegistry) Methods in net.minecraft.world.scores with parameters of type CompoundTagModifier and TypeMethodDescriptionScoreboardSaveData.load(CompoundTag tag, HolderLookup.Provider levelRegistry) private voidScoreboardSaveData.loadDisplaySlots(CompoundTag compound) static ScoreScore.read(CompoundTag tag, HolderLookup.Provider levelRegistry) ScoreboardSaveData.save(CompoundTag tag, HolderLookup.Provider registries) private voidScoreboardSaveData.saveDisplaySlots(CompoundTag compound) -
Uses of CompoundTag in net.minecraft.world.ticks
Methods in net.minecraft.world.ticks that return CompoundTagModifier and TypeMethodDescriptionprivate static CompoundTagSavedTick.saveTick(String id, BlockPos pos, int delay, TickPriority priority) static <T> CompoundTagSavedTick.saveTick(ScheduledTick<T> tick, Function<T, String> idGetter, long gameTime) 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) static voidIOUtilities.writeNbt(CompoundTag tag, Path path) Behaves much the same asNbtIo.write(CompoundTag, Path), but usesIOUtilities.atomicWrite(Path, WriteCallback)behind the scenes to ensure the data is stored resiliently.static voidIOUtilities.writeNbtCompressed(CompoundTag tag, Path path) Behaves much the same asNbtIo.writeCompressed(CompoundTag, Path), but usesIOUtilities.atomicWrite(Path, WriteCallback)behind the scenes to ensure the data is stored resiliently. -
Uses of CompoundTag in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return CompoundTagModifier and TypeMethodDescriptionIBlockEntityExtension.getPersistentData()Gets aCompoundTagthat can be used to store custom data for this block entity.IEntityExtension.getPersistentData()Returns a NBTTagCompound that can be used to store custom data for this entity.default CompoundTagIEntityExtension.serializeNBT(HolderLookup.Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.Use a data component/attachment to store info.Methods in net.neoforged.neoforge.common.extensions with parameters of type CompoundTagModifier and TypeMethodDescriptiondefault voidIEntityExtension.deserializeNBT(HolderLookup.Provider provider, CompoundTag nbt) Deprecated, for removal: This API element is subject to removal in a future version.Use a data component/attachment to store info, orEntity.load(CompoundTag)as a replacement.default 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) Deprecated, for removal: This API element is subject to removal in a future version.Methods in net.neoforged.neoforge.common.util with parameters of type CompoundTagModifier and TypeMethodDescriptionDummySavedData.save(CompoundTag compound, HolderLookup.Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in net.neoforged.neoforge.common.util with parameters of type 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.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)