Uses of Class
net.minecraft.nbt.NbtCompound
Packages that use NbtCompound
Package
Description
The base package for all Minecraft classes.
-
Uses of NbtCompound in net.minecraft
Fields in net.minecraft declared as NbtCompoundMethods in net.minecraft with parameters of type NbtCompoundModifier and TypeMethodDescriptionprotected void
class_6335.readCustomDataFromNbt(NbtCompound nbt)
protected void
class_6335.writeCustomDataToNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as NbtCompoundMethods in net.minecraft.block.entity that return NbtCompoundModifier and TypeMethodDescriptionprivate NbtCompound
CampfireBlockEntity.saveInitialChunkData(NbtCompound nbt)
BannerBlockEntity.toInitialChunkDataNbt()
BeaconBlockEntity.toInitialChunkDataNbt()
BlockEntity.toInitialChunkDataNbt()
CampfireBlockEntity.toInitialChunkDataNbt()
ConduitBlockEntity.toInitialChunkDataNbt()
EndGatewayBlockEntity.toInitialChunkDataNbt()
JigsawBlockEntity.toInitialChunkDataNbt()
MobSpawnerBlockEntity.toInitialChunkDataNbt()
PistonBlockEntity.toInitialChunkDataNbt()
SignBlockEntity.toInitialChunkDataNbt()
SkullBlockEntity.toInitialChunkDataNbt()
StructureBlockBlockEntity.toInitialChunkDataNbt()
private NbtCompound
BlockEntity.writeIdentifyingData(NbtCompound nbt)
ShulkerBoxBlockEntity.writeInventoryNbt(NbtCompound nbt)
AbstractFurnaceBlockEntity.writeNbt(NbtCompound nbt)
BannerBlockEntity.writeNbt(NbtCompound nbt)
BarrelBlockEntity.writeNbt(NbtCompound nbt)
BeaconBlockEntity.writeNbt(NbtCompound nbt)
BeehiveBlockEntity.writeNbt(NbtCompound nbt)
BlockEntity.writeNbt(NbtCompound nbt)
BrewingStandBlockEntity.writeNbt(NbtCompound nbt)
CampfireBlockEntity.writeNbt(NbtCompound nbt)
ChestBlockEntity.writeNbt(NbtCompound nbt)
CommandBlockBlockEntity.writeNbt(NbtCompound nbt)
ComparatorBlockEntity.writeNbt(NbtCompound nbt)
ConduitBlockEntity.writeNbt(NbtCompound nbt)
DispenserBlockEntity.writeNbt(NbtCompound nbt)
EnchantingTableBlockEntity.writeNbt(NbtCompound nbt)
EndGatewayBlockEntity.writeNbt(NbtCompound nbt)
HopperBlockEntity.writeNbt(NbtCompound nbt)
JigsawBlockEntity.writeNbt(NbtCompound nbt)
JukeboxBlockEntity.writeNbt(NbtCompound nbt)
LecternBlockEntity.writeNbt(NbtCompound nbt)
LockableContainerBlockEntity.writeNbt(NbtCompound nbt)
MobSpawnerBlockEntity.writeNbt(NbtCompound nbt)
PistonBlockEntity.writeNbt(NbtCompound nbt)
SculkSensorBlockEntity.writeNbt(NbtCompound nbt)
ShulkerBoxBlockEntity.writeNbt(NbtCompound nbt)
SignBlockEntity.writeNbt(NbtCompound nbt)
SkullBlockEntity.writeNbt(NbtCompound nbt)
StructureBlockBlockEntity.writeNbt(NbtCompound nbt)
Methods in net.minecraft.block.entity with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoid
BeehiveBlockEntity.addBee(NbtCompound nbtCompound, int ticksInHive, boolean hasNectar)
static @Nullable BlockEntity
BlockEntity.createFromNbt(BlockPos pos, BlockState state, NbtCompound nbt)
protected boolean
LootableContainerBlockEntity.deserializeLootTable(NbtCompound nbt)
void
ShulkerBoxBlockEntity.readInventoryNbt(NbtCompound nbt)
void
AbstractFurnaceBlockEntity.readNbt(NbtCompound nbt)
void
BannerBlockEntity.readNbt(NbtCompound nbt)
void
BarrelBlockEntity.readNbt(NbtCompound nbt)
void
BeaconBlockEntity.readNbt(NbtCompound nbt)
void
BeehiveBlockEntity.readNbt(NbtCompound nbt)
void
BlockEntity.readNbt(NbtCompound nbt)
void
BrewingStandBlockEntity.readNbt(NbtCompound nbt)
void
CampfireBlockEntity.readNbt(NbtCompound nbt)
void
ChestBlockEntity.readNbt(NbtCompound nbt)
void
CommandBlockBlockEntity.readNbt(NbtCompound nbt)
void
ComparatorBlockEntity.readNbt(NbtCompound nbt)
void
ConduitBlockEntity.readNbt(NbtCompound nbt)
void
DispenserBlockEntity.readNbt(NbtCompound nbt)
void
EnchantingTableBlockEntity.readNbt(NbtCompound nbt)
void
EndGatewayBlockEntity.readNbt(NbtCompound nbt)
void
HopperBlockEntity.readNbt(NbtCompound nbt)
void
JigsawBlockEntity.readNbt(NbtCompound nbt)
void
JukeboxBlockEntity.readNbt(NbtCompound nbt)
void
LecternBlockEntity.readNbt(NbtCompound nbt)
void
LockableContainerBlockEntity.readNbt(NbtCompound nbt)
void
MobSpawnerBlockEntity.readNbt(NbtCompound nbt)
void
PistonBlockEntity.readNbt(NbtCompound nbt)
void
SculkSensorBlockEntity.readNbt(NbtCompound nbt)
void
ShulkerBoxBlockEntity.readNbt(NbtCompound nbt)
void
SignBlockEntity.readNbt(NbtCompound nbt)
void
SkullBlockEntity.readNbt(NbtCompound nbt)
void
StructureBlockBlockEntity.readNbt(NbtCompound nbt)
private NbtCompound
CampfireBlockEntity.saveInitialChunkData(NbtCompound nbt)
protected boolean
LootableContainerBlockEntity.serializeLootTable(NbtCompound nbt)
private NbtCompound
BlockEntity.writeIdentifyingData(NbtCompound nbt)
ShulkerBoxBlockEntity.writeInventoryNbt(NbtCompound nbt)
AbstractFurnaceBlockEntity.writeNbt(NbtCompound nbt)
BannerBlockEntity.writeNbt(NbtCompound nbt)
BarrelBlockEntity.writeNbt(NbtCompound nbt)
BeaconBlockEntity.writeNbt(NbtCompound nbt)
BeehiveBlockEntity.writeNbt(NbtCompound nbt)
BlockEntity.writeNbt(NbtCompound nbt)
BrewingStandBlockEntity.writeNbt(NbtCompound nbt)
CampfireBlockEntity.writeNbt(NbtCompound nbt)
ChestBlockEntity.writeNbt(NbtCompound nbt)
CommandBlockBlockEntity.writeNbt(NbtCompound nbt)
ComparatorBlockEntity.writeNbt(NbtCompound nbt)
ConduitBlockEntity.writeNbt(NbtCompound nbt)
DispenserBlockEntity.writeNbt(NbtCompound nbt)
EnchantingTableBlockEntity.writeNbt(NbtCompound nbt)
EndGatewayBlockEntity.writeNbt(NbtCompound nbt)
HopperBlockEntity.writeNbt(NbtCompound nbt)
JigsawBlockEntity.writeNbt(NbtCompound nbt)
JukeboxBlockEntity.writeNbt(NbtCompound nbt)
LecternBlockEntity.writeNbt(NbtCompound nbt)
LockableContainerBlockEntity.writeNbt(NbtCompound nbt)
MobSpawnerBlockEntity.writeNbt(NbtCompound nbt)
PistonBlockEntity.writeNbt(NbtCompound nbt)
SculkSensorBlockEntity.writeNbt(NbtCompound nbt)
ShulkerBoxBlockEntity.writeNbt(NbtCompound nbt)
SignBlockEntity.writeNbt(NbtCompound nbt)
SkullBlockEntity.writeNbt(NbtCompound nbt)
StructureBlockBlockEntity.writeNbt(NbtCompound nbt)
Constructors in net.minecraft.block.entity with parameters of type NbtCompoundModifierConstructorDescriptionprivate
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 void
Keyboard.copyBlock(BlockState state, BlockPos pos, @Nullable NbtCompound nbt)
private void
Keyboard.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 void
BookScreen.method_33888(NbtCompound nbt, Consumer<String> consumer)
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.callback
Methods in net.minecraft.client.network that return NbtCompoundMethods in net.minecraft.client.network with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic ServerInfo
ServerInfo.fromNbt(NbtCompound root)
boolean
DataQueryHandler.handleQueryResponse(int transactionId, @Nullable NbtCompound nbt)
Method parameters in net.minecraft.client.network with type arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate int
DataQueryHandler.nextQuery(Consumer<NbtCompound> callback)
void
DataQueryHandler.queryBlockNbt(BlockPos pos, Consumer<NbtCompound> callback)
void
DataQueryHandler.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 TypeMethodDescriptionvoid
ClientWorld.addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable NbtCompound nbt)
ClientChunkManager.loadChunkFromPacket(int x, int z, BiomeArray biomes, PacketByteBuf buf, NbtCompound nbt, BitSet bitSet)
-
Uses of NbtCompound in net.minecraft.command
Fields in net.minecraft.command with type parameters of type NbtCompoundModifier and TypeFieldDescriptionprivate Map<String,NbtCompound>
DataCommandStorage.PersistentState.map
Methods 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 TypeMethodDescriptionDataCommandStorage.PersistentState.readNbt(NbtCompound nbt)
void
DataCommandStorage.PersistentState.set(String name, NbtCompound nbt)
void
DataCommandStorage.set(Identifier id, NbtCompound nbt)
void
BlockDataObject.setNbt(NbtCompound nbt)
void
DataCommandObject.setNbt(NbtCompound nbt)
void
EntityDataObject.setNbt(NbtCompound nbt)
void
StorageDataObject.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 NbtCompound
ItemPredicateArgumentType.TagPredicate.compound
private @Nullable NbtCompound
BlockArgumentParser.data
private @Nullable NbtCompound
BlockStateArgument.data
private NbtCompound
NbtPathArgumentType.FilteredListElementNode.filter
private NbtCompound
NbtPathArgumentType.FilteredNamedNode.filter
private @Nullable NbtCompound
BlockPredicateArgumentType.StatePredicate.nbt
private @Nullable NbtCompound
BlockPredicateArgumentType.TagPredicate.nbt
private @Nullable NbtCompound
ItemPredicateArgumentType.ItemPredicate.nbt
private @Nullable NbtCompound
ItemStackArgument.nbt
private @Nullable NbtCompound
ItemStringReader.nbt
Methods in net.minecraft.command.argument that return NbtCompoundModifier and TypeMethodDescriptionItemStringReader.getNbt()
static <S> NbtCompound
NbtCompoundTagArgumentType.getNbtCompound(com.mojang.brigadier.context.CommandContext<S> context, String name)
BlockArgumentParser.getNbtData()
NbtCompoundTagArgumentType.parse(com.mojang.brigadier.StringReader stringReader)
Methods in net.minecraft.command.argument with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate static Predicate<NbtElement>
NbtPathArgumentType.getPredicate(NbtCompound filter)
Constructors in net.minecraft.command.argument with parameters of type NbtCompoundModifierConstructorDescriptionBlockStateArgument(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound data)
FilteredListElementNode(NbtCompound filter)
FilteredNamedNode(String name, NbtCompound filter)
FilteredRootNode(NbtCompound filter)
ItemPredicate(Item item, @Nullable NbtCompound nbt)
ItemStackArgument(Item item, @Nullable NbtCompound nbt)
StatePredicate(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound nbt)
private
TagPredicate(Tag<Block> tag, Map<String,String> map, @Nullable NbtCompound nbt)
TagPredicate(Tag<Item> tag, @Nullable NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.data
Methods in net.minecraft.data that return NbtCompoundModifier and TypeMethodDescriptionSnbtProvider.Tweaker.write(String name, NbtCompound nbt)
private NbtCompound
SnbtProvider.write(String key, NbtCompound compound)
Methods in net.minecraft.data with parameters of type NbtCompoundModifier and TypeMethodDescriptionSnbtProvider.Tweaker.write(String name, NbtCompound nbt)
private NbtCompound
SnbtProvider.write(String key, NbtCompound compound)
-
Uses of NbtCompound in net.minecraft.data.validate
Methods in net.minecraft.data.validate that return NbtCompoundModifier and TypeMethodDescriptionprivate static NbtCompound
StructureValidatorProvider.addDataVersion(NbtCompound nbt)
private static NbtCompound
StructureValidatorProvider.internalUpdate(String name, NbtCompound nbt)
static NbtCompound
StructureValidatorProvider.update(String name, NbtCompound nbt)
StructureValidatorProvider.write(String name, NbtCompound nbt)
Methods in net.minecraft.data.validate with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate static NbtCompound
StructureValidatorProvider.addDataVersion(NbtCompound nbt)
private static NbtCompound
StructureValidatorProvider.internalUpdate(String name, NbtCompound nbt)
static NbtCompound
StructureValidatorProvider.update(String name, NbtCompound nbt)
StructureValidatorProvider.write(String name, NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.entity
Fields in net.minecraft.entity declared as NbtCompoundMethods in net.minecraft.entity that return NbtCompoundMethods in net.minecraft.entity with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic void
Bucketable.copyDataFromNbt(MobEntity entity, NbtCompound nbt)
void
Bucketable.copyDataFromNbt(NbtCompound nbt)
EntityType.create(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, 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 void
EntityType.loadFromEntityNbt(World world, @Nullable PlayerEntity player, @Nullable Entity entity, @Nullable NbtCompound itemNbt)
protected void
AreaEffectCloudEntity.readCustomDataFromNbt(NbtCompound nbt)
protected abstract void
Entity.readCustomDataFromNbt(NbtCompound nbt)
void
ExperienceOrbEntity.readCustomDataFromNbt(NbtCompound nbt)
void
EyeOfEnderEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
FallingBlockEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ItemEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
LightningEntity.readCustomDataFromNbt(NbtCompound nbt)
void
LivingEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
TntEntity.readCustomDataFromNbt(NbtCompound nbt)
void
Entity.readNbt(NbtCompound nbt)
void
SaddledComponent.readNbt(NbtCompound nbt)
boolean
Entity.saveNbt(NbtCompound nbt)
boolean
Entity.saveSelfNbt(NbtCompound nbt)
EntityType.spawn(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
protected void
AreaEffectCloudEntity.writeCustomDataToNbt(NbtCompound nbt)
protected abstract void
Entity.writeCustomDataToNbt(NbtCompound nbt)
void
ExperienceOrbEntity.writeCustomDataToNbt(NbtCompound nbt)
void
EyeOfEnderEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
FallingBlockEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ItemEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
LightningEntity.writeCustomDataToNbt(NbtCompound nbt)
void
LivingEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
TntEntity.writeCustomDataToNbt(NbtCompound nbt)
Entity.writeNbt(NbtCompound nbt)
void
SaddledComponent.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 EntityAttributeModifier
EntityAttributeModifier.fromNbt(NbtCompound nbt)
void
EntityAttributeInstance.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 CommandBossBar
CommandBossBar.fromNbt(NbtCompound nbt, Identifier id)
void
WitherEntity.readCustomDataFromNbt(NbtCompound nbt)
void
BossBarManager.readNbt(NbtCompound nbt)
void
WitherEntity.writeCustomDataToNbt(NbtCompound nbt)
-
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 TypeMethodDescriptionvoid
EnderDragonEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
EnderDragonPart.readCustomDataFromNbt(NbtCompound nbt)
void
EnderDragonEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
EnderDragonPart.writeCustomDataToNbt(NbtCompound nbt)
Constructors in net.minecraft.entity.boss.dragon with parameters of type NbtCompoundModifierConstructorDescriptionEnderDragonFight(ServerWorld world, long gatewaysSeed, NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type NbtCompoundModifier and TypeFieldDescriptionstatic TrackedDataHandler<NbtCompound>
TrackedDataHandlerRegistry.TAG_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 TypeMethodDescriptionvoid
AbstractDecorationEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ArmorStandEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
EndCrystalEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ItemFrameEntity.readCustomDataFromNbt(NbtCompound nbt)
void
LeashKnotEntity.readCustomDataFromNbt(NbtCompound nbt)
private void
ArmorStandEntity.readPoseNbt(NbtCompound nbt)
void
AbstractDecorationEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ArmorStandEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
EndCrystalEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ItemFrameEntity.writeCustomDataToNbt(NbtCompound nbt)
void
LeashKnotEntity.writeCustomDataToNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.entity.decoration.painting
Methods in net.minecraft.entity.decoration.painting with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoid
PaintingEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PaintingEntity.writeCustomDataToNbt(NbtCompound nbt)
-
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 StatusEffectInstance
StatusEffectInstance.fromNbt(StatusEffect type, NbtCompound nbt)
static @Nullable StatusEffectInstance
StatusEffectInstance.fromNbt(NbtCompound nbt)
StatusEffectInstance.writeNbt(NbtCompound nbt)
private void
StatusEffectInstance.writeTypelessNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as NbtCompoundModifier and TypeFieldDescriptionprivate @Nullable NbtCompound
MobEntity.leashNbt
private NbtCompound
ZombieVillagerEntity.offerData
Methods 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)
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 void
Angerable.readAngerFromNbt(World world, NbtCompound nbt)
void
AbstractPiglinEntity.readCustomDataFromNbt(NbtCompound nbt)
void
AbstractSkeletonEntity.readCustomDataFromNbt(NbtCompound nbt)
void
CreeperEntity.readCustomDataFromNbt(NbtCompound nbt)
void
EndermanEntity.readCustomDataFromNbt(NbtCompound nbt)
void
EndermiteEntity.readCustomDataFromNbt(NbtCompound nbt)
void
EvokerEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
EvokerFangsEntity.readCustomDataFromNbt(NbtCompound nbt)
void
GhastEntity.readCustomDataFromNbt(NbtCompound nbt)
void
HoglinEntity.readCustomDataFromNbt(NbtCompound nbt)
void
MobEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PatrolEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PhantomEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PiglinEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PillagerEntity.readCustomDataFromNbt(NbtCompound nbt)
void
RavagerEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ShulkerEntity.readCustomDataFromNbt(NbtCompound nbt)
void
SkeletonEntity.readCustomDataFromNbt(NbtCompound nbt)
void
SkeletonHorseEntity.readCustomDataFromNbt(NbtCompound nbt)
void
SlimeEntity.readCustomDataFromNbt(NbtCompound nbt)
void
SpellcastingIllagerEntity.readCustomDataFromNbt(NbtCompound nbt)
void
VexEntity.readCustomDataFromNbt(NbtCompound nbt)
void
VindicatorEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ZoglinEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ZombieEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ZombieVillagerEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ZombifiedPiglinEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ZombieVillagerEntity.setOfferData(NbtCompound offerTag)
default void
Angerable.writeAngerToNbt(NbtCompound nbt)
void
AbstractPiglinEntity.writeCustomDataToNbt(NbtCompound nbt)
void
CreeperEntity.writeCustomDataToNbt(NbtCompound nbt)
void
EndermanEntity.writeCustomDataToNbt(NbtCompound nbt)
void
EndermiteEntity.writeCustomDataToNbt(NbtCompound nbt)
void
EvokerEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
EvokerFangsEntity.writeCustomDataToNbt(NbtCompound nbt)
void
GhastEntity.writeCustomDataToNbt(NbtCompound nbt)
void
HoglinEntity.writeCustomDataToNbt(NbtCompound nbt)
void
MobEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PatrolEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PhantomEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PiglinEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PillagerEntity.writeCustomDataToNbt(NbtCompound nbt)
void
RavagerEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ShulkerEntity.writeCustomDataToNbt(NbtCompound nbt)
void
SkeletonEntity.writeCustomDataToNbt(NbtCompound nbt)
void
SkeletonHorseEntity.writeCustomDataToNbt(NbtCompound nbt)
void
SlimeEntity.writeCustomDataToNbt(NbtCompound nbt)
void
SpellcastingIllagerEntity.writeCustomDataToNbt(NbtCompound nbt)
void
VexEntity.writeCustomDataToNbt(NbtCompound nbt)
void
VindicatorEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ZoglinEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ZombieEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ZombieVillagerEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ZombifiedPiglinEntity.writeCustomDataToNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoid
AxolotlEntity.copyDataFromNbt(NbtCompound nbt)
void
FishEntity.copyDataFromNbt(NbtCompound nbt)
void
TropicalFishEntity.copyDataFromNbt(NbtCompound nbt)
AxolotlEntity.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)
GoatEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt)
HorseBaseEntity.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)
void
AbstractDonkeyEntity.readCustomDataFromNbt(NbtCompound nbt)
void
AnimalEntity.readCustomDataFromNbt(NbtCompound nbt)
void
AxolotlEntity.readCustomDataFromNbt(NbtCompound nbt)
void
BatEntity.readCustomDataFromNbt(NbtCompound nbt)
void
BeeEntity.readCustomDataFromNbt(NbtCompound nbt)
void
CatEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ChickenEntity.readCustomDataFromNbt(NbtCompound nbt)
void
DolphinEntity.readCustomDataFromNbt(NbtCompound nbt)
void
FishEntity.readCustomDataFromNbt(NbtCompound nbt)
void
FoxEntity.readCustomDataFromNbt(NbtCompound nbt)
void
GlowSquidEntity.readCustomDataFromNbt(NbtCompound nbt)
void
GoatEntity.readCustomDataFromNbt(NbtCompound nbt)
void
HorseBaseEntity.readCustomDataFromNbt(NbtCompound nbt)
void
HorseEntity.readCustomDataFromNbt(NbtCompound nbt)
void
IronGolemEntity.readCustomDataFromNbt(NbtCompound nbt)
void
LlamaEntity.readCustomDataFromNbt(NbtCompound nbt)
void
MerchantEntity.readCustomDataFromNbt(NbtCompound nbt)
void
MooshroomEntity.readCustomDataFromNbt(NbtCompound nbt)
void
OcelotEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PandaEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ParrotEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PassiveEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PigEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PolarBearEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PufferfishEntity.readCustomDataFromNbt(NbtCompound nbt)
void
RabbitEntity.readCustomDataFromNbt(NbtCompound nbt)
void
SheepEntity.readCustomDataFromNbt(NbtCompound nbt)
void
SnowGolemEntity.readCustomDataFromNbt(NbtCompound nbt)
void
StriderEntity.readCustomDataFromNbt(NbtCompound nbt)
void
TameableEntity.readCustomDataFromNbt(NbtCompound nbt)
void
TraderLlamaEntity.readCustomDataFromNbt(NbtCompound nbt)
void
TropicalFishEntity.readCustomDataFromNbt(NbtCompound nbt)
void
TurtleEntity.readCustomDataFromNbt(NbtCompound nbt)
void
VillagerEntity.readCustomDataFromNbt(NbtCompound nbt)
void
WanderingTraderEntity.readCustomDataFromNbt(NbtCompound nbt)
void
WolfEntity.readCustomDataFromNbt(NbtCompound nbt)
void
AbstractDonkeyEntity.writeCustomDataToNbt(NbtCompound nbt)
void
AnimalEntity.writeCustomDataToNbt(NbtCompound nbt)
void
AxolotlEntity.writeCustomDataToNbt(NbtCompound nbt)
void
BatEntity.writeCustomDataToNbt(NbtCompound nbt)
void
BeeEntity.writeCustomDataToNbt(NbtCompound nbt)
void
CatEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ChickenEntity.writeCustomDataToNbt(NbtCompound nbt)
void
DolphinEntity.writeCustomDataToNbt(NbtCompound nbt)
void
FishEntity.writeCustomDataToNbt(NbtCompound nbt)
void
FoxEntity.writeCustomDataToNbt(NbtCompound nbt)
void
GlowSquidEntity.writeCustomDataToNbt(NbtCompound nbt)
void
GoatEntity.writeCustomDataToNbt(NbtCompound nbt)
void
HorseBaseEntity.writeCustomDataToNbt(NbtCompound nbt)
void
HorseEntity.writeCustomDataToNbt(NbtCompound nbt)
void
IronGolemEntity.writeCustomDataToNbt(NbtCompound nbt)
void
LlamaEntity.writeCustomDataToNbt(NbtCompound nbt)
void
MerchantEntity.writeCustomDataToNbt(NbtCompound nbt)
void
MooshroomEntity.writeCustomDataToNbt(NbtCompound nbt)
void
OcelotEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PandaEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ParrotEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PassiveEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PigEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PolarBearEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PufferfishEntity.writeCustomDataToNbt(NbtCompound nbt)
void
RabbitEntity.writeCustomDataToNbt(NbtCompound nbt)
void
SheepEntity.writeCustomDataToNbt(NbtCompound nbt)
void
SnowGolemEntity.writeCustomDataToNbt(NbtCompound nbt)
void
StriderEntity.writeCustomDataToNbt(NbtCompound nbt)
void
TameableEntity.writeCustomDataToNbt(NbtCompound nbt)
void
TraderLlamaEntity.writeCustomDataToNbt(NbtCompound nbt)
void
TropicalFishEntity.writeCustomDataToNbt(NbtCompound nbt)
void
TurtleEntity.writeCustomDataToNbt(NbtCompound nbt)
void
VillagerEntity.writeCustomDataToNbt(NbtCompound nbt)
void
WanderingTraderEntity.writeCustomDataToNbt(NbtCompound nbt)
void
WolfEntity.writeCustomDataToNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.entity.player
Fields in net.minecraft.entity.player with type parameters of type NbtCompoundModifier and TypeFieldDescriptionprotected static TrackedData<NbtCompound>
PlayerEntity.LEFT_SHOULDER_ENTITY
protected static TrackedData<NbtCompound>
PlayerEntity.RIGHT_SHOULDER_ENTITY
Methods 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 TypeMethodDescriptionboolean
PlayerEntity.addShoulderEntity(NbtCompound entityNbt)
private void
PlayerEntity.dropShoulderEntity(NbtCompound entityNbt)
void
PlayerEntity.readCustomDataFromNbt(NbtCompound nbt)
void
HungerManager.readNbt(NbtCompound nbt)
void
PlayerAbilities.readNbt(NbtCompound nbt)
protected void
PlayerEntity.setShoulderEntityLeft(NbtCompound entityNbt)
protected void
PlayerEntity.setShoulderEntityRight(NbtCompound entityNbt)
private void
PlayerEntity.updateShoulderEntity(@Nullable NbtCompound entityNbt)
void
PlayerEntity.writeCustomDataToNbt(NbtCompound nbt)
void
HungerManager.writeNbt(NbtCompound nbt)
void
PlayerAbilities.writeNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoid
AbstractFireballEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ArrowEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ExplosiveProjectileEntity.readCustomDataFromNbt(NbtCompound nbt)
void
FireballEntity.readCustomDataFromNbt(NbtCompound nbt)
void
FireworkRocketEntity.readCustomDataFromNbt(NbtCompound nbt)
void
FishingBobberEntity.readCustomDataFromNbt(NbtCompound nbt)
void
PersistentProjectileEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
ProjectileEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
ShulkerBulletEntity.readCustomDataFromNbt(NbtCompound nbt)
void
SpectralArrowEntity.readCustomDataFromNbt(NbtCompound nbt)
void
TridentEntity.readCustomDataFromNbt(NbtCompound nbt)
void
AbstractFireballEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ArrowEntity.writeCustomDataToNbt(NbtCompound nbt)
void
ExplosiveProjectileEntity.writeCustomDataToNbt(NbtCompound nbt)
void
FireballEntity.writeCustomDataToNbt(NbtCompound nbt)
void
FireworkRocketEntity.writeCustomDataToNbt(NbtCompound nbt)
void
FishingBobberEntity.writeCustomDataToNbt(NbtCompound nbt)
void
PersistentProjectileEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
ProjectileEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
ShulkerBulletEntity.writeCustomDataToNbt(NbtCompound nbt)
void
SpectralArrowEntity.writeCustomDataToNbt(NbtCompound nbt)
void
TridentEntity.writeCustomDataToNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoid
ThrownItemEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ThrownItemEntity.writeCustomDataToNbt(NbtCompound nbt)
-
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)
void
RaiderEntity.readCustomDataFromNbt(NbtCompound nbt)
void
RaiderEntity.writeCustomDataToNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type NbtCompoundModifier and TypeMethodDescriptionprotected void
AbstractMinecartEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
BoatEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
CommandBlockMinecartEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
FurnaceMinecartEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
HopperMinecartEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
SpawnerMinecartEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
StorageMinecartEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
TntMinecartEntity.readCustomDataFromNbt(NbtCompound nbt)
protected void
AbstractMinecartEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
BoatEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
CommandBlockMinecartEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
FurnaceMinecartEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
HopperMinecartEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
SpawnerMinecartEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
StorageMinecartEntity.writeCustomDataToNbt(NbtCompound nbt)
protected void
TntMinecartEntity.writeCustomDataToNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.inventory
Methods in net.minecraft.inventory that return NbtCompoundModifier and TypeMethodDescriptionstatic NbtCompound
Inventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks)
static NbtCompound
Inventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty)
Methods in net.minecraft.inventory with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic ContainerLock
ContainerLock.fromNbt(NbtCompound nbt)
Creates a newContainerLock
from theLock
key of the NBT compound.static void
Inventories.readNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks)
void
ContainerLock.writeNbt(NbtCompound nbt)
Inserts the key string of this lock into theLock
key of the NBT compound.static NbtCompound
Inventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks)
static NbtCompound
Inventories.writeNbt(NbtCompound nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty)
-
Uses of NbtCompound in net.minecraft.item
Fields in net.minecraft.item declared as NbtCompoundMethods in net.minecraft.item that return NbtCompoundModifier and TypeMethodDescriptionItemStack.getOrCreateSubTag(String key)
ItemStack.getOrCreateTag()
ItemStack.getTag()
ItemStack.writeNbt(NbtCompound nbt)
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 void
FireworkChargeItem.appendFireworkTooltip(NbtCompound nbt, List<Text> tooltip)
static ItemStack
ItemStack.fromNbt(NbtCompound nbt)
EntityType<?>
SpawnEggItem.getEntityType(@Nullable NbtCompound nbt)
static Optional<RegistryKey<World>>
CompassItem.getLodestoneDimension(NbtCompound nbt)
boolean
SpawnEggItem.isOfSameEntityType(@Nullable NbtCompound nbt, EntityType<?> type)
static boolean
WritableBookItem.isValid(@Nullable NbtCompound nbt)
static boolean
WrittenBookItem.isValid(@Nullable NbtCompound nbt)
boolean
Item.postProcessNbt(NbtCompound nbt)
boolean
SkullItem.postProcessNbt(NbtCompound nbt)
void
ItemStack.setTag(@Nullable NbtCompound tag)
private void
CompassItem.writeNbt(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt)
ItemStack.writeNbt(NbtCompound nbt)
Constructors in net.minecraft.item with parameters of type NbtCompoundConstructor parameters in net.minecraft.item with type arguments of type NbtCompoundModifierConstructorDescriptionprivate
ItemStack(ItemConvertible item, int count, Optional<NbtCompound> tag)
-
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 MapBannerMarker
MapBannerMarker.fromNbt(NbtCompound nbt)
static MapFrameMarker
MapFrameMarker.fromNbt(NbtCompound nbt)
static MapState
MapState.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)
Constructors in net.minecraft.loot.function with parameters of type NbtCompoundModifierConstructorDescriptionprivate
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 com.mojang.serialization.Codec<NbtCompound>
NbtCompound.CODEC
static NbtType<NbtCompound>
NbtCompound.TYPE
Methods in net.minecraft.nbt that return NbtCompoundModifier and TypeMethodDescriptionprotected NbtCompound
NbtOps.MapBuilder.append(String string, NbtElement nbtElement, NbtCompound nbtCompound)
NbtCompound.copy()
NbtCompound.copyFrom(NbtCompound source)
static NbtCompound
NbtHelper.fromBlockPos(BlockPos pos)
static NbtCompound
NbtHelper.fromBlockState(BlockState state)
NbtCompound.getCompound(String key)
NbtList.getCompound(int index)
protected NbtCompound
NbtOps.MapBuilder.initBuilder()
static NbtCompound
NbtHelper.method_32260(String string)
(package private) static NbtCompound
NbtHelper.method_32267(String string)
(package private) static NbtCompound
NbtHelper.method_32273(NbtCompound compound)
(package private) static NbtCompound
NbtHelper.method_32275(NbtCompound compound)
static NbtCompound
NbtHelper.method_36115(FluidState fluidState)
static NbtCompound
StringNbtReader.parseCompound()
static NbtCompound
static NbtCompound
NbtIo.read(DataInput input, NbtTagSizeTracker tracker)
static @Nullable NbtCompound
(package private) NbtCompound
StringNbtReader.readCompound()
static NbtCompound
NbtIo.readCompressed(File file)
static NbtCompound
NbtIo.readCompressed(InputStream stream)
static NbtCompound
NbtHelper.update(com.mojang.datafixers.DataFixer fixer, DataFixTypes fixTypes, NbtCompound compound, int oldVersion)
Uses the data fixer to update an NBT compound object to the latest data version.static NbtCompound
NbtHelper.update(com.mojang.datafixers.DataFixer fixer, DataFixTypes fixTypes, NbtCompound compound, int oldVersion, int targetVersion)
Uses the data fixer to update an NBT compound object.static NbtCompound
NbtHelper.writeGameProfile(NbtCompound compound, com.mojang.authlib.GameProfile profile)
Methods in net.minecraft.nbt that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionNbtCompound.getNbtType()
Gets the NBT type definition of this NBT element.Methods in net.minecraft.nbt with parameters of type NbtCompoundModifier and TypeMethodDescriptionprotected NbtCompound
NbtOps.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)
(package private) static NbtCompound
NbtHelper.method_32273(NbtCompound compound)
(package private) static NbtCompound
NbtHelper.method_32275(NbtCompound compound)
(package private) static String
NbtHelper.method_32277(NbtCompound compound)
static BlockPos
NbtHelper.toBlockPos(NbtCompound compound)
static BlockState
NbtHelper.toBlockState(NbtCompound compound)
static @Nullable com.mojang.authlib.GameProfile
NbtHelper.toGameProfile(NbtCompound compound)
static String
NbtHelper.toPrettyPrintedString(NbtCompound compound)
static NbtCompound
NbtHelper.update(com.mojang.datafixers.DataFixer fixer, DataFixTypes fixTypes, NbtCompound compound, int oldVersion)
Uses the data fixer to update an NBT compound object to the latest data version.static NbtCompound
NbtHelper.update(com.mojang.datafixers.DataFixer fixer, DataFixTypes fixTypes, NbtCompound compound, int oldVersion, int targetVersion)
Uses the data fixer to update an NBT compound object.private static <S extends State<?, S>, T extends Comparable<T>>
SNbtHelper.withProperty(S state, Property<T> property, String key, NbtCompound properties, NbtCompound root)
static void
NbtIo.write(NbtCompound compound, DataOutput output)
static void
NbtIo.write(NbtCompound compound, File file)
static void
NbtIo.writeCompressed(NbtCompound compound, File file)
static void
NbtIo.writeCompressed(NbtCompound compound, OutputStream stream)
static NbtCompound
NbtHelper.writeGameProfile(NbtCompound compound, com.mojang.authlib.GameProfile profile)
-
Uses of NbtCompound in net.minecraft.nbt.visitor
Methods in net.minecraft.nbt.visitor with parameters of type NbtCompoundModifier and TypeMethodDescriptionNbtOrderedStringFormatter.getSortedNames(NbtCompound compound)
void
NbtElementVisitor.visitCompound(NbtCompound compound)
void
NbtOrderedStringFormatter.visitCompound(NbtCompound compound)
void
NbtTextFormatter.visitCompound(NbtCompound compound)
void
StringNbtWriter.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 NbtCompound
ChunkDataS2CPacket.heightmaps
private NbtCompound
BlockEntityUpdateS2CPacket.nbt
private @Nullable NbtCompound
NbtQueryResponseS2CPacket.nbt
Fields in net.minecraft.network.packet.s2c.play with type parameters of type NbtCompoundMethods in net.minecraft.network.packet.s2c.play that return NbtCompoundModifier and TypeMethodDescriptionChunkDataS2CPacket.getHeightmaps()
BlockEntityUpdateS2CPacket.getNbt()
NbtQueryResponseS2CPacket.getNbt()
Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type NbtCompoundConstructors in net.minecraft.network.packet.s2c.play with parameters of type NbtCompoundModifierConstructorDescriptionBlockEntityUpdateS2CPacket(BlockPos pos, int 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 void
PotionUtil.getCustomPotionEffects(@Nullable NbtCompound nbt, List<StatusEffectInstance> list)
static Potion
PotionUtil.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 RecipeBookOptions
RecipeBookOptions.fromNbt(NbtCompound nbt)
void
RecipeBookOptions.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 void
ScoreboardState.readDisplaySlotsNbt(NbtCompound nbt)
ScoreboardState.readNbt(NbtCompound nbt)
ServerScoreboard.stateFromNbt(NbtCompound nbt)
private void
ScoreboardState.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 NbtCompoundMethods in net.minecraft.server.command with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate static int
SummonCommand.execute(ServerCommandSource source, Identifier entity, Vec3d pos, NbtCompound nbt, boolean initialize)
private static int
DataCommand.executeInsert(int integer, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements)
private static int
DataCommand.executeMerge(ServerCommandSource source, DataCommandObject object, NbtCompound nbt)
int
DataCommand.ModifyOperation.modify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements)
Constructors in net.minecraft.server.command with parameters of type NbtCompoundModifierConstructorDescriptionBlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound blockEntityTag)
-
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)
void
ServerPlayerEntity.readCustomDataFromNbt(NbtCompound nbt)
void
ServerRecipeBook.readNbt(NbtCompound nbt, RecipeManager recipeManager)
void
ServerPlayerEntity.setGameMode(@Nullable NbtCompound nbt)
void
ServerPlayerEntity.writeCustomDataToNbt(NbtCompound nbt)
private void
ServerPlayerEntity.writeGameModeNbt(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.server.world
Methods in net.minecraft.server.world that return NbtCompoundModifier and TypeMethodDescriptionprivate @Nullable NbtCompound
ThreadedAnvilChunkStorage.getUpdatedChunkNbt(ChunkPos pos)
Method parameters in net.minecraft.server.world with type arguments of type NbtCompoundModifier and TypeMethodDescriptionprivate static void
ThreadedAnvilChunkStorage.method_31413(ServerWorld serverWorld, List<NbtCompound> list)
-
Uses of NbtCompound in net.minecraft.stat
Methods in net.minecraft.stat that return NbtCompoundModifier and TypeMethodDescriptionprivate static NbtCompound
ServerStatHandler.jsonToCompound(JsonObject json)
-
Uses of NbtCompound in net.minecraft.structure
Fields in net.minecraft.structure declared as NbtCompoundModifier and TypeFieldDescriptionStructure.StructureBlockInfo.nbt
Structure.StructureEntityInfo.nbt
Methods in net.minecraft.structure that return NbtCompoundModifier and TypeMethodDescriptionStructurePiece.toNbt(ServerWorld world)
StructureStart.toNbt(ServerWorld world, ChunkPos chunkPos)
Structure.writeNbt(NbtCompound nbt)
Methods in net.minecraft.structure with parameters of type NbtCompoundModifier and TypeMethodDescriptionStructureManager.createStructure(NbtCompound nbt)
Structure.getEntity(ServerWorldAccess world, NbtCompound nbt)
StructurePieceType.load(ServerWorld world, NbtCompound nbt)
private static StructurePlacementData
RuinedPortalStructurePiece.method_35449(ServerWorld world, NbtCompound nbt, Identifier id)
void
Structure.readNbt(NbtCompound nbt)
protected void
BuriedTreasureGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
DesertTempleGenerator.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
EndCityGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
IglooGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
JungleTempleGenerator.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
MineshaftGenerator.MineshaftCorridor.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
MineshaftGenerator.MineshaftCrossing.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
MineshaftGenerator.MineshaftPart.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
MineshaftGenerator.MineshaftRoom.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
NetherFortressGenerator.BridgeEnd.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
NetherFortressGenerator.BridgePlatform.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
NetherFortressGenerator.CorridorLeftTurn.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
NetherFortressGenerator.CorridorRightTurn.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
NetherFortressGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
NetherFossilGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
OceanMonumentGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
OceanRuinGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
PoolStructurePiece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
RuinedPortalStructurePiece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
ShipwreckGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
SimpleStructurePiece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StrongholdGenerator.ChestCorridor.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StrongholdGenerator.Corridor.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StrongholdGenerator.FiveWayCrossing.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StrongholdGenerator.Library.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StrongholdGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StrongholdGenerator.PortalRoom.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StrongholdGenerator.SmallCorridor.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StrongholdGenerator.SpiralStaircase.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StrongholdGenerator.SquareRoom.writeNbt(ServerWorld world, NbtCompound nbt)
Structure.writeNbt(NbtCompound nbt)
protected abstract void
StructurePiece.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
StructurePieceWithDimensions.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
SwampHutGenerator.writeNbt(ServerWorld world, NbtCompound nbt)
protected void
WoodlandMansionGenerator.Piece.writeNbt(ServerWorld world, NbtCompound nbt)
Constructors in net.minecraft.structure with parameters of type NbtCompoundModifierConstructorDescriptionBase(ServerWorld serverWorld, NbtCompound nbt)
Bridge(ServerWorld serverWorld, NbtCompound nbt)
BridgeCrossing(ServerWorld serverWorld, NbtCompound nbt)
protected
BridgeCrossing(StructurePieceType type, NbtCompound nbt)
BridgeEnd(ServerWorld serverWorld, NbtCompound nbt)
BridgePlatform(ServerWorld serverWorld, NbtCompound nbt)
BridgeSmallCrossing(ServerWorld serverWorld, NbtCompound nbt)
BridgeStairs(ServerWorld serverWorld, NbtCompound nbt)
ChestCorridor(ServerWorld serverWorld, NbtCompound nbt)
CoreRoom(ServerWorld serverWorld, NbtCompound nbt)
Corridor(ServerWorld serverWorld, NbtCompound nbt)
CorridorBalcony(ServerWorld serverWorld, NbtCompound nbt)
CorridorCrossing(ServerWorld serverWorld, NbtCompound nbt)
CorridorExit(ServerWorld serverWorld, NbtCompound nbt)
CorridorLeftTurn(ServerWorld serverWorld, NbtCompound nbt)
CorridorNetherWartsRoom(ServerWorld serverWorld, NbtCompound nbt)
CorridorRightTurn(ServerWorld serverWorld, NbtCompound nbt)
CorridorStairs(ServerWorld serverWorld, NbtCompound nbt)
DesertTempleGenerator(ServerWorld world, NbtCompound nbt)
DoubleXRoom(ServerWorld serverWorld, NbtCompound nbt)
DoubleXYRoom(ServerWorld serverWorld, NbtCompound nbt)
DoubleYRoom(ServerWorld serverWorld, NbtCompound nbtCompound)
DoubleYZRoom(ServerWorld serverWorld, NbtCompound nbt)
DoubleZRoom(ServerWorld serverWorld, NbtCompound nbt)
Entry(ServerWorld serverWorld, NbtCompound nbt)
FiveWayCrossing(ServerWorld serverWorld, NbtCompound nbt)
JungleTempleGenerator(ServerWorld world, NbtCompound nbt)
LeftTurn(ServerWorld serverWorld, NbtCompound nbt)
Library(ServerWorld serverWorld, NbtCompound nbt)
MineshaftCorridor(ServerWorld serverWorld, NbtCompound nbt)
MineshaftCrossing(ServerWorld serverWorld, NbtCompound nbt)
MineshaftPart(StructurePieceType type, NbtCompound nbt)
MineshaftRoom(ServerWorld serverWorld, NbtCompound nbt)
MineshaftStairs(ServerWorld serverWorld, NbtCompound nbt)
Penthouse(ServerWorld serverWorld, NbtCompound nbt)
Piece(ServerWorld world, NbtCompound nbt)
Piece(ServerWorld serverWorld, NbtCompound nbtCompound)
Piece(ServerWorld world, NbtCompound nbt)
Piece(StructurePieceType type, NbtCompound nbt)
Piece(ServerWorld world, NbtCompound nbt)
Piece(StructurePieceType type, NbtCompound nbt)
Piece(ServerWorld world, NbtCompound nbt)
Piece(ServerWorld world, NbtCompound nbt)
Piece(StructurePieceType type, NbtCompound nbt)
Piece(ServerWorld serverWorld, NbtCompound nbt)
PoolStructurePiece(ServerWorld world, NbtCompound nbt)
PortalRoom(ServerWorld serverWorld, NbtCompound nbt)
PrisonHall(ServerWorld serverWorld, NbtCompound nbt)
RightTurn(ServerWorld serverWorld, NbtCompound nbt)
RuinedPortalStructurePiece(ServerWorld world, NbtCompound nbt)
SimpleRoom(ServerWorld serverWorld, NbtCompound nbt)
SimpleRoomTop(ServerWorld serverWorld, NbtCompound nbt)
SimpleStructurePiece(StructurePieceType structurePieceType, NbtCompound nbtCompound, ServerWorld serverWorld, Function<Identifier,StructurePlacementData> function)
SmallCorridor(ServerWorld serverWorld, NbtCompound nbt)
SmallCorridor(ServerWorld serverWorld, NbtCompound nbt)
SpiralStaircase(ServerWorld serverWorld, NbtCompound nbt)
SpiralStaircase(StructurePieceType type, NbtCompound nbt)
SquareRoom(ServerWorld serverWorld, NbtCompound nbt)
Stairs(ServerWorld serverWorld, NbtCompound nbt)
Start(ServerWorld serverWorld, NbtCompound nbt)
Start(ServerWorld serverWorld, NbtCompound nbt)
StructureBlockInfo(BlockPos pos, BlockState state, @Nullable NbtCompound nbt)
StructureEntityInfo(Vec3d pos, BlockPos blockPos, NbtCompound nbt)
StructurePiece(StructurePieceType type, NbtCompound nbt)
protected
SwampHutGenerator(ServerWorld world, NbtCompound nbt)
Turn(StructurePieceType type, NbtCompound nbt)
WingRoom(ServerWorld world, 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 NbtCompound
FeaturePoolElement.createDefaultJigsawNbt()
-
Uses of NbtCompound in net.minecraft.structure.processor
Fields in net.minecraft.structure.processor declared as NbtCompoundMethods in net.minecraft.structure.processor that return NbtCompoundConstructor parameters in net.minecraft.structure.processor with type arguments of type NbtCompoundModifierConstructorDescriptionStructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState outputState, Optional<NbtCompound> nbt)
-
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 NbtCompoundMethods in net.minecraft.text that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionprotected Stream<NbtCompound>
NbtText.BlockNbtText.toNbt(ServerCommandSource source)
protected Stream<NbtCompound>
NbtText.EntityNbtText.toNbt(ServerCommandSource source)
protected Stream<NbtCompound>
NbtText.StorageNbtText.toNbt(ServerCommandSource source)
protected abstract Stream<NbtCompound>
NbtText.toNbt(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 RaidManager
RaidManager.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 NbtCompoundFields in net.minecraft.world with type parameters of type NbtCompoundModifier and TypeFieldDescriptionprivate Map<String,Long2ObjectMap<NbtCompound>>
FeatureUpdater.featureIdToChunkNbt
Methods in net.minecraft.world that return NbtCompoundModifier and TypeMethodDescriptionSaveProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt)
SaveProperties.getCustomBossEvents()
SaveProperties.getDragonFight()
MobSpawnerEntry.getEntityNbt()
SaveProperties.getPlayerData()
FeatureUpdater.getUpdatedReferences(NbtCompound nbtCompound)
private NbtCompound
FeatureUpdater.getUpdatedStarts(NbtCompound nbt, ChunkPos pos)
WorldSaveHandler.loadPlayerData(PlayerEntity player)
static NbtCompound
ChunkSerializer.serialize(ServerWorld world, Chunk chunk)
GameRules.toNbt()
MobSpawnerEntry.toNbt()
ChunkUpdateState.writeNbt(NbtCompound nbt)
CommandBlockExecutor.writeNbt(NbtCompound nbt)
ForcedChunkState.writeNbt(NbtCompound nbt)
IdCountsState.writeNbt(NbtCompound nbt)
MobSpawnerLogic.writeNbt(@Nullable World world, BlockPos pos, NbtCompound nbt)
abstract NbtCompound
PersistentState.writeNbt(NbtCompound nbt)
private static NbtCompound
ChunkSerializer.writeStructures(ServerWorld world, ChunkPos chunkPos, Map<StructureFeature<?>,StructureStart<?>> map, Map<StructureFeature<?>,LongSet> map2)
Methods in net.minecraft.world with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoid
World.addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable NbtCompound nbt)
SaveProperties.cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt)
static ProtoChunk
ChunkSerializer.deserialize(ServerWorld world, StructureManager structureManager, PointOfInterestStorage poiStorage, ChunkPos pos, NbtCompound nbt)
static ChunkUpdateState
ChunkUpdateState.fromNbt(NbtCompound nbt)
static ForcedChunkState
ForcedChunkState.fromNbt(NbtCompound nbt)
static IdCountsState
IdCountsState.fromNbt(NbtCompound nbt)
static ChunkStatus.ChunkType
ChunkSerializer.getChunkType(@Nullable NbtCompound nbt)
FeatureUpdater.getUpdatedReferences(NbtCompound nbtCompound)
private NbtCompound
FeatureUpdater.getUpdatedStarts(NbtCompound nbt, ChunkPos pos)
private static void
ChunkSerializer.loadEntities(ServerWorld world, NbtCompound nbt, WorldChunk chunk)
void
CommandBlockExecutor.readNbt(NbtCompound nbt)
void
MobSpawnerLogic.readNbt(@Nullable World world, BlockPos pos, NbtCompound nbt)
private static Map<StructureFeature<?>,LongSet>
ChunkSerializer.readStructureReferences(ChunkPos pos, NbtCompound nbt)
private static Map<StructureFeature<?>,StructureStart<?>>
ChunkSerializer.readStructureStarts(ServerWorld serverWorld, NbtCompound nbt, long worldSeed)
void
SaveProperties.setCustomBossEvents(@Nullable NbtCompound nbt)
void
SaveProperties.setDragonFight(NbtCompound nbt)
ChunkUpdateState.writeNbt(NbtCompound nbt)
CommandBlockExecutor.writeNbt(NbtCompound nbt)
ForcedChunkState.writeNbt(NbtCompound nbt)
IdCountsState.writeNbt(NbtCompound nbt)
MobSpawnerLogic.writeNbt(@Nullable World world, BlockPos pos, NbtCompound nbt)
abstract NbtCompound
PersistentState.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> function, String id)
<T extends PersistentState>
TPersistentStateManager.getOrCreate(Function<NbtCompound,T> function, Supplier<T> supplier, String string)
private <T extends PersistentState>
TPersistentStateManager.readFromFile(Function<NbtCompound,T> function, String id)
Constructors in net.minecraft.world with parameters of type NbtCompoundModifierConstructorDescriptionMobSpawnerEntry(int weight, NbtCompound entityNbt)
MobSpawnerEntry(NbtCompound nbt)
-
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 TypeFieldDescriptionprivate Map<BlockPos,NbtCompound>
ProtoChunk.blockEntityTags
private Function<NbtCompound,T>
BiMapPalette.elementDeserializer
private Function<NbtCompound,T>
PalettedContainer.elementDeserializer
private Function<T,NbtCompound>
BiMapPalette.elementSerializer
private Function<T,NbtCompound>
PalettedContainer.elementSerializer
private List<NbtCompound>
ProtoChunk.entities
private Map<BlockPos,NbtCompound>
WorldChunk.pendingBlockEntityNbts
private Function<NbtCompound,T>
ArrayPalette.valueDeserializer
Methods in net.minecraft.world.chunk that return NbtCompoundModifier and TypeMethodDescriptionChunk.getBlockEntityNbt(BlockPos pos)
ProtoChunk.getBlockEntityNbt(BlockPos pos)
ReadOnlyChunk.getBlockEntityNbt(BlockPos pos)
WorldChunk.getBlockEntityNbt(BlockPos pos)
Chunk.getPackedBlockEntityNbt(BlockPos pos)
ProtoChunk.getPackedBlockEntityNbt(BlockPos pos)
ReadOnlyChunk.getPackedBlockEntityNbt(BlockPos pos)
WorldChunk.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 TypeMethodDescriptionvoid
ProtoChunk.addEntity(NbtCompound entityTag)
default void
Chunk.addPendingBlockEntityNbt(NbtCompound nbt)
void
ProtoChunk.addPendingBlockEntityNbt(NbtCompound nbt)
void
ReadOnlyChunk.addPendingBlockEntityNbt(NbtCompound nbt)
void
WorldChunk.addPendingBlockEntityNbt(NbtCompound nbt)
private @Nullable BlockEntity
WorldChunk.loadBlockEntity(BlockPos pos, NbtCompound nbt)
void
WorldChunk.loadFromPacket(@Nullable BiomeArray biomes, PacketByteBuf buf, NbtCompound nbt, BitSet bitSet)
void
PalettedContainer.write(NbtCompound nbt, String paletteKey, String dataKey)
Constructors in net.minecraft.world.chunk with parameters of type NbtCompoundConstructor parameters in net.minecraft.world.chunk with type arguments of type NbtCompoundModifierConstructorDescriptionArrayPalette(IdList<T> idList, int integer, PaletteResizeListener<T> resizeListener, Function<NbtCompound,T> valueDeserializer)
BiMapPalette(IdList<T> idList, int indexBits, PaletteResizeListener<T> resizeHandler, Function<NbtCompound,T> elementDeserializer, Function<T,NbtCompound> elementSerializer)
PalettedContainer(Palette<T> palette, IdList<T> idList, Function<NbtCompound,T> elementDeserializer, Function<T,NbtCompound> elementSerializer, T defaultElement)
-
Uses of NbtCompound in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type NbtCompoundModifier and TypeMethodDescriptionstatic @Nullable StructureStart<?>
StructureFeature.readStructureStart(ServerWorld world, NbtCompound nbt, long worldSeed)
-
Uses of NbtCompound in net.minecraft.world.level
Fields in net.minecraft.world.level declared as NbtCompoundModifier and TypeFieldDescriptionprivate @Nullable NbtCompound
LevelProperties.customBossEvents
private NbtCompound
LevelProperties.dragonFight
private @Nullable NbtCompound
LevelProperties.playerData
Methods 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 LevelProperties
LevelProperties.readProperties(com.mojang.serialization.Dynamic<NbtElement> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)
void
LevelProperties.setCustomBossEvents(@Nullable NbtCompound nbt)
void
LevelProperties.setDragonFight(NbtCompound nbt)
private void
LevelProperties.updateProperties(DynamicRegistryManager registryManager, NbtCompound levelTag, @Nullable NbtCompound playerTag)
Constructors in net.minecraft.world.level with parameters of type NbtCompoundModifierConstructorDescriptionprivate
LevelProperties(@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, Timer<MinecraftServer> scheduledEvents, @Nullable NbtCompound customBossEvents, NbtCompound dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, 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 TypeMethodDescriptionvoid
LevelStorage.Session.backupLevelDataFile(DynamicRegistryManager dynamicRegistryManager, SaveProperties saveProperties, @Nullable NbtCompound nbtCompound)
static void
AlphaChunkIo.convertAlphaChunk(DynamicRegistryManager.Impl impl, AlphaChunkIo.AlphaChunk alphaChunk, NbtCompound nbt, BiomeSource biomeSource)
static AlphaChunkIo.AlphaChunk
AlphaChunkIo.readAlphaChunk(NbtCompound nbt)
-
Uses of NbtCompound in net.minecraft.world.storage
Fields in net.minecraft.world.storage declared as NbtCompoundMethods in net.minecraft.world.storage that return NbtCompoundModifier and TypeMethodDescriptionprivate NbtCompound
EntityChunkDataAccess.fixChunkData(NbtCompound chunkTag)
private @Nullable NbtCompound
VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt)
Methods in net.minecraft.world.storage that return types with arguments of type NbtCompoundModifier and TypeMethodDescriptionprotected CompletableFuture<NbtCompound>
StorageIoWorker.readChunkData(ChunkPos pos)
Methods in net.minecraft.world.storage with parameters of type NbtCompoundModifier and TypeMethodDescriptionprivate NbtCompound
EntityChunkDataAccess.fixChunkData(NbtCompound chunkTag)
static int
EntityChunkDataAccess.getChunkDataVersion(NbtCompound chunkTag)
private static ChunkPos
EntityChunkDataAccess.getChunkPos(NbtCompound chunkTag)
static int
VersionedChunkStorage.getDataVersion(NbtCompound nbt)
private static void
EntityChunkDataAccess.putChunkPos(NbtCompound chunkTag, ChunkPos pos)
void
VersionedChunkStorage.setNbt(ChunkPos chunkPos, NbtCompound nbt)
StorageIoWorker.setResult(ChunkPos pos, @Nullable NbtCompound nbt)
VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt)
protected void
RegionBasedStorage.write(ChunkPos pos, @Nullable NbtCompound nbt)
Constructors in net.minecraft.world.storage with parameters of type NbtCompound -
Uses of NbtCompound in net.minecraft.world.timer
Methods in net.minecraft.world.timer that return NbtCompoundModifier and TypeMethodDescriptionprivate NbtCompound
Timer.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 void
Timer.addEvent(NbtCompound nbt)
FunctionTagTimerCallback.Serializer.deserialize(NbtCompound nbtCompound)
FunctionTimerCallback.Serializer.deserialize(NbtCompound nbtCompound)
abstract C
TimerCallback.Serializer.deserialize(NbtCompound nbt)
TimerCallbackSerializer.deserialize(NbtCompound nbt)
void
FunctionTagTimerCallback.Serializer.serialize(NbtCompound nbtCompound, FunctionTagTimerCallback functionTagTimerCallback)
void
FunctionTimerCallback.Serializer.serialize(NbtCompound nbtCompound, FunctionTimerCallback functionTimerCallback)
abstract void
TimerCallback.Serializer.serialize(NbtCompound nbt, C callback)