Uses of Class
net.minecraft.nbt.NbtCompound
Packages that use NbtCompound
Package
Description
The base package for all Minecraft classes.
The Named Binary Tag (NBT) data format.
-
Uses of NbtCompound in net.minecraft
Methods in net.minecraft that return NbtCompoundMethods in net.minecraft with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic class_8565class_8565.method_51842(long long2, NbtCompound nbtCompound) class_8565.writeNbt(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as NbtCompoundModifier and TypeFieldDescription(package private) final NbtCompoundBeehiveBlockEntity.Bee.entityDataMethods in net.minecraft.block.entity that return NbtCompoundModifier and TypeMethodDescriptionfinal NbtCompoundBlockEntity.createNbt()Returns the block entity's NBT data.final NbtCompoundBlockEntity.createNbtWithId()Returns the block entity's NBT data with block entity type ID.final NbtCompoundBlockEntity.createNbtWithIdentifyingData()Returns the block entity's NBT data with identifying data.BannerBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.BeaconBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.BlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.BrushableBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.CampfireBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.ConduitBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.DecoratedPotBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.EndGatewayBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.JigsawBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.MobSpawnerBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.PistonBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.SignBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.SkullBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.StructureBlockBlockEntity.toInitialChunkDataNbt()Returns the serialized state of this block entity that is observable by clients.DecoratedPotBlockEntity.Sherds.toNbt(NbtCompound nbt) Methods in net.minecraft.block.entity with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidBeehiveBlockEntity.addBee(NbtCompound nbtCompound, int ticksInHive, boolean hasNectar) static @Nullable BlockEntityBlockEntity.createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt) Returns the new block entity loaded fromnbt, ornullif it fails.protected booleanLootableContainerBlockEntity.deserializeLootTable(NbtCompound nbt) DecoratedPotBlockEntity.Sherds.fromNbt(@Nullable NbtCompound nbt) static BlockPosBlockEntity.posFromNbt(NbtCompound nbt) Returns the block position fromnbt.voidShulkerBoxBlockEntity.readInventoryNbt(NbtCompound nbt) private booleanBrushableBlockEntity.readLootTableFromNbt(NbtCompound nbt) voidAbstractFurnaceBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidBannerBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidBarrelBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidBeaconBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidBeehiveBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidBrewingStandBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidBrushableBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidCampfireBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidChestBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidChiseledBookshelfBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidCommandBlockBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidComparatorBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidConduitBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidDecoratedPotBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidDispenserBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidEnchantingTableBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidEndGatewayBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidHopperBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidJigsawBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidJukeboxBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidLecternBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidLockableContainerBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidMobSpawnerBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidPistonBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidSculkCatalystBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidSculkSensorBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidSculkShriekerBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidSculkSpreadManager.readNbt(NbtCompound nbt) voidShulkerBoxBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidSignBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidSkullBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.voidStructureBlockBlockEntity.readNbt(NbtCompound nbt) Reads data fromnbt.(package private) static voidBeehiveBlockEntity.removeIrrelevantNbtKeys(NbtCompound compound) protected booleanLootableContainerBlockEntity.serializeLootTable(NbtCompound nbt) DecoratedPotBlockEntity.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) Writes data tonbt.protected voidBannerBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidBarrelBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidBeaconBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidBeehiveBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidBrewingStandBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidBrushableBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidCampfireBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidChestBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidChiseledBookshelfBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidCommandBlockBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidComparatorBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidConduitBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidDecoratedPotBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidDispenserBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidEnchantingTableBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidEndGatewayBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidHopperBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidJigsawBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidJukeboxBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidLecternBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidLockableContainerBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidMobSpawnerBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidPistonBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidSculkCatalystBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidSculkSensorBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidSculkShriekerBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.voidSculkSpreadManager.writeNbt(NbtCompound nbt) protected voidShulkerBoxBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidSignBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidSkullBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.protected voidStructureBlockBlockEntity.writeNbt(NbtCompound nbt) Writes data tonbt.Constructors in net.minecraft.block.entity with parameters of type NbtCompoundModifierConstructorDescription(package private)Bee(NbtCompound entityData, int ticksInHive, int minOccupationTicks) -
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.gui.screen.ingame
Methods in net.minecraft.client.gui.screen.ingame with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic voidBookScreen.filterPages(NbtCompound nbt, Consumer<String> pageConsumer) BookScreen.readPages(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.particle
Constructors in net.minecraft.client.particle with parameters of type NbtCompoundModifierConstructorDescriptionFireworkParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, @Nullable NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidClientWorld.addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable NbtCompound nbt) ClientChunkManager.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) 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) -
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.nbtprivate final @Nullable NbtCompoundItemStackArgument.nbtprivate final @Nullable NbtCompoundItemStringReader.ItemResult.nbtThe field for thenbtrecord component.private @Nullable NbtCompoundItemStringReader.nbtprivate final @Nullable NbtCompoundItemStringReader.TagResult.nbtThe field for thenbtrecord component.Methods 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.ItemStringReader.ItemResult.nbt()Returns the value of thenbtrecord component.ItemStringReader.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 TypeMethodDescriptionprivate static ItemPredicateArgumentType.ItemStackPredicateArgumentItemPredicateArgumentType.getItemStackPredicate(Predicate<RegistryEntry<Item>> predicate, @Nullable NbtCompound nbt) (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) ItemResult(RegistryEntry<Item> registryEntry, @Nullable NbtCompound nbtCompound) ItemStackArgument(RegistryEntry<Item> item, @Nullable NbtCompound nbt) 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) TagResult(RegistryEntryList<Item> registryEntryList, @Nullable NbtCompound 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.enchantment
Methods in net.minecraft.enchantment that return NbtCompoundModifier and TypeMethodDescriptionstatic NbtCompoundEnchantmentHelper.createNbt(@Nullable Identifier id, int lvl) Methods in net.minecraft.enchantment with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic @Nullable IdentifierEnchantmentHelper.getIdFromNbt(NbtCompound nbt) static intEnchantmentHelper.getLevelFromNbt(NbtCompound nbt) static voidEnchantmentHelper.writeLevelToNbt(NbtCompound nbt, int lvl) -
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) EntityType.create(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY) 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) static voidEntityType.loadFromEntityNbt(World world, @Nullable PlayerEntity player, @Nullable Entity entity, @Nullable NbtCompound itemNbt) 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 voidTntEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.default voidInventoryOwner.readInventory(NbtCompound nbt) voidEntity.readNbt(NbtCompound nbt) voidSaddledComponent.readNbt(NbtCompound nbt) booleanEntity.saveNbt(NbtCompound nbt) booleanEntity.saveSelfNbt(NbtCompound nbt) EntityType.spawn(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY) 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 voidTntEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.default voidInventoryOwner.writeInventory(NbtCompound nbt) 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 NbtCompoundMethods in net.minecraft.entity.boss with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic CommandBossBarCommandBossBar.fromNbt(NbtCompound nbt, Identifier id) voidWitherEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidBossBarManager.readNbt(NbtCompound nbt) voidWitherEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt. -
Uses of NbtCompound in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon that return NbtCompoundMethods 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.Constructors in net.minecraft.entity.boss.dragon with parameters of type NbtCompoundModifierConstructorDescriptionEnderDragonFight(ServerWorld serverWorld, long long2, NbtCompound nbtCompound) EnderDragonFight(ServerWorld world, long gatewaysSeed, NbtCompound nbt, BlockPos blockPos) -
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 TypeMethodDescriptionvoidAbstractDecorationEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidArmorStandEntity.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) voidAbstractDecorationEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidArmorStandEntity.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.static Optional<RegistryEntry<PaintingVariant>>PaintingEntity.readVariantFromNbt(NbtCompound nbt) voidPaintingEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.static voidPaintingEntity.writeVariantToNbt(NbtCompound nbt, RegistryEntry<PaintingVariant> variant) -
Uses of NbtCompound in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect that return NbtCompoundMethods in net.minecraft.entity.effect with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate static StatusEffectInstanceStatusEffectInstance.fromNbt(StatusEffect type, NbtCompound nbt) static @Nullable StatusEffectInstanceStatusEffectInstance.fromNbt(NbtCompound nbt) StatusEffectInstance.writeNbt(NbtCompound nbt) private voidStatusEffectInstance.writeTypelessNbt(NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as NbtCompoundModifier and TypeFieldDescriptionprivate @Nullable NbtCompoundMobEntity.leashNbtprivate @Nullable NbtCompoundZombieVillagerEntity.offerDataMethods in net.minecraft.entity.mob with parameters of type NbtCompoundModifier and TypeMethodDescriptionAbstractSkeletonEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) CaveSpiderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) DrownedEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) HoglinEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) IllusionerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) MobEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PatrolEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PhantomEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PiglinBruteEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PiglinEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PillagerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) ShulkerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) SlimeEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) SpiderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) VexEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) VindicatorEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) WardenEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) WitherSkeletonEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) ZombieEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) ZombieVillagerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) default voidAngerable.readAngerFromNbt(World world, NbtCompound nbt) voidAbstractPiglinEntity.readCustomDataFromNbt(NbtCompound nbt) Reads custom data fromnbt.voidAbstractSkeletonEntity.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.voidZombieVillagerEntity.setOfferData(NbtCompound offerData) default voidAngerable.writeAngerToNbt(NbtCompound nbt) voidAbstractPiglinEntity.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) AbstractHorseEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) AxolotlEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) CamelEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) CatEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) DolphinEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) FoxEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) FrogEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) GoatEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) HorseEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) LlamaEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) MerchantEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) OcelotEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PandaEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) ParrotEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PassiveEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PolarBearEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) RabbitEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) SchoolingFishEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) SheepEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) StriderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) TraderLlamaEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) TropicalFishEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) TurtleEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) VillagerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) 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.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.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.voidArrowEntity.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.voidAbstractFireballEntity.writeCustomDataToNbt(NbtCompound nbt) Writes custom data tonbt.voidArrowEntity.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. -
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 TypeMethodDescriptionRaiderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) voidRaiderEntity.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) 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) -
Uses of NbtCompound in net.minecraft.inventory
Methods in net.minecraft.inventory that return NbtCompoundModifier and TypeMethodDescriptionstatic NbtCompoundInventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks) static NbtCompoundInventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty) Methods in net.minecraft.inventory with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic ContainerLockContainerLock.fromNbt(NbtCompound nbt) Creates a newContainerLockfrom theLockkey of the NBT compound.static voidInventories.readNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks) 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) static NbtCompoundInventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty) -
Uses of NbtCompound in net.minecraft.item
Fields in net.minecraft.item declared as NbtCompoundModifier and TypeFieldDescriptionprivate @Nullable NbtCompoundItemStack.nbtRepresents the item stack's custom NBT.Methods in net.minecraft.item that return NbtCompoundModifier and TypeMethodDescriptionstatic @Nullable NbtCompoundBlockItem.getBlockEntityNbt(ItemStack stack) ItemStack.getNbt()Returns the custom NBT of this item stack, may benull.ItemStack.getOrCreateNbt()Returns the custom NBT of this item stack, or creates the custom NBT if the item stack did not have a custom NBT previously, mutating the stack.ItemStack.getOrCreateSubNbt(String key) Returns the compound NBT at the specified key in this item stack's NBT, or a new compound added to the stack if absent.Returns the NBT compound at the specified key in this item stack's custom NBT, may benull.ItemStack.writeNbt(NbtCompound nbt) Writes the serialized item stack into the givenNbtCompound.Methods in net.minecraft.item that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate static Optional<NbtCompound>BundleItem.canMergeStack(ItemStack stack, NbtList items) Methods in net.minecraft.item with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic voidFireworkStarItem.appendFireworkTooltip(NbtCompound nbt, List<Text> tooltip) CompassItem.createLodestonePos(NbtCompound nbt) static ItemStackItemStack.fromNbt(NbtCompound nbt) Returns the item stack deserialized from the NBT, orItemStack.EMPTYif it fails to deserialize.EntityType<?>SpawnEggItem.getEntityType(@Nullable NbtCompound nbt) private static Optional<RegistryKey<World>>CompassItem.getLodestoneDimension(NbtCompound nbt) booleanSpawnEggItem.isOfSameEntityType(@Nullable NbtCompound nbt, EntityType<?> type) static booleanWritableBookItem.isValid(@Nullable NbtCompound nbt) static booleanWrittenBookItem.isValid(@Nullable NbtCompound nbt) voidItem.postProcessNbt(NbtCompound nbt) Processes the NBT applied to an item stack of this item.voidSkullItem.postProcessNbt(NbtCompound nbt) Processes the NBT applied to an item stack of this item.static voidBlockItem.setBlockEntityNbt(ItemStack stack, BlockEntityType<?> blockEntityType, NbtCompound tag) voidItemStack.setNbt(@Nullable NbtCompound nbt) Sets the custom NBT of this item stack.private voidCompassItem.writeNbt(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt) ItemStack.writeNbt(NbtCompound nbt) Writes the serialized item stack into the givenNbtCompound.Constructors in net.minecraft.item with parameters of type NbtCompoundConstructor parameters in net.minecraft.item with type arguments of type NbtCompoundModifierConstructorDescriptionprivateItemStack(ItemConvertible item, int count, Optional<NbtCompound> nbt) -
Uses of NbtCompound in net.minecraft.item.map
Methods in net.minecraft.item.map that return NbtCompoundModifier and TypeMethodDescriptionMapBannerMarker.getNbt()MapFrameMarker.toNbt()MapState.writeNbt(NbtCompound nbt) Methods in net.minecraft.item.map with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic MapBannerMarkerMapBannerMarker.fromNbt(NbtCompound nbt) static MapFrameMarkerMapFrameMarker.fromNbt(NbtCompound nbt) static MapStateMapState.fromNbt(NbtCompound nbt) MapState.writeNbt(NbtCompound nbt) -
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<?>SetNbtLootFunction.builder(NbtCompound nbt) Deprecated.Constructors in net.minecraft.loot.function with parameters of type NbtCompoundModifierConstructorDescription(package private)SetNbtLootFunction(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 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.fromBlockPos(BlockPos pos) Returns the serialized block position.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 NbtCompoundReads an NBT compound frominput.static NbtCompoundNbtIo.read(DataInput input, NbtTagSizeTracker tracker) Reads an NBT compound frominput.static @Nullable NbtCompoundReads an NBT compound fromfile.(package private) NbtCompoundStringNbtReader.readCompound()static NbtCompoundNbtIo.readCompressed(File file) Reads an NBT compound from Gzip-compressedfile.static NbtCompoundNbtIo.readCompressed(InputStream stream) Reads an NBT compound from Gzip-compressedstream.(package private) static NbtCompoundNbtHelper.toNbtProviderFormat(NbtCompound compound) static NbtCompoundNbtHelper.writeGameProfile(NbtCompound nbt, com.mojang.authlib.GameProfile profile) Writes the game profile tonbt.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) static BlockPosNbtHelper.toBlockPos(NbtCompound nbt) Returns the block position from thenbt.static BlockStateNbtHelper.toBlockState(RegistryEntryLookup<Block> blockLookup, NbtCompound nbt) Returns the block state from thenbt.static @Nullable com.mojang.authlib.GameProfileNbtHelper.toGameProfile(NbtCompound nbt) Returns the game profile converted fromnbt.(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, DataOutput output) Writes thenbttofile.static voidNbtIo.write(NbtCompound nbt, File file) Writes thenbttofile.static voidNbtIo.writeCompressed(NbtCompound nbt, File file) Writes the Gzip-compressednbttofile.static voidNbtIo.writeCompressed(NbtCompound nbt, OutputStream stream) Writes the Gzip-compressednbttostream.static NbtCompoundNbtHelper.writeGameProfile(NbtCompound nbt, com.mojang.authlib.GameProfile profile) Writes the game profile tonbt. -
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.PacketByteBuf.readNbt(NbtTagSizeTracker sizeTracker) Reads an NBT compound from this buf.PacketByteBuf.readUnlimitedNbt()Reads an NBT compound from this buf.Methods in net.minecraft.network with parameters of type NbtCompoundModifier and TypeMethodDescriptionPacketByteBuf.writeNbt(@Nullable NbtCompound compound) Writes an NBT compound to this buf. -
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 @Nullable 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, Function<BlockEntity, 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.potion
Methods in net.minecraft.potion with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic List<StatusEffectInstance>PotionUtil.getCustomPotionEffects(@Nullable NbtCompound nbt) static voidPotionUtil.getCustomPotionEffects(@Nullable NbtCompound nbt, List<StatusEffectInstance> list) static PotionPotionUtil.getPotion(@Nullable NbtCompound compound) static List<StatusEffectInstance>PotionUtil.getPotionEffects(@Nullable NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.predicate
Fields in net.minecraft.predicate declared as NbtCompoundMethods in net.minecraft.predicate that return NbtCompoundMethods in net.minecraft.predicate with parameters of type NbtCompoundConstructors in net.minecraft.predicate with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.predicate.item
Methods in net.minecraft.predicate.item with parameters of type NbtCompound -
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 NbtCompoundMethods in net.minecraft.scoreboard with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate voidScoreboardState.readDisplaySlotsNbt(NbtCompound nbt) ScoreboardState.readNbt(NbtCompound nbt) ServerScoreboard.stateFromNbt(NbtCompound nbt) private voidScoreboardState.writeDisplaySlotsNbt(NbtCompound nbt) ScoreboardState.writeNbt(NbtCompound nbt) -
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.PlayerManager.loadPlayerData(ServerPlayerEntity player) -
Uses of NbtCompound in net.minecraft.server.command
Fields in net.minecraft.server.command declared as NbtCompoundModifier and TypeFieldDescriptionfinal @Nullable NbtCompoundCloneCommand.BlockInfo.blockEntityNbtMethods in net.minecraft.server.command with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate 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 NbtCompoundModifierConstructorDescriptionBlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound blockEntityNbt) -
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.voidServerRecipeBook.readNbt(NbtCompound nbt, RecipeManager recipeManager) voidServerPlayerEntity.setGameMode(@Nullable NbtCompound nbt) 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 NbtCompoundThreadedAnvilChunkStorage.updateChunkNbt(NbtCompound nbt) Methods in net.minecraft.server.world that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate CompletableFuture<Optional<NbtCompound>>ThreadedAnvilChunkStorage.getUpdatedChunkNbt(ChunkPos chunkPos) Methods in net.minecraft.server.world with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate static booleanThreadedAnvilChunkStorage.containsStatus(NbtCompound nbt) private NbtCompoundThreadedAnvilChunkStorage.updateChunkNbt(NbtCompound nbt) Method parameters in net.minecraft.server.world with type arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate static voidThreadedAnvilChunkStorage.addEntitiesFromNbt(ServerWorld world, List<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.test
Methods in net.minecraft.test that return NbtCompound -
Uses of NbtCompound in net.minecraft.text
Fields in net.minecraft.text declared as NbtCompoundModifier and TypeFieldDescriptionprivate final @Nullable NbtCompoundHoverEvent.ItemStackContent.nbtMethods 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) Constructors in net.minecraft.text with parameters of type NbtCompoundModifierConstructorDescription(package private)ItemStackContent(Item item, int count, @Nullable NbtCompound nbt) -
Uses of NbtCompound in net.minecraft.village
Methods in net.minecraft.village that return NbtCompoundConstructors in net.minecraft.village with parameters of type NbtCompound -
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) 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) Constructors in net.minecraft.village.raid with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.world
Fields in net.minecraft.world declared as NbtCompoundModifier and TypeFieldDescriptionprivate final NbtCompoundMobSpawnerEntry.entityThe field for theentityrecord component.Fields in net.minecraft.world with type parameters of type NbtCompoundModifier and TypeFieldDescriptionprivate final Map<String,Long2ObjectMap<NbtCompound>> FeatureUpdater.featureIdToChunkNbtMethods in net.minecraft.world that return NbtCompoundModifier and TypeMethodDescriptionSaveProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) MobSpawnerEntry.entity()Returns the value of theentityrecord component.SaveProperties.getCustomBossEvents()SaveProperties.getDragonFight()MobSpawnerEntry.getNbt()SaveProperties.getPlayerData()FeatureUpdater.getUpdatedReferences(NbtCompound nbt) private NbtCompoundFeatureUpdater.getUpdatedStarts(NbtCompound nbt, ChunkPos pos) WorldSaveHandler.loadPlayerData(PlayerEntity player) static NbtCompoundChunkSerializer.serialize(ServerWorld world, Chunk chunk) GameRules.toNbt()ChunkUpdateState.writeNbt(NbtCompound nbt) CommandBlockExecutor.writeNbt(NbtCompound nbt) ForcedChunkState.writeNbt(NbtCompound nbt) IdCountsState.writeNbt(NbtCompound nbt) MobSpawnerLogic.writeNbt(NbtCompound nbt) abstract NbtCompoundPersistentState.writeNbt(NbtCompound nbt) private static NbtCompoundChunkSerializer.writeStructures(StructureContext context, ChunkPos pos, Map<Structure, StructureStart> starts, Map<Structure, LongSet> references) Methods in net.minecraft.world with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidWorld.addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable NbtCompound nbt) SaveProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) private @Nullable Object2IntMap<Structure>StructureLocator.collectStructuresAndReferences(NbtCompound nbt) static ProtoChunkChunkSerializer.deserialize(ServerWorld world, PointOfInterestStorage poiStorage, ChunkPos chunkPos, NbtCompound nbt) static ChunkUpdateStateChunkUpdateState.fromNbt(NbtCompound nbt) static ForcedChunkStateForcedChunkState.fromNbt(NbtCompound nbt) static IdCountsStateIdCountsState.fromNbt(NbtCompound nbt) static ChunkStatus.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) voidMobSpawnerLogic.readNbt(@Nullable World world, BlockPos pos, NbtCompound nbt) 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) voidSaveProperties.setDragonFight(NbtCompound dragonFight) ChunkUpdateState.writeNbt(NbtCompound nbt) CommandBlockExecutor.writeNbt(NbtCompound nbt) ForcedChunkState.writeNbt(NbtCompound nbt) IdCountsState.writeNbt(NbtCompound nbt) MobSpawnerLogic.writeNbt(NbtCompound nbt) abstract NbtCompoundPersistentState.writeNbt(NbtCompound nbt) Method parameters in net.minecraft.world with type arguments of type NbtCompoundModifier and TypeMethodDescription<T extends PersistentState>
TPersistentStateManager.get(Function<NbtCompound, T> readFunction, String id) <T extends PersistentState>
TPersistentStateManager.getOrCreate(Function<NbtCompound, T> readFunction, Supplier<T> supplier, String id) private <T extends PersistentState>
TPersistentStateManager.readFromFile(Function<NbtCompound, T> readFunction, String id) Constructors in net.minecraft.world with parameters of type NbtCompoundModifierConstructorDescriptionMobSpawnerEntry(NbtCompound nbtCompound, Optional<MobSpawnerEntry.CustomSpawnRules> optional) -
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) ProtoChunk.getPackedBlockEntityNbt(BlockPos pos) WorldChunk.getPackedBlockEntityNbt(BlockPos pos) WrapperProtoChunk.getPackedBlockEntityNbt(BlockPos pos) 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) 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 NbtCompoundLevelProperties.dragonFightprivate @Nullable NbtCompoundLevelProperties.playerDataMethods in net.minecraft.world.level that return NbtCompoundModifier and TypeMethodDescriptionLevelProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) LevelProperties.getCustomBossEvents()LevelProperties.getDragonFight()LevelProperties.getPlayerData()Methods in net.minecraft.world.level with parameters of type NbtCompoundModifier and TypeMethodDescriptionLevelProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) static <T> LevelPropertiesLevelProperties.readProperties(com.mojang.serialization.Dynamic<T> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, LevelProperties.SpecialProperty specialProperty, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) voidLevelProperties.setCustomBossEvents(@Nullable NbtCompound customBossEvents) voidLevelProperties.setDragonFight(NbtCompound dragonFight) private voidLevelProperties.updateProperties(DynamicRegistryManager registryManager, NbtCompound levelNbt, @Nullable NbtCompound playerNbt) Constructors in net.minecraft.world.level with parameters of type NbtCompoundModifierConstructorDescriptionprivateLevelProperties(@Nullable com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable NbtCompound playerData, boolean modded, int spawnX, int spawnY, int spawnZ, 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, NbtCompound 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 with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidLevelStorage.Session.backupLevelDataFile(DynamicRegistryManager registryManager, SaveProperties saveProperties, @Nullable NbtCompound nbt) -
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 TypeMethodDescriptionprivate NbtCompoundEntityChunkDataAccess.fixChunkData(NbtCompound chunkNbt) VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.Codec<? 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 NbtCompoundEntityChunkDataAccess.fixChunkData(NbtCompound chunkNbt) private static ChunkPosEntityChunkDataAccess.getChunkPos(NbtCompound chunkNbt) static intVersionedChunkStorage.getDataVersion(NbtCompound nbt) private booleanStorageIoWorker.needsBlending(NbtCompound nbt) private static voidEntityChunkDataAccess.putChunkPos(NbtCompound chunkNbt, ChunkPos pos) static voidVersionedChunkStorage.saveContextToNbt(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) voidVersionedChunkStorage.setNbt(ChunkPos chunkPos, NbtCompound nbt) StorageIoWorker.setResult(ChunkPos pos, @Nullable NbtCompound nbt) VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.Codec<? 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)