JavaScript is disabled on your browser.
Methods in net.minecraft.client.world with parameters of type NbtCompound
Modifier and Type
Method
Description
void
ClientWorld. addFireworkParticle (double x,
double y,
double z,
double velocityX,
double velocityY,
double velocityZ,
@Nullable NbtCompound nbt)
@Nullable WorldChunk
ClientChunkManager. loadChunkFromPacket (int x,
int z,
BiomeArray biomes,
PacketByteBuf buf,
NbtCompound nbt,
BitSet bitSet)
Constructors in net.minecraft.command.argument with parameters of type NbtCompound
Constructor
Description
BlockStateArgument (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)
TagPredicate (Tag <Block > tag,
Map <String ,String > map,
@Nullable NbtCompound nbt)
TagPredicate (Tag <Item > tag,
@Nullable NbtCompound nbt)
Methods in net.minecraft.entity with parameters of type NbtCompound
Modifier and Type
Method
Description
static void
Bucketable. copyDataFromNbt (MobEntity entity,
NbtCompound nbt)
void
Bucketable. copyDataFromNbt (NbtCompound nbt)
T
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)
static Optional <Entity >
EntityType. getEntityFromNbt (NbtCompound nbt,
World world)
private static Optional <Entity >
EntityType. loadEntityFromNbt (NbtCompound nbt,
World world)
static @Nullable Entity
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)
T
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)
NbtCompound
Entity. writeNbt (NbtCompound nbt)
void
SaddledComponent. writeNbt (NbtCompound nbt)
Methods in net.minecraft.entity.mob with parameters of type NbtCompound
Modifier and Type
Method
Description
@Nullable EntityData
AbstractSkeletonEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
CaveSpiderEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
EntityData
DrownedEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
HoglinEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
EntityData
IllusionerEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
MobEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
PatrolEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
EntityData
PhantomEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
PiglinBruteEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
PiglinEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
PillagerEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
ShulkerEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
SlimeEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
SpiderEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
VexEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
VindicatorEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
WitherSkeletonEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
ZombieEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
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)
Methods in net.minecraft.entity.passive with parameters of type NbtCompound
Modifier and Type
Method
Description
void
AxolotlEntity. copyDataFromNbt (NbtCompound nbt)
void
FishEntity. copyDataFromNbt (NbtCompound nbt)
void
TropicalFishEntity. copyDataFromNbt (NbtCompound nbt)
EntityData
AxolotlEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
CatEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
DolphinEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
FoxEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
EntityData
GoatEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
HorseBaseEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
HorseEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
LlamaEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
EntityData
MerchantEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
OcelotEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
PandaEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
ParrotEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
EntityData
PassiveEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
EntityData
PolarBearEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
RabbitEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
SchoolingFishEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
SheepEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
StriderEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
TraderLlamaEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
TropicalFishEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
TurtleEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityNbt)
@Nullable EntityData
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)
Methods in net.minecraft.nbt that return NbtCompound
Modifier and Type
Method
Description
protected NbtCompound
NbtOps.MapBuilder. append (String string,
NbtElement nbtElement,
NbtCompound nbtCompound)
NbtCompound
NbtCompound. copy ()
NbtCompound
NbtCompound. copyFrom (NbtCompound source)
static NbtCompound
NbtHelper. fromBlockPos (BlockPos pos)
static NbtCompound
NbtHelper. fromBlockState (BlockState state)
NbtCompound
NbtCompound. getCompound (String key)
NbtCompound
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. parse (String string)
NbtCompound
StringNbtReader. parseCompound ()
static NbtCompound
NbtIo. read (DataInput input)
static NbtCompound
NbtIo. read (DataInput input,
NbtTagSizeTracker tracker)
static @Nullable NbtCompound
NbtIo. read (File file)
(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 with parameters of type NbtCompound
Modifier and Type
Method
Description
protected NbtCompound
NbtOps.MapBuilder. append (String string,
NbtElement nbtElement,
NbtCompound nbtCompound)
protected com.mojang.serialization.DataResult<NbtElement >
NbtOps.MapBuilder. build (NbtCompound nbtCompound,
NbtElement nbtElement)
NbtCompound
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>> S
NbtHelper. 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)
Methods in net.minecraft.server.command with parameters of type NbtCompound
Modifier and Type
Method
Description
private 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)
Methods in net.minecraft.structure with parameters of type NbtCompound
Modifier and Type
Method
Description
Structure
StructureManager. createStructure (NbtCompound nbt)
private static Optional <Entity >
Structure. getEntity (ServerWorldAccess world,
NbtCompound nbt)
StructurePiece
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)
NbtCompound
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 NbtCompound
Constructor
Description
Base (ServerWorld serverWorld,
NbtCompound nbt)
Bridge (ServerWorld serverWorld,
NbtCompound nbt)
BridgeCrossing (ServerWorld serverWorld,
NbtCompound nbt)
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)
StructurePieceWithDimensions (StructurePieceType type,
NbtCompound nbt)
SwampHutGenerator (ServerWorld serverWorld,
NbtCompound nbt)
Turn (StructurePieceType type,
NbtCompound nbt)
WingRoom (ServerWorld world,
NbtCompound nbt)
Methods in net.minecraft.world that return NbtCompound
Modifier and Type
Method
Description
NbtCompound
SaveProperties. cloneWorldNbt (DynamicRegistryManager registryManager,
@Nullable NbtCompound playerNbt)
@Nullable NbtCompound
SaveProperties. getCustomBossEvents ()
NbtCompound
SaveProperties. getDragonFight ()
NbtCompound
MobSpawnerEntry. getEntityNbt ()
NbtCompound
SaveProperties. getPlayerData ()
NbtCompound
FeatureUpdater. getUpdatedReferences (NbtCompound nbtCompound)
private NbtCompound
FeatureUpdater. getUpdatedStarts (NbtCompound nbt,
ChunkPos pos)
@Nullable NbtCompound
WorldSaveHandler. loadPlayerData (PlayerEntity player)
NbtCompound
PersistentStateManager. readNbt (String id,
int dataVersion)
static NbtCompound
ChunkSerializer. serialize (ServerWorld world,
Chunk chunk)
NbtCompound
GameRules. toNbt ()
NbtCompound
MobSpawnerEntry. toNbt ()
NbtCompound
ChunkUpdateState. writeNbt (NbtCompound nbt)
NbtCompound
CommandBlockExecutor. writeNbt (NbtCompound nbt)
NbtCompound
ForcedChunkState. writeNbt (NbtCompound nbt)
NbtCompound
IdCountsState. writeNbt (NbtCompound nbt)
NbtCompound
MobSpawnerLogic. writeNbt (@Nullable World world,
BlockPos pos,
NbtCompound nbt)
abstract NbtCompound
PersistentState. writeNbt (NbtCompound nbt)
private static NbtCompound
ChunkSerializer. writeStructures (ServerWorld serverWorld,
ChunkPos chunkPos,
Map <StructureFeature <?>,StructureStart <?>> map,
Map <StructureFeature <?>,LongSet > map2)
Methods in net.minecraft.world with parameters of type NbtCompound
Modifier and Type
Method
Description
void
World. addFireworkParticle (double x,
double y,
double z,
double velocityX,
double velocityY,
double velocityZ,
@Nullable NbtCompound nbt)
NbtCompound
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)
NbtCompound
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)
NbtCompound
ChunkUpdateState. writeNbt (NbtCompound nbt)
NbtCompound
CommandBlockExecutor. writeNbt (NbtCompound nbt)
NbtCompound
ForcedChunkState. writeNbt (NbtCompound nbt)
NbtCompound
IdCountsState. writeNbt (NbtCompound nbt)
NbtCompound
MobSpawnerLogic. writeNbt (@Nullable World world,
BlockPos pos,
NbtCompound nbt)
abstract NbtCompound
PersistentState. writeNbt (NbtCompound nbt)
Constructor parameters in net.minecraft.world.chunk with type arguments of type NbtCompound
Constructor
Description
ArrayPalette (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)
Methods in net.minecraft.world.level with parameters of type NbtCompound
Modifier and Type
Method
Description
NbtCompound
LevelProperties. 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 NbtCompound
Constructor
Description
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)