Uses of Class
net.minecraft.nbt.NbtCompound
Packages that use NbtCompound
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of NbtCompound in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return NbtCompoundModifier and TypeMethodDescriptionfinal NbtCompoundBlockEntity.createComponentlessNbt(RegistryWrapper.WrapperLookup registryLookup) final NbtCompoundBlockEntity.createComponentlessNbtWithIdentifyingData(RegistryWrapper.WrapperLookup registryLookup) final NbtCompoundBlockEntity.createNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the block entity's NBT data.final NbtCompoundBlockEntity.createNbtWithId(RegistryWrapper.WrapperLookup registryLookup) Returns the block entity's NBT data with block entity type ID.final NbtCompoundBlockEntity.createNbtWithIdentifyingData(RegistryWrapper.WrapperLookup registryLookup) Returns the block entity's NBT data with identifying data.BannerBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.BeaconBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.BlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.BrushableBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.CampfireBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.ConduitBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.DecoratedPotBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.EndGatewayBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.JigsawBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.MobSpawnerBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.PistonBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.SignBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.SkullBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.StructureBlockBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.TrialSpawnerBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.VaultBlockEntity.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registryLookup) Returns the serialized state of this block entity that is observable by clients.Sherds.toNbt(NbtCompound nbt) Methods in net.minecraft.block.entity with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic @Nullable BlockEntityBlockEntity.createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Returns the new block entity loaded fromnbt, ornullif it fails.static SherdsSherds.fromNbt(@Nullable NbtCompound nbt) private static @Nullable IdentifierSpawner.getSpawnedEntityId(NbtCompound nbt, String spawnDataKey) static BlockPosBlockEntity.posFromNbt(NbtCompound nbt) Returns the block position fromnbt.private voidCrafterBlockEntity.putDisabledSlots(NbtCompound nbt) private voidCrafterBlockEntity.putTriggered(NbtCompound nbt) final voidBlockEntity.read(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) final voidBlockEntity.readComponentlessNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) voidShulkerBoxBlockEntity.readInventoryNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) private booleanBrushableBlockEntity.readLootTableFromNbt(NbtCompound nbt) protected voidAbstractFurnaceBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidBannerBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidBarrelBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidBeaconBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidBeehiveBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidBrewingStandBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidBrushableBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidCampfireBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidChestBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidChiseledBookshelfBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidCommandBlockBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidComparatorBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidConduitBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidCrafterBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidDecoratedPotBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidDispenserBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidEnchantingTableBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidEndGatewayBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidHopperBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidJigsawBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidJukeboxBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidLecternBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidLockableContainerBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidMobSpawnerBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidPistonBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidSculkCatalystBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidSculkSensorBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidSculkShriekerBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.voidSculkSpreadManager.readNbt(NbtCompound nbt) protected voidShulkerBoxBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidSignBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidSkullBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidStructureBlockBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidTrialSpawnerBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.protected voidVaultBlockEntity.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.private static @Nullable RegistryEntry<StatusEffect> BeaconBlockEntity.readStatusEffect(NbtCompound nbt, String key) voidBannerBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidBeaconBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidBeehiveBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) Deprecated.voidCampfireBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidChiseledBookshelfBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidCommandBlockBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidDecoratedPotBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidEnchantingTableBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidLockableContainerBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidLootableContainerBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) voidSkullBlockEntity.removeFromCopiedStackNbt(NbtCompound nbt) Sherds.toNbt(NbtCompound nbt) private voidBlockEntity.writeIdentifyingData(NbtCompound nbt) Writes tonbtthe block entity type ID under theidkey, and the block's position underx,y, andzkeys.private voidBlockEntity.writeIdToNbt(NbtCompound nbt) Writes the block entity type ID tonbtunder theidkey.static voidBlockEntity.writeIdToNbt(NbtCompound nbt, BlockEntityType<?> type) Writes the ID oftypetonbtunder theidkey.private booleanBrushableBlockEntity.writeLootTableToNbt(NbtCompound nbt) protected voidAbstractFurnaceBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidBannerBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidBarrelBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidBeaconBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidBeehiveBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidBrewingStandBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidBrushableBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidCampfireBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidChestBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidChiseledBookshelfBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidCommandBlockBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidComparatorBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidConduitBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidCrafterBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidDecoratedPotBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidDispenserBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidEnchantingTableBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidEndGatewayBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidHopperBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidJigsawBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidJukeboxBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidLecternBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidLockableContainerBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidMobSpawnerBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidPistonBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidSculkCatalystBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidSculkSensorBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidSculkShriekerBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.voidSculkSpreadManager.writeNbt(NbtCompound nbt) protected voidShulkerBoxBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidSignBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidSkullBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidStructureBlockBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidTrialSpawnerBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.protected voidVaultBlockEntity.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.private static voidBeaconBlockEntity.writeStatusEffect(NbtCompound nbt, String key, @Nullable RegistryEntry<StatusEffect> effect) -
Uses of NbtCompound in net.minecraft.block.spawner
Fields in net.minecraft.block.spawner declared as NbtCompoundModifier and TypeFieldDescriptionprivate final NbtCompoundMobSpawnerEntry.entityThe field for theentityrecord component.Methods in net.minecraft.block.spawner that return NbtCompoundModifier and TypeMethodDescriptionMobSpawnerEntry.entity()Returns the value of theentityrecord component.MobSpawnerEntry.getNbt()TrialSpawnerData.getSpawnDataNbt(TrialSpawnerState state) MobSpawnerLogic.writeNbt(NbtCompound nbt) Methods in net.minecraft.block.spawner with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidMobSpawnerLogic.readNbt(@Nullable World world, BlockPos pos, NbtCompound nbt) MobSpawnerLogic.writeNbt(NbtCompound nbt) Constructors in net.minecraft.block.spawner with parameters of type NbtCompoundModifierConstructorDescriptionMobSpawnerEntry(NbtCompound nbtCompound, Optional<MobSpawnerEntry.CustomSpawnRules> optional, Optional<EquipmentTable> optional2) -
Uses of NbtCompound in net.minecraft.client
Methods in net.minecraft.client with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate voidKeyboard.copyBlock(BlockState state, BlockPos pos, @Nullable NbtCompound nbt) private voidKeyboard.copyEntity(Identifier id, Vec3d pos, @Nullable NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type NbtCompoundModifier and TypeFieldDescriptionprivate @Nullable Consumer<NbtCompound> DataQueryHandler.callbackMethods in net.minecraft.client.network that return NbtCompoundMethods in net.minecraft.client.network with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic ServerInfoServerInfo.fromNbt(NbtCompound root) booleanDataQueryHandler.handleQueryResponse(int transactionId, @Nullable NbtCompound nbt) Method parameters in net.minecraft.client.network with type arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate intDataQueryHandler.nextQuery(Consumer<NbtCompound> callback) voidDataQueryHandler.queryBlockNbt(BlockPos pos, Consumer<NbtCompound> callback) voidDataQueryHandler.queryEntityNbt(int entityNetworkId, Consumer<NbtCompound> callback) -
Uses of NbtCompound in net.minecraft.client.option
Methods in net.minecraft.client.option that return NbtCompoundMethods in net.minecraft.client.option with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type NbtCompoundModifier and TypeMethodDescriptionClientChunkManager.loadChunkFromPacket(int x, int z, PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer) -
Uses of NbtCompound in net.minecraft.command
Fields in net.minecraft.command with type parameters of type NbtCompoundModifier and TypeFieldDescriptionprivate final Map<String, NbtCompound> DataCommandStorage.PersistentState.mapMethods in net.minecraft.command that return NbtCompoundModifier and TypeMethodDescriptionDataCommandStorage.get(Identifier id) BlockDataObject.getNbt()DataCommandObject.getNbt()EntityDataObject.getNbt()StorageDataObject.getNbt()DataCommandStorage.PersistentState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Methods in net.minecraft.command with parameters of type NbtCompoundModifier and TypeMethodDescription(package private) DataCommandStorage.PersistentStateDataCommandStorage.PersistentState.readNbt(NbtCompound nbt) voidDataCommandStorage.PersistentState.set(String name, NbtCompound nbt) voidDataCommandStorage.set(Identifier id, NbtCompound nbt) voidBlockDataObject.setNbt(NbtCompound nbt) voidDataCommandObject.setNbt(NbtCompound nbt) voidEntityDataObject.setNbt(NbtCompound nbt) voidStorageDataObject.setNbt(NbtCompound nbt) DataCommandStorage.PersistentState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) -
Uses of NbtCompound in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as NbtCompoundModifier and TypeFieldDescriptionprivate @Nullable NbtCompoundBlockArgumentParser.dataprivate final @Nullable NbtCompoundBlockStateArgument.dataprivate final NbtCompoundNbtPathArgumentType.FilteredListElementNode.filterprivate final NbtCompoundNbtPathArgumentType.FilteredNamedNode.filterprivate final @Nullable NbtCompoundBlockArgumentParser.BlockResult.nbtThe field for thenbtrecord component.private final @Nullable NbtCompoundBlockArgumentParser.TagResult.nbtThe field for thenbtrecord component.private final @Nullable NbtCompoundBlockPredicateArgumentType.StatePredicate.nbtprivate final @Nullable NbtCompoundBlockPredicateArgumentType.TagPredicate.nbtMethods in net.minecraft.command.argument that return NbtCompoundModifier and TypeMethodDescriptionstatic <S> NbtCompoundNbtCompoundArgumentType.getNbtCompound(com.mojang.brigadier.context.CommandContext<S> context, String name) BlockArgumentParser.BlockResult.nbt()Returns the value of thenbtrecord component.BlockArgumentParser.TagResult.nbt()Returns the value of thenbtrecord component.NbtCompoundArgumentType.parse(com.mojang.brigadier.StringReader stringReader) Methods in net.minecraft.command.argument with parameters of type NbtCompoundModifier and TypeMethodDescription(package private) static Predicate<NbtElement> NbtPathArgumentType.getPredicate(NbtCompound filter) intNbtPathArgumentType.NbtPath.insert(int index, NbtCompound compound, List<NbtElement> elements) Constructors in net.minecraft.command.argument with parameters of type NbtCompoundModifierConstructorDescriptionBlockResult(BlockState blockState, Map<Property<?>, Comparable<?>> map, @Nullable NbtCompound nbtCompound) BlockStateArgument(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound data) FilteredListElementNode(NbtCompound filter) FilteredNamedNode(String name, NbtCompound filter) FilteredRootNode(NbtCompound filter) StatePredicate(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound nbt) (package private)TagPredicate(RegistryEntryList<Block> tag, Map<String, String> properties, @Nullable NbtCompound nbt) TagResult(RegistryEntryList<Block> registryEntryList, Map<String, String> map, @Nullable NbtCompound nbtCompound) -
Uses of NbtCompound in net.minecraft.component.type
Fields in net.minecraft.component.type declared as NbtCompoundMethods in net.minecraft.component.type that return NbtCompoundMethods in net.minecraft.component.type with parameters of type NbtCompoundModifier and TypeMethodDescriptionNbtComponent.createPredicate(ComponentType<NbtComponent> type, NbtCompound nbt) booleanNbtComponent.matches(NbtCompound nbt) static NbtComponentNbtComponent.of(NbtCompound nbt) static voidNbtComponent.set(ComponentType<NbtComponent> type, ItemStack stack, NbtCompound nbt) Method parameters in net.minecraft.component.type with type arguments of type NbtCompoundModifier and TypeMethodDescriptionNbtComponent.apply(Consumer<NbtCompound> nbtConsumer) static voidNbtComponent.set(ComponentType<NbtComponent> type, ItemStack stack, Consumer<NbtCompound> nbtSetter) Constructors in net.minecraft.component.type with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.data
Methods in net.minecraft.data that return NbtCompoundModifier and TypeMethodDescriptionSnbtProvider.Tweaker.write(String name, NbtCompound nbt) private NbtCompoundSnbtProvider.write(String key, NbtCompound compound) Methods in net.minecraft.data with parameters of type NbtCompoundModifier and TypeMethodDescriptionSnbtProvider.Tweaker.write(String name, NbtCompound nbt) private NbtCompoundSnbtProvider.write(String key, NbtCompound compound) -
Uses of NbtCompound in net.minecraft.data.validate
Methods in net.minecraft.data.validate that return NbtCompoundModifier and TypeMethodDescriptionstatic NbtCompoundStructureValidatorProvider.update(String name, NbtCompound nbt) StructureValidatorProvider.write(String name, NbtCompound nbt) Methods in net.minecraft.data.validate with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic NbtCompoundStructureValidatorProvider.update(String name, NbtCompound nbt) StructureValidatorProvider.write(String name, NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.datafixer
Methods in net.minecraft.datafixer that return NbtCompoundModifier and TypeMethodDescriptionDataFixTypes.update(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion) Returnsnbtupdated fromoldVersionto the current version.DataFixTypes.update(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion, int newVersion) Returnsnbtupdated fromoldVersiontonewVersion.Methods in net.minecraft.datafixer with parameters of type NbtCompoundModifier and TypeMethodDescriptionDataFixTypes.update(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion) Returnsnbtupdated fromoldVersionto the current version.DataFixTypes.update(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion, int newVersion) Returnsnbtupdated fromoldVersiontonewVersion. -
Uses of NbtCompound in net.minecraft.datafixer.fix
Methods in net.minecraft.datafixer.fix that return NbtCompound -
Uses of NbtCompound in net.minecraft.entity
Fields in net.minecraft.entity declared as NbtCompoundModifier and TypeFieldDescriptionFallingBlockEntity.blockEntityDataprivate NbtCompoundMarkerEntity.dataMethods in net.minecraft.entity that return NbtCompoundMethods in net.minecraft.entity with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic voidBucketable.copyDataFromNbt(MobEntity entity, NbtCompound nbt) Deprecated.voidBucketable.copyDataFromNbt(NbtCompound nbt) static Optional<EntityType<?>> EntityType.fromNbt(NbtCompound nbt) EntityType.getEntityFromNbt(NbtCompound nbt, World world) EntityType.loadEntityFromNbt(NbtCompound nbt, World world) EntityType.loadEntityWithPassengers(NbtCompound nbt, World world, Function<Entity, Entity> entityProcessor) protected voidAreaEffectCloudEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected abstract voidEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidExperienceOrbEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidEyeOfEnderEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidFallingBlockEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidItemEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidLightningEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidLivingEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidMarkerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidOminousItemSpawnerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidTntEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.default voidInventoryOwner.readInventory(NbtCompound nbt, RegistryWrapper.WrapperLookup wrapperLookup) default @Nullable Leashable.LeashDataLeashable.readLeashDataFromNbt(NbtCompound nbt) voidEntity.readNbt(NbtCompound nbt) voidSaddledComponent.readNbt(NbtCompound nbt) booleanEntity.saveNbt(NbtCompound nbt) booleanEntity.saveSelfNbt(NbtCompound nbt) protected voidAreaEffectCloudEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected abstract voidEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidExperienceOrbEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidEyeOfEnderEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidFallingBlockEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidItemEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidLightningEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidLivingEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidMarkerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidOminousItemSpawnerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidTntEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.default voidInventoryOwner.writeInventory(NbtCompound nbt, RegistryWrapper.WrapperLookup wrapperLookup) default voidLeashable.writeLeashDataToNbt(NbtCompound nbt, @Nullable Leashable.LeashData leashData) Entity.writeNbt(NbtCompound nbt) voidSaddledComponent.writeNbt(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.entity.attribute
Methods in net.minecraft.entity.attribute that return NbtCompoundModifier and TypeMethodDescriptionEntityAttributeInstance.toNbt()EntityAttributeModifier.toNbt()Methods in net.minecraft.entity.attribute with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic @Nullable EntityAttributeModifierEntityAttributeModifier.fromNbt(NbtCompound nbt) voidEntityAttributeInstance.readNbt(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.entity.boss
Methods in net.minecraft.entity.boss that return NbtCompoundModifier and TypeMethodDescriptionBossBarManager.toNbt(RegistryWrapper.WrapperLookup wrapperLookup) CommandBossBar.toNbt(RegistryWrapper.WrapperLookup wrapperLookup) Methods in net.minecraft.entity.boss with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic CommandBossBarCommandBossBar.fromNbt(NbtCompound nbt, Identifier id, RegistryWrapper.WrapperLookup wrapperLookup) voidWitherEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidBossBarManager.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup wrapperLookup) voidWitherEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt. -
Uses of NbtCompound in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidEnderDragonEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidEnderDragonPart.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidEnderDragonEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidEnderDragonPart.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt. -
Uses of NbtCompound in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type NbtCompoundModifier and TypeFieldDescriptionstatic final TrackedDataHandler<NbtCompound> TrackedDataHandlerRegistry.NBT_COMPOUND -
Uses of NbtCompound in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration that return NbtCompoundMethods in net.minecraft.entity.decoration with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidArmorStandEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidBlockAttachedEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidDisplayEntity.BlockDisplayEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidDisplayEntity.ItemDisplayEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidDisplayEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidDisplayEntity.TextDisplayEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidEndCrystalEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidInteractionEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidItemFrameEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidLeashKnotEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.private static byteDisplayEntity.TextDisplayEntity.readFlag(byte flags, NbtCompound nbt, String nbtKey, byte flag) private voidArmorStandEntity.readPoseNbt(NbtCompound nbt) voidArmorStandEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidBlockAttachedEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidDisplayEntity.BlockDisplayEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidDisplayEntity.ItemDisplayEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidDisplayEntity.TextDisplayEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidDisplayEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidEndCrystalEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidInteractionEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidItemFrameEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidLeashKnotEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.private static voidDisplayEntity.TextDisplayEntity.writeFlag(byte flags, NbtCompound nbt, String nbtKey, byte flag) -
Uses of NbtCompound in net.minecraft.entity.decoration.painting
Methods in net.minecraft.entity.decoration.painting with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidPaintingEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPaintingEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt. -
Uses of NbtCompound in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic @Nullable StatusEffectInstanceStatusEffectInstance.fromNbt(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type NbtCompoundModifier and TypeMethodDescriptiondefault voidAngerable.readAngerFromNbt(World world, NbtCompound nbt) voidAbstractPiglinEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidAbstractSkeletonEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidBoggedEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidCreeperEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidEndermanEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidEndermiteEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidEvokerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidEvokerFangsEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidGhastEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidHoglinEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidMobEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPatrolEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPhantomEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPiglinEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPillagerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidRavagerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidShulkerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidSkeletonEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidSkeletonHorseEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidSlimeEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidSpellcastingIllagerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidVexEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidVindicatorEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidWardenEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidZoglinEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidZombieEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidZombieVillagerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidZombifiedPiglinEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.default voidAngerable.writeAngerToNbt(NbtCompound nbt) voidAbstractPiglinEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidBoggedEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidCreeperEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidEndermanEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidEndermiteEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidEvokerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidEvokerFangsEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidGhastEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidHoglinEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidMobEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPatrolEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPhantomEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPiglinEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPillagerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidRavagerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidShulkerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidSkeletonEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidSkeletonHorseEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidSlimeEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidSpellcastingIllagerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidVexEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidVindicatorEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidWardenEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidZoglinEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidZombieEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidZombieVillagerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidZombifiedPiglinEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt. -
Uses of NbtCompound in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidAxolotlEntity.copyDataFromNbt(NbtCompound nbt) voidFishEntity.copyDataFromNbt(NbtCompound nbt) voidTadpoleEntity.copyDataFromNbt(NbtCompound nbt) voidTropicalFishEntity.copyDataFromNbt(NbtCompound nbt) voidAbstractDonkeyEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidAbstractHorseEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidAllayEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidAnimalEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidArmadilloEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidAxolotlEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidBatEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidBeeEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidCamelEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidCatEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidChickenEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidDolphinEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidFishEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidFoxEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidFrogEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidGlowSquidEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidGoatEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidHorseEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidIronGolemEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidLlamaEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidMerchantEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidMooshroomEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidOcelotEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPandaEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidParrotEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPassiveEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPigEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPolarBearEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPufferfishEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidRabbitEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidSheepEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidSnowGolemEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidStriderEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidTadpoleEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidTameableEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidTraderLlamaEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidTropicalFishEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidTurtleEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidVillagerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidWanderingTraderEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidWolfEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidAbstractDonkeyEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidAbstractHorseEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidAllayEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidAnimalEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidArmadilloEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidAxolotlEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidBatEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidBeeEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidCamelEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidCatEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidChickenEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidDolphinEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidFishEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidFoxEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidFrogEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidGlowSquidEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidGoatEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidHorseEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidIronGolemEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidLlamaEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidMerchantEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidMooshroomEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidOcelotEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPandaEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidParrotEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPassiveEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPigEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPolarBearEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPufferfishEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidRabbitEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidSheepEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidSnowGolemEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidStriderEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidTadpoleEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidTameableEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidTraderLlamaEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidTropicalFishEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidTurtleEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidVillagerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidWanderingTraderEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidWolfEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt. -
Uses of NbtCompound in net.minecraft.entity.player
Fields in net.minecraft.entity.player with type parameters of type NbtCompoundModifier and TypeFieldDescriptionprotected static final TrackedData<NbtCompound> PlayerEntity.LEFT_SHOULDER_ENTITYprotected static final TrackedData<NbtCompound> PlayerEntity.RIGHT_SHOULDER_ENTITYMethods in net.minecraft.entity.player that return NbtCompoundModifier and TypeMethodDescriptionPlayerEntity.getShoulderEntityLeft()PlayerEntity.getShoulderEntityRight()Methods in net.minecraft.entity.player with parameters of type NbtCompoundModifier and TypeMethodDescriptionbooleanPlayerEntity.addShoulderEntity(NbtCompound entityNbt) private voidPlayerEntity.dropShoulderEntity(NbtCompound entityNbt) voidPlayerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidHungerManager.readNbt(NbtCompound nbt) voidPlayerAbilities.readNbt(NbtCompound nbt) protected voidPlayerEntity.setShoulderEntityLeft(NbtCompound entityNbt) protected voidPlayerEntity.setShoulderEntityRight(NbtCompound entityNbt) private voidPlayerEntity.updateShoulderEntity(@Nullable NbtCompound entityNbt) voidPlayerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidHungerManager.writeNbt(NbtCompound nbt) voidPlayerAbilities.writeNbt(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidAbstractFireballEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidExplosiveProjectileEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidFireballEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidFireworkRocketEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidFishingBobberEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidPersistentProjectileEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidProjectileEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidShulkerBulletEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidSpectralArrowEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidTridentEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidWitherSkullEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidAbstractFireballEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidExplosiveProjectileEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidFireballEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidFireworkRocketEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidFishingBobberEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidPersistentProjectileEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidProjectileEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidShulkerBulletEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidSpectralArrowEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidTridentEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidWitherSkullEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt. -
Uses of NbtCompound in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidThrownItemEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidThrownItemEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt. -
Uses of NbtCompound in net.minecraft.entity.raid
Methods in net.minecraft.entity.raid with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidRaiderEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidRaiderEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt. -
Uses of NbtCompound in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type NbtCompoundModifier and TypeMethodDescriptionprotected voidAbstractMinecartEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidBoatEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidChestBoatEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidCommandBlockMinecartEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidFurnaceMinecartEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidHopperMinecartEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidSpawnerMinecartEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidStorageMinecartEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.protected voidTntMinecartEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.default voidVehicleInventory.readInventoryFromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registriesLookup) protected voidAbstractMinecartEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidBoatEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidChestBoatEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidCommandBlockMinecartEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidFurnaceMinecartEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidHopperMinecartEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidSpawnerMinecartEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidStorageMinecartEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.protected voidTntMinecartEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.default voidVehicleInventory.writeInventoryToNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registriesLookup) -
Uses of NbtCompound in net.minecraft.inventory
Methods in net.minecraft.inventory that return NbtCompoundModifier and TypeMethodDescriptionstatic NbtCompoundInventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty, RegistryWrapper.WrapperLookup registries) Writes the inventory tonbt.static NbtCompoundInventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, RegistryWrapper.WrapperLookup registries) Writes the inventory tonbt.Methods in net.minecraft.inventory with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic ContainerLockContainerLock.fromNbt(NbtCompound nbt) Creates a newContainerLockfrom theLockkey of the NBT compound.default booleanLootableInventory.readLootTable(NbtCompound nbt) Reads the loot table and seed fromnbt, if the loot table exists innbt.static voidInventories.readNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, RegistryWrapper.WrapperLookup registries) Readsnbtand sets the elements ofstacksaccordingly.default booleanLootableInventory.writeLootTable(NbtCompound nbt) voidContainerLock.writeNbt(NbtCompound nbt) Inserts the key string of this lock into theLockkey of the NBT compound.static NbtCompoundInventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty, RegistryWrapper.WrapperLookup registries) Writes the inventory tonbt.static NbtCompoundInventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, RegistryWrapper.WrapperLookup registries) Writes the inventory tonbt. -
Uses of NbtCompound in net.minecraft.item
Methods in net.minecraft.item with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic ItemStackItemStack.fromNbtOrEmpty(RegistryWrapper.WrapperLookup registries, NbtCompound nbt) static voidBlockItem.setBlockEntityData(ItemStack stack, BlockEntityType<?> type, NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.item.map
Methods in net.minecraft.item.map that return NbtCompoundModifier and TypeMethodDescriptionMapFrameMarker.toNbt()MapState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Methods in net.minecraft.item.map with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic @Nullable MapFrameMarkerMapFrameMarker.fromNbt(NbtCompound nbt) static MapStateMapState.fromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) MapState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) -
Uses of NbtCompound in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as NbtCompoundMethods in net.minecraft.loot.function with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?> SetCustomDataLootFunction.builder(NbtCompound nbt) Deprecated.Constructors in net.minecraft.loot.function with parameters of type NbtCompoundModifierConstructorDescriptionprivateSetCustomDataLootFunction(List<LootCondition> conditions, NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.nbt
Fields in net.minecraft.nbt with type parameters of type NbtCompoundModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NbtCompound> NbtCompound.CODECstatic final com.mojang.serialization.Codec<NbtCompound> StringNbtReader.NBT_COMPOUND_CODECstatic final com.mojang.serialization.Codec<NbtCompound> StringNbtReader.STRINGIFIED_CODECstatic final NbtType<NbtCompound> NbtCompound.TYPEMethods in net.minecraft.nbt that return NbtCompoundModifier and TypeMethodDescriptionprotected NbtCompoundNbtOps.MapBuilder.append(String string, NbtElement nbtElement, NbtCompound nbtCompound) NbtCompound.copy()NbtCompound.copyFrom(NbtCompound source) Merges the entries ofsourceto this compound.private static NbtCompoundNbtOps.CompoundListMerger.createMarkerNbt(NbtElement value) static NbtCompoundNbtHelper.fromBlockState(BlockState state) Returns the serialized block state.static NbtCompoundNbtHelper.fromFluidState(FluidState state) Returns the serialized fluid state.(package private) static NbtCompoundNbtHelper.fromNbtProviderFormat(NbtCompound compound) (package private) static NbtCompoundNbtHelper.fromNbtProviderFormattedPalette(String string) static NbtCompoundNbtHelper.fromNbtProviderString(String string) Returns thestringparsed as an NBT provider-formatted NBT compound.NbtCompound.getCompound(String key) Returns the compound associated withkey, or an empty compound if there is no compound stored with the key.NbtList.getCompound(int index) Returns the compound atindex, or an empty compound if the index is out of bounds or if this is not a list of compounds.protected NbtCompoundNbtOps.MapBuilder.initBuilder()static NbtCompoundReturns the NBT compound parsed from thestring.StringNbtReader.parseCompound()Returns the parsed NBT compound.static NbtCompoundNbtHelper.putDataVersion(NbtCompound nbt) static NbtCompoundNbtHelper.putDataVersion(NbtCompound nbt, int dataVersion) static @Nullable NbtCompoundReads an NBT compound from the file atpath.static NbtCompoundNbtIo.readCompound(DataInput input) Reads an NBT compound frominput.static NbtCompoundNbtIo.readCompound(DataInput input, NbtSizeTracker tracker) Reads an NBT compound frominput.(package private) NbtCompoundStringNbtReader.readCompound()static NbtCompoundNbtIo.readCompressed(InputStream stream, NbtSizeTracker tagSizeTracker) Reads an NBT compound from Gzip-compressedstream.static NbtCompoundNbtIo.readCompressed(Path path, NbtSizeTracker tagSizeTracker) Reads an NBT compound from Gzip-compressed file atpath.protected NbtCompoundNbtCompound.shallowCopy()(package private) static NbtCompoundNbtHelper.toNbtProviderFormat(NbtCompound compound) Methods in net.minecraft.nbt that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionNbtCompound.getNbtType()Returns the NBT type definition of this NBT element.Methods in net.minecraft.nbt with parameters of type NbtCompoundModifier and TypeMethodDescriptionprotected NbtCompoundNbtOps.MapBuilder.append(String string, NbtElement nbtElement, NbtCompound nbtCompound) protected com.mojang.serialization.DataResult<NbtElement> NbtOps.MapBuilder.build(NbtCompound nbtCompound, NbtElement nbtElement) NbtCompound.copyFrom(NbtCompound source) Merges the entries ofsourceto this compound.(package private) static NbtCompoundNbtHelper.fromNbtProviderFormat(NbtCompound compound) static intNbtHelper.getDataVersion(NbtCompound nbt, int fallback) private static booleanNbtOps.CompoundListMerger.isMarker(NbtCompound nbt) static NbtCompoundNbtHelper.putDataVersion(NbtCompound nbt) static NbtCompoundNbtHelper.putDataVersion(NbtCompound nbt, int dataVersion) NbtHelper.toBlockPos(NbtCompound nbt, String key) Returns the block position from thenbt.static BlockStateNbtHelper.toBlockState(RegistryEntryLookup<Block> blockLookup, NbtCompound nbt) Returns the block state from thenbt.(package private) static NbtCompoundNbtHelper.toNbtProviderFormat(NbtCompound compound) (package private) static StringNbtHelper.toNbtProviderFormattedPalette(NbtCompound compound) static StringNbtHelper.toNbtProviderString(NbtCompound compound) Returns the string representation ofcompoundas used by the NBT provider in the data generator.private static NbtElementNbtOps.unpackMarker(NbtCompound nbt) private static <S extends State<?,S>, T extends Comparable<T>>
SNbtHelper.withProperty(S state, Property<T> property, String key, NbtCompound properties, NbtCompound root) static voidNbtIo.write(NbtCompound nbt, Path path) Writes thenbtto the file atpath.static voidNbtIo.writeCompound(NbtCompound nbt, DataOutput output) Writes thenbttooutput.static voidNbtIo.writeCompressed(NbtCompound nbt, OutputStream stream) Writes the Gzip-compressednbttostream.static voidNbtIo.writeCompressed(NbtCompound nbt, Path path) Writes the Gzip-compressednbtto the file atpath. -
Uses of NbtCompound in net.minecraft.nbt.visitor
Methods in net.minecraft.nbt.visitor with parameters of type NbtCompoundModifier and TypeMethodDescriptionNbtOrderedStringFormatter.getSortedNames(NbtCompound compound) voidNbtElementVisitor.visitCompound(NbtCompound compound) voidNbtOrderedStringFormatter.visitCompound(NbtCompound compound) voidNbtTextFormatter.visitCompound(NbtCompound compound) voidStringNbtWriter.visitCompound(NbtCompound compound) -
Uses of NbtCompound in net.minecraft.network
Methods in net.minecraft.network that return NbtCompoundModifier and TypeMethodDescriptionPacketByteBuf.readNbt()Reads an NBT compound from this buf.static @Nullable NbtCompound -
Uses of NbtCompound in net.minecraft.network.codec
Fields in net.minecraft.network.codec with type parameters of type NbtCompoundModifier and TypeFieldDescriptionstatic final PacketCodec<ByteBuf, NbtCompound> PacketCodecs.NBT_COMPOUNDA codec for an NBT compound of up to0x200000Lbytes.static final PacketCodec<ByteBuf, Optional<NbtCompound>> PacketCodecs.OPTIONAL_NBTA codec for an optional NBT compound of up to 2097152 bytes.static final PacketCodec<ByteBuf, NbtCompound> PacketCodecs.UNLIMITED_NBT_COMPOUNDA codec for an NBT compound of unlimited size.Methods in net.minecraft.network.codec that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionstatic PacketCodec<ByteBuf, NbtCompound> PacketCodecs.nbtCompound(Supplier<NbtSizeTracker> sizeTracker) -
Uses of NbtCompound in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as NbtCompoundModifier and TypeFieldDescriptionprivate final NbtCompoundChunkData.heightmapprivate final NbtCompoundBlockEntityUpdateS2CPacket.nbt(package private) final @Nullable NbtCompoundChunkData.BlockEntityData.nbtprivate final @Nullable NbtCompoundNbtQueryResponseS2CPacket.nbtMethods in net.minecraft.network.packet.s2c.play that return NbtCompoundModifier and TypeMethodDescriptionChunkData.getHeightmap()BlockEntityUpdateS2CPacket.getNbt()NbtQueryResponseS2CPacket.getNbt()Methods in net.minecraft.network.packet.s2c.play with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidChunkData.BlockEntityVisitor.accept(BlockPos pos, BlockEntityType<?> type, @Nullable NbtCompound nbt) Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type NbtCompoundModifier and TypeMethodDescriptionstatic BlockEntityUpdateS2CPacketBlockEntityUpdateS2CPacket.create(BlockEntity blockEntity, BiFunction<BlockEntity, DynamicRegistryManager, NbtCompound> nbtGetter) Constructors in net.minecraft.network.packet.s2c.play with parameters of type NbtCompoundModifierConstructorDescriptionprivateBlockEntityData(int localXz, int y, BlockEntityType<?> type, @Nullable NbtCompound nbt) privateBlockEntityUpdateS2CPacket(BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt) NbtQueryResponseS2CPacket(int transactionId, @Nullable NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.predicate
Fields in net.minecraft.predicate declared as NbtCompoundModifier and TypeFieldDescriptionprivate final NbtCompoundNbtPredicate.nbtThe field for thenbtrecord component.Methods in net.minecraft.predicate that return NbtCompoundModifier and TypeMethodDescriptionstatic NbtCompoundNbtPredicate.entityToNbt(Entity entity) NbtPredicate.nbt()Returns the value of thenbtrecord component.Methods in net.minecraft.predicate with parameters of type NbtCompoundConstructors in net.minecraft.predicate with parameters of type NbtCompoundModifierConstructorDescriptionNbtPredicate(NbtCompound nbt) Creates an instance of aNbtPredicaterecord class. -
Uses of NbtCompound in net.minecraft.recipe.book
Methods in net.minecraft.recipe.book with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic RecipeBookOptionsRecipeBookOptions.fromNbt(NbtCompound nbt) voidRecipeBookOptions.writeNbt(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.scoreboard
Methods in net.minecraft.scoreboard that return NbtCompoundModifier and TypeMethodDescriptionScoreboardScore.toNbt(RegistryWrapper.WrapperLookup registries) ScoreboardState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Methods in net.minecraft.scoreboard with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic ScoreboardScoreScoreboardScore.fromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) private voidScoreboardState.readDisplaySlotsNbt(NbtCompound nbt) ScoreboardState.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) private ScoreboardStateServerScoreboard.stateFromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) private voidScoreboardState.writeDisplaySlotsNbt(NbtCompound nbt) ScoreboardState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) -
Uses of NbtCompound in net.minecraft.server
Methods in net.minecraft.server that return NbtCompoundModifier and TypeMethodDescriptionPlayerManager.getUserData()Gets the user data of the player hosting the Minecraft server.Methods in net.minecraft.server that return types with arguments of type NbtCompound -
Uses of NbtCompound in net.minecraft.server.command
Fields in net.minecraft.server.command declared as NbtCompoundModifier and TypeFieldDescriptionprivate final NbtCompoundCloneCommand.BlockEntityInfo.nbtThe field for thenbtrecord component.Methods in net.minecraft.server.command that return NbtCompoundModifier and TypeMethodDescription(package private) static NbtCompoundFunctionCommand.getArgument(NbtPathArgumentType.NbtPath path, DataCommandObject object) protected abstract @Nullable NbtCompoundFunctionCommand.Command.getArguments(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) CloneCommand.BlockEntityInfo.nbt()Returns the value of thenbtrecord component.Methods in net.minecraft.server.command with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic <T extends AbstractServerCommandSource<T>>
voidFunctionCommand.enqueueAction(Collection<CommandFunction<T>> commandFunctions, @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer, ExecutionFlags flags) static <T extends AbstractServerCommandSource<T>>
voidExecuteCommand.enqueueExecutions(T baseSource, List<T> sources, Function<T, T> functionSourceGetter, IntPredicate predicate, com.mojang.brigadier.context.ContextChain<T> contextChain, @Nullable NbtCompound args, ExecutionControl<T> control, ExecuteCommand.FunctionNamesGetter<T, Collection<CommandFunction<T>>> functionNamesGetter, ExecutionFlags flags) private static <T extends AbstractServerCommandSource<T>>
voidFunctionCommand.enqueueFunction(@Nullable NbtCompound args, ExecutionControl<T> control, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, CommandFunction<T> function, Identifier id, ReturnValueConsumer returnValueConsumer, boolean propagateReturn) private static <T extends AbstractServerCommandSource<T>>
voidFunctionCommand.enqueueInReturnRun(Collection<CommandFunction<T>> functions, @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer) private static <T extends AbstractServerCommandSource<T>>
voidFunctionCommand.enqueueOutsideReturnRun(Collection<CommandFunction<T>> functions, @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer) private static intSummonCommand.execute(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) private static intDataCommand.executeMerge(ServerCommandSource source, DataCommandObject object, NbtCompound nbt) intDataCommand.ModifyOperation.modify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements) static EntitySummonCommand.summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) Constructors in net.minecraft.server.command with parameters of type NbtCompoundModifierConstructorDescription(package private)BlockEntityInfo(NbtCompound nbtCompound, ComponentMap componentMap) -
Uses of NbtCompound in net.minecraft.server.function
Methods in net.minecraft.server.function with parameters of type NbtCompoundModifier and TypeMethodDescriptionCommandFunction.withMacroReplaced(@Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher) ExpandedMacro.withMacroReplaced(@Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher) Macro.withMacroReplaced(@Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher) -
Uses of NbtCompound in net.minecraft.server.integrated
Fields in net.minecraft.server.integrated declared as NbtCompoundMethods in net.minecraft.server.integrated that return NbtCompoundModifier and TypeMethodDescriptionIntegratedPlayerManager.getUserData()Gets the user data of the player hosting the Minecraft server. -
Uses of NbtCompound in net.minecraft.server.network
Methods in net.minecraft.server.network that return NbtCompoundMethods in net.minecraft.server.network with parameters of type NbtCompoundModifier and TypeMethodDescriptionServerPlayerEntity.gameModeFromNbt(@Nullable NbtCompound nbt, String key) voidServerPlayerEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidServerPlayerEntity.readGameModeNbt(@Nullable NbtCompound nbt) voidServerRecipeBook.readNbt(NbtCompound nbt, RecipeManager recipeManager) voidServerPlayerEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.private voidServerPlayerEntity.writeGameModeNbt(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.server.world
Methods in net.minecraft.server.world that return NbtCompoundModifier and TypeMethodDescriptionprivate NbtCompoundServerChunkLoadingManager.updateChunkNbt(NbtCompound nbt) Methods in net.minecraft.server.world that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate CompletableFuture<Optional<NbtCompound>> ServerChunkLoadingManager.getUpdatedChunkNbt(ChunkPos chunkPos) Methods in net.minecraft.server.world with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate static booleanServerChunkLoadingManager.containsStatus(NbtCompound nbt) private NbtCompoundServerChunkLoadingManager.updateChunkNbt(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.stat
Methods in net.minecraft.stat that return NbtCompoundModifier and TypeMethodDescriptionprivate static NbtCompoundServerStatHandler.jsonToCompound(JsonObject json) -
Uses of NbtCompound in net.minecraft.structure
Fields in net.minecraft.structure declared as NbtCompoundModifier and TypeFieldDescriptionprivate final @Nullable NbtCompoundStructureTemplate.StructureBlockInfo.nbtThe field for thenbtrecord component.final NbtCompoundStructureTemplate.StructureEntityInfo.nbtMethods in net.minecraft.structure that return NbtCompoundModifier and TypeMethodDescriptionStructureTemplate.StructureBlockInfo.nbt()Returns the value of thenbtrecord component.final NbtCompoundStructurePiece.toNbt(StructureContext context) StructureStart.toNbt(StructureContext context, ChunkPos chunkPos) StructureTemplate.writeNbt(NbtCompound nbt) Methods in net.minecraft.structure with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate static StructurePlacementDataRuinedPortalStructurePiece.createPlacementData(StructureTemplateManager manager, NbtCompound nbt, Identifier id) StructureTemplateManager.createTemplate(NbtCompound nbt) static OceanRuinGenerator.PieceOceanRuinGenerator.Piece.fromNbt(StructureTemplateManager structureTemplateManager, NbtCompound nbt) static @Nullable StructureStartStructureStart.fromNbt(StructureContext context, NbtCompound nbt, long seed) StructureTemplate.getEntity(ServerWorldAccess world, NbtCompound nbt) StructurePieceType.load(StructureContext context, NbtCompound nbt) default StructurePieceStructurePieceType.ManagerAware.load(StructureContext context, NbtCompound nbt) StructurePieceType.ManagerAware.load(StructureTemplateManager structureTemplateManager, NbtCompound nbt) StructurePieceType.Simple.load(NbtCompound nbt) default StructurePieceStructurePieceType.Simple.load(StructureContext context, NbtCompound nbt) voidStructureTemplate.readNbt(RegistryEntryLookup<Block> blockLookup, NbtCompound nbt) protected voidBuriedTreasureGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) protected voidDesertTempleGenerator.writeNbt(StructureContext context, NbtCompound nbt) protected voidEndCityGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) protected voidIglooGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) protected voidJungleTempleGenerator.writeNbt(StructureContext context, NbtCompound nbt) protected voidMineshaftGenerator.MineshaftCorridor.writeNbt(StructureContext context, NbtCompound nbt) protected voidMineshaftGenerator.MineshaftCrossing.writeNbt(StructureContext context, NbtCompound nbt) protected voidMineshaftGenerator.MineshaftPart.writeNbt(StructureContext context, NbtCompound nbt) protected voidMineshaftGenerator.MineshaftRoom.writeNbt(StructureContext context, NbtCompound nbt) protected voidNetherFortressGenerator.BridgeEnd.writeNbt(StructureContext context, NbtCompound nbt) protected voidNetherFortressGenerator.BridgePlatform.writeNbt(StructureContext context, NbtCompound nbt) protected voidNetherFortressGenerator.CorridorLeftTurn.writeNbt(StructureContext context, NbtCompound nbt) protected voidNetherFortressGenerator.CorridorRightTurn.writeNbt(StructureContext context, NbtCompound nbt) protected voidNetherFortressGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) protected voidNetherFossilGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) protected voidOceanMonumentGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) protected voidOceanRuinGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) protected voidPoolStructurePiece.writeNbt(StructureContext context, NbtCompound nbt) protected voidRuinedPortalStructurePiece.writeNbt(StructureContext context, NbtCompound nbt) protected voidShiftableStructurePiece.writeNbt(StructureContext context, NbtCompound nbt) protected voidShipwreckGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) protected voidSimpleStructurePiece.writeNbt(StructureContext context, NbtCompound nbt) protected voidStrongholdGenerator.ChestCorridor.writeNbt(StructureContext context, NbtCompound nbt) protected voidStrongholdGenerator.Corridor.writeNbt(StructureContext context, NbtCompound nbt) protected voidStrongholdGenerator.FiveWayCrossing.writeNbt(StructureContext context, NbtCompound nbt) protected voidStrongholdGenerator.Library.writeNbt(StructureContext context, NbtCompound nbt) protected voidStrongholdGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) protected voidStrongholdGenerator.PortalRoom.writeNbt(StructureContext context, NbtCompound nbt) protected voidStrongholdGenerator.SmallCorridor.writeNbt(StructureContext context, NbtCompound nbt) protected voidStrongholdGenerator.SpiralStaircase.writeNbt(StructureContext context, NbtCompound nbt) protected voidStrongholdGenerator.SquareRoom.writeNbt(StructureContext context, NbtCompound nbt) protected abstract voidStructurePiece.writeNbt(StructureContext context, NbtCompound nbt) StructureTemplate.writeNbt(NbtCompound nbt) protected voidSwampHutGenerator.writeNbt(StructureContext context, NbtCompound nbt) protected voidWoodlandMansionGenerator.Piece.writeNbt(StructureContext context, NbtCompound nbt) Constructors in net.minecraft.structure with parameters of type NbtCompoundModifierConstructorDescriptionBase(NbtCompound nbt) Bridge(NbtCompound nbt) protectedBridgeCrossing(StructurePieceType type, NbtCompound nbt) BridgeEnd(NbtCompound nbt) BridgeStairs(NbtCompound nbt) ChestCorridor(NbtCompound nbt) CoreRoom(NbtCompound nbt) Corridor(NbtCompound nbt) CorridorExit(NbtCompound nbt) DoubleXRoom(NbtCompound nbt) DoubleXYRoom(NbtCompound nbt) DoubleYRoom(NbtCompound nbt) DoubleYZRoom(NbtCompound nbt) DoubleZRoom(NbtCompound nbt) Entry(NbtCompound nbt) LeftTurn(NbtCompound nbt) Library(NbtCompound nbt) MineshaftPart(StructurePieceType type, NbtCompound nbt) MineshaftRoom(NbtCompound nbt) Penthouse(NbtCompound nbt) Piece(NbtCompound nbt) Piece(StructureTemplateManager manager, NbtCompound nbt) Piece(StructureTemplateManager manager, NbtCompound nbt) Piece(StructurePieceType type, NbtCompound nbt) Piece(StructureTemplateManager manager, NbtCompound nbt) Piece(StructurePieceType type, NbtCompound nbt) privatePiece(StructureTemplateManager holder, NbtCompound nbt, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece(StructureTemplateManager manager, NbtCompound nbt) Piece(StructurePieceType type, NbtCompound nbt) Piece(StructureTemplateManager manager, NbtCompound nbt) PoolStructurePiece(StructureContext context, NbtCompound nbt) PortalRoom(NbtCompound nbt) PrisonHall(NbtCompound nbt) RightTurn(NbtCompound nbt) RuinedPortalStructurePiece(StructureTemplateManager manager, NbtCompound nbt) protectedShiftableStructurePiece(StructurePieceType type, NbtCompound nbt) SimpleRoom(NbtCompound nbt) SimpleRoomTop(NbtCompound nbt) SimpleStructurePiece(StructurePieceType type, NbtCompound nbt, StructureTemplateManager structureTemplateManager, Function<Identifier, StructurePlacementData> placementDataGetter) SmallCorridor(NbtCompound nbt) SmallCorridor(NbtCompound nbt) SpiralStaircase(StructurePieceType type, NbtCompound nbt) SquareRoom(NbtCompound nbt) Stairs(NbtCompound nbt) Start(NbtCompound nbt) Start(NbtCompound nbt) StructureBlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound nbt) Creates an instance of aStructureBlockInforecord class.StructureEntityInfo(Vec3d pos, BlockPos blockPos, NbtCompound nbt) StructurePiece(StructurePieceType type, NbtCompound nbt) Turn(StructurePieceType type, NbtCompound nbt) WingRoom(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool declared as NbtCompoundMethods in net.minecraft.structure.pool that return NbtCompoundModifier and TypeMethodDescriptionprivate NbtCompoundFeaturePoolElement.createDefaultJigsawNbt() -
Uses of NbtCompound in net.minecraft.structure.processor
Methods in net.minecraft.structure.processor that return NbtCompoundModifier and TypeMethodDescriptionStructureProcessorRule.getOutputNbt(Random random, @Nullable NbtCompound nbt) Methods in net.minecraft.structure.processor with parameters of type NbtCompoundModifier and TypeMethodDescriptionStructureProcessorRule.getOutputNbt(Random random, @Nullable NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.structure.rule.blockentity
Fields in net.minecraft.structure.rule.blockentity declared as NbtCompoundModifier and TypeFieldDescriptionprivate final NbtCompoundAppendStaticRuleBlockEntityModifier.nbtMethods in net.minecraft.structure.rule.blockentity that return NbtCompoundModifier and TypeMethodDescriptionAppendLootRuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) AppendStaticRuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) ClearRuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) PassthroughRuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) RuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) Methods in net.minecraft.structure.rule.blockentity with parameters of type NbtCompoundModifier and TypeMethodDescriptionAppendLootRuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) AppendStaticRuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) ClearRuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) PassthroughRuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) RuleBlockEntityModifier.modifyBlockEntityNbt(Random random, @Nullable NbtCompound nbt) Constructors in net.minecraft.structure.rule.blockentity with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.text
Methods in net.minecraft.text that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionBlockNbtDataSource.get(ServerCommandSource source) EntityNbtDataSource.get(ServerCommandSource source) NbtDataSource.get(ServerCommandSource source) StorageNbtDataSource.get(ServerCommandSource source) -
Uses of NbtCompound in net.minecraft.util.math.random
Methods in net.minecraft.util.math.random that return NbtCompoundModifier and TypeMethodDescriptionRandomSequencesState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Methods in net.minecraft.util.math.random with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic RandomSequencesStateRandomSequencesState.fromNbt(long seed, NbtCompound nbt) private static booleanRandomSequencesState.getBooleanFromNbtOrFallback(NbtCompound nbt, String key, boolean fallback) RandomSequencesState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) -
Uses of NbtCompound in net.minecraft.village.raid
Methods in net.minecraft.village.raid that return NbtCompoundModifier and TypeMethodDescriptionRaid.writeNbt(NbtCompound nbt) RaidManager.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Methods in net.minecraft.village.raid with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic RaidManagerRaidManager.fromNbt(ServerWorld world, NbtCompound nbt) Raid.writeNbt(NbtCompound nbt) RaidManager.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Constructors in net.minecraft.village.raid with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.world
Fields in net.minecraft.world with type parameters of type NbtCompoundModifier and TypeFieldDescriptionprivate final BiFunction<NbtCompound, RegistryWrapper.WrapperLookup, T> PersistentState.Type.deserializerThe field for thedeserializerrecord component.private final Map<String, Long2ObjectMap<NbtCompound>> FeatureUpdater.featureIdToChunkNbtMethods in net.minecraft.world that return NbtCompoundModifier and TypeMethodDescriptionSaveProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) SaveProperties.getCustomBossEvents()SaveProperties.getPlayerData()FeatureUpdater.getUpdatedReferences(NbtCompound nbt) private NbtCompoundFeatureUpdater.getUpdatedStarts(NbtCompound nbt, ChunkPos pos) PersistentStateManager.readNbt(String id, DataFixTypes dataFixTypes, int currentSaveVersion) static NbtCompoundChunkSerializer.serialize(ServerWorld world, Chunk chunk) GameRules.toNbt()ChunkUpdateState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) CommandBlockExecutor.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) ForcedChunkState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) IdCountsState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) abstract NbtCompoundPersistentState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) private static NbtCompoundChunkSerializer.writeStructures(StructureContext context, ChunkPos pos, Map<Structure, StructureStart> starts, Map<Structure, LongSet> references) Methods in net.minecraft.world that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionPersistentState.Type.deserializer()Returns the value of thedeserializerrecord component.PlayerSaveHandler.loadPlayerData(PlayerEntity player) private Optional<NbtCompound> PlayerSaveHandler.loadPlayerData(PlayerEntity player, String extension) Methods in net.minecraft.world with parameters of type NbtCompoundModifier and TypeMethodDescriptionSaveProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) private @Nullable Object2IntMap<Structure> StructureLocator.collectStructuresAndReferences(NbtCompound nbt) static ProtoChunkChunkSerializer.deserialize(ServerWorld world, PointOfInterestStorage poiStorage, StorageKey key, ChunkPos chunkPos, NbtCompound nbt) static ChunkUpdateStateChunkUpdateState.fromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) static ForcedChunkStateForcedChunkState.fromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) static IdCountsStateIdCountsState.fromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) static ChunkTypeChunkSerializer.getChunkType(@Nullable NbtCompound nbt) private static WorldChunk.EntityLoaderChunkSerializer.getEntityLoadingCallback(ServerWorld world, NbtCompound nbt) ChunkSerializer.getList(NbtCompound nbt, String key) FeatureUpdater.getUpdatedReferences(NbtCompound nbt) private NbtCompoundFeatureUpdater.getUpdatedStarts(NbtCompound nbt, ChunkPos pos) voidCommandBlockExecutor.readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) ChunkSerializer.readStructureReferences(DynamicRegistryManager registryManager, ChunkPos pos, NbtCompound nbt) private static Map<Structure, StructureStart> ChunkSerializer.readStructureStarts(StructureContext context, NbtCompound nbt, long worldSeed) private static voidChunkSerializer.serializeTicks(ServerWorld world, NbtCompound nbt, Chunk.TickSchedulers tickSchedulers) voidSaveProperties.setCustomBossEvents(@Nullable NbtCompound customBossEvents) ChunkUpdateState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) CommandBlockExecutor.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) ForcedChunkState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) IdCountsState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) abstract NbtCompoundPersistentState.writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Method parameters in net.minecraft.world with type arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate <T extends PersistentState>
TPersistentStateManager.readFromFile(BiFunction<NbtCompound, RegistryWrapper.WrapperLookup, T> readFunction, DataFixTypes dataFixTypes, String id) Constructor parameters in net.minecraft.world with type arguments of type NbtCompoundModifierConstructorDescriptionType(Supplier<T> supplier, BiFunction<NbtCompound, RegistryWrapper.WrapperLookup, T> biFunction, DataFixTypes dataFixTypes) -
Uses of NbtCompound in net.minecraft.world.border
Methods in net.minecraft.world.border with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type NbtCompoundModifier and TypeFieldDescriptionprotected final Map<BlockPos, NbtCompound> Chunk.blockEntityNbtsprivate final List<NbtCompound> ProtoChunk.entitiesMethods in net.minecraft.world.chunk that return NbtCompoundModifier and TypeMethodDescriptionChunk.getBlockEntityNbt(BlockPos pos) WrapperProtoChunk.getBlockEntityNbt(BlockPos pos) abstract @Nullable NbtCompoundChunk.getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registryLookup) ProtoChunk.getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registryLookup) WorldChunk.getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registryLookup) WrapperProtoChunk.getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registryLookup) UpgradeData.toNbt()Methods in net.minecraft.world.chunk that return types with arguments of type NbtCompoundMethods in net.minecraft.world.chunk with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidProtoChunk.addEntity(NbtCompound entityNbt) private static <T> voidUpgradeData.addNeighborTicks(NbtCompound nbt, String key, Function<String, Optional<T>> nameToType, List<Tick<T>> ticks) voidChunk.addPendingBlockEntityNbt(NbtCompound nbt) voidWrapperProtoChunk.addPendingBlockEntityNbt(NbtCompound nbt) static @Nullable BelowZeroRetrogenBelowZeroRetrogen.fromNbt(NbtCompound nbt) private @Nullable BlockEntityWorldChunk.loadBlockEntity(BlockPos pos, NbtCompound nbt) voidWorldChunk.loadFromPacket(PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer) Method parameters in net.minecraft.world.chunk with type arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate static voidChunkGenerating.addEntities(ServerWorld world, List<NbtCompound> entities) Constructors in net.minecraft.world.chunk with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.world.level
Fields in net.minecraft.world.level declared as NbtCompoundModifier and TypeFieldDescriptionprivate @Nullable NbtCompoundLevelProperties.customBossEventsprivate final @Nullable NbtCompoundLevelProperties.playerDataMethods in net.minecraft.world.level that return NbtCompoundModifier and TypeMethodDescriptionLevelProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) LevelProperties.getCustomBossEvents()LevelProperties.getPlayerData()Methods in net.minecraft.world.level with parameters of type NbtCompoundModifier and TypeMethodDescriptionLevelProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) voidLevelProperties.setCustomBossEvents(@Nullable NbtCompound customBossEvents) private voidLevelProperties.updateProperties(DynamicRegistryManager registryManager, NbtCompound levelNbt, @Nullable NbtCompound playerNbt) Constructors in net.minecraft.world.level with parameters of type NbtCompoundModifierConstructorDescriptionprivateLevelProperties(@Nullable NbtCompound playerData, boolean modded, BlockPos spawnPos, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Properties worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, @Nullable UUID wanderingTraderId, Set<String> serverBrands, Set<String> removedFeatures, Timer<MinecraftServer> scheduledEvents, @Nullable NbtCompound customBossEvents, EnderDragonFight.Data dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, com.mojang.serialization.Lifecycle lifecycle) -
Uses of NbtCompound in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return NbtCompoundModifier and TypeMethodDescription(package private) static NbtCompoundLevelStorage.readLevelProperties(Path path) Methods in net.minecraft.world.level.storage with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidLevelStorage.Session.backupLevelDataFile(DynamicRegistryManager registryManager, SaveProperties saveProperties, @Nullable NbtCompound nbt) private voidLevelStorage.Session.save(NbtCompound nbt) Method parameters in net.minecraft.world.level.storage with type arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate voidLevelStorage.Session.save(Consumer<NbtCompound> nbtProcessor) -
Uses of NbtCompound in net.minecraft.world.storage
Fields in net.minecraft.world.storage declared as NbtCompoundModifier and TypeFieldDescription(package private) @Nullable NbtCompoundStorageIoWorker.Result.nbtMethods in net.minecraft.world.storage that return NbtCompoundModifier and TypeMethodDescription(package private) @Nullable NbtCompoundStorageIoWorker.Result.copyNbt()ChunkPosKeyedStorage.update(NbtCompound nbt, int oldVersion) VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> generatorCodecKey) Methods in net.minecraft.world.storage that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate CompletableFuture<Optional<NbtCompound>> StorageIoWorker.readChunkData(ChunkPos pos) Methods in net.minecraft.world.storage with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate static ChunkPosEntityChunkDataAccess.getChunkPos(NbtCompound chunkNbt) static intVersionedChunkStorage.getDataVersion(NbtCompound nbt) private booleanStorageIoWorker.needsBlending(NbtCompound nbt) private static voidEntityChunkDataAccess.putChunkPos(NbtCompound chunkNbt, ChunkPos pos) private static voidVersionedChunkStorage.removeContext(NbtCompound nbt) static voidVersionedChunkStorage.saveContextToNbt(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> generatorCodecKey) ChunkPosKeyedStorage.set(ChunkPos pos, @Nullable NbtCompound nbt) RecreationStorage.set(ChunkPos pos, @Nullable NbtCompound nbt) RecreatedChunkStorage.setNbt(ChunkPos chunkPos, NbtCompound nbt) VersionedChunkStorage.setNbt(ChunkPos chunkPos, NbtCompound nbt) StorageIoWorker.setResult(ChunkPos pos, @Nullable NbtCompound nbt) ChunkPosKeyedStorage.update(NbtCompound nbt, int oldVersion) private voidSerializingRegionBasedStorage.update(ChunkPos pos, RegistryOps<NbtElement> ops, @Nullable NbtCompound nbt) VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> generatorCodecKey) protected voidRegionBasedStorage.write(ChunkPos pos, @Nullable NbtCompound nbt) Constructors in net.minecraft.world.storage with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.world.tick
Methods in net.minecraft.world.tick that return NbtCompoundModifier and TypeMethodDescriptionstatic <T> NbtCompoundTick.orderedTickToNbt(OrderedTick<T> orderedTick, Function<T, String> typeToNameFunction, long delay) private static NbtCompoundTick.toNbt(String type, BlockPos pos, int delay, TickPriority priority) Methods in net.minecraft.world.tick with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.world.timer
Methods in net.minecraft.world.timer that return NbtCompoundModifier and TypeMethodDescriptionprivate NbtCompoundTimer.serialize(Timer.Event<T> event) <T extends TimerCallback<C>>
NbtCompoundTimerCallbackSerializer.serialize(T callback) Methods in net.minecraft.world.timer with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate voidTimer.addEvent(NbtCompound nbt) FunctionTagTimerCallback.Serializer.deserialize(NbtCompound nbtCompound) FunctionTimerCallback.Serializer.deserialize(NbtCompound nbtCompound) abstract CTimerCallback.Serializer.deserialize(NbtCompound nbt) TimerCallbackSerializer.deserialize(NbtCompound nbt) voidFunctionTagTimerCallback.Serializer.serialize(NbtCompound nbtCompound, FunctionTagTimerCallback functionTagTimerCallback) voidFunctionTimerCallback.Serializer.serialize(NbtCompound nbtCompound, FunctionTimerCallback functionTimerCallback) abstract voidTimerCallback.Serializer.serialize(NbtCompound nbt, C callback) -
Uses of NbtCompound in net.minecraft.world.updater
Methods in net.minecraft.world.updater that return NbtCompoundModifier and TypeMethodDescriptionprotected abstract NbtCompoundWorldUpdater.ChunkPosKeyedStorageUpdate.updateNbt(ChunkPosKeyedStorage storage, NbtCompound nbt) protected NbtCompoundWorldUpdater.EntitiesUpdate.updateNbt(ChunkPosKeyedStorage storage, NbtCompound nbt) protected NbtCompoundWorldUpdater.PoiUpdate.updateNbt(ChunkPosKeyedStorage storage, NbtCompound nbt) Methods in net.minecraft.world.updater with parameters of type NbtCompoundModifier and TypeMethodDescriptionprotected abstract NbtCompoundWorldUpdater.ChunkPosKeyedStorageUpdate.updateNbt(ChunkPosKeyedStorage storage, NbtCompound nbt) protected NbtCompoundWorldUpdater.EntitiesUpdate.updateNbt(ChunkPosKeyedStorage storage, NbtCompound nbt) protected NbtCompoundWorldUpdater.PoiUpdate.updateNbt(ChunkPosKeyedStorage storage, NbtCompound nbt)