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 tag)
@Nullable WorldChunk
ClientChunkManager. loadChunkFromPacket (int x,
int z,
BiomeArray biomes,
PacketByteBuf buf,
NbtCompound tag,
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 nbtCompound)
ItemStackArgument (Item item,
@Nullable NbtCompound tag)
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 nbtCompound)
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 itemTag,
@Nullable Text name,
@Nullable PlayerEntity player,
BlockPos pos,
SpawnReason spawnReason,
boolean alignPosition,
boolean invertY)
static Optional <EntityType <?>>
EntityType. fromNbt (NbtCompound compoundTag)
static Optional <Entity >
EntityType. getEntityFromNbt (NbtCompound tag,
World world)
private static Optional <Entity >
EntityType. loadEntityFromNbt (NbtCompound compoundTag,
World world)
static @Nullable Entity
EntityType. loadEntityWithPassengers (NbtCompound compoundTag,
World world,
Function <Entity ,Entity > entityProcessor)
static void
EntityType. loadFromEntityNbt (World world,
@Nullable PlayerEntity player,
@Nullable Entity entity,
@Nullable NbtCompound itemTag)
protected void
AreaEffectCloudEntity. readCustomDataFromNbt (NbtCompound tag)
protected abstract void
Entity. readCustomDataFromNbt (NbtCompound tag)
void
ExperienceOrbEntity. readCustomDataFromNbt (NbtCompound tag)
void
EyeOfEnderEntity. readCustomDataFromNbt (NbtCompound tag)
protected void
FallingBlockEntity. readCustomDataFromNbt (NbtCompound tag)
void
ItemEntity. readCustomDataFromNbt (NbtCompound tag)
protected void
LightningEntity. readCustomDataFromNbt (NbtCompound tag)
void
LivingEntity. readCustomDataFromNbt (NbtCompound tag)
protected void
TntEntity. readCustomDataFromNbt (NbtCompound tag)
void
Entity. readNbt (NbtCompound tag)
void
SaddledComponent. readNbt (NbtCompound tag)
boolean
Entity. saveSelfToTag (NbtCompound tag)
boolean
Entity. saveToTag (NbtCompound tag)
T
EntityType. spawn (ServerWorld world,
@Nullable NbtCompound itemTag,
@Nullable Text name,
@Nullable PlayerEntity player,
BlockPos pos,
SpawnReason spawnReason,
boolean alignPosition,
boolean invertY)
protected void
AreaEffectCloudEntity. writeCustomDataToNbt (NbtCompound tag)
protected abstract void
Entity. writeCustomDataToNbt (NbtCompound tag)
void
ExperienceOrbEntity. writeCustomDataToNbt (NbtCompound tag)
void
EyeOfEnderEntity. writeCustomDataToNbt (NbtCompound tag)
protected void
FallingBlockEntity. writeCustomDataToNbt (NbtCompound tag)
void
ItemEntity. writeCustomDataToNbt (NbtCompound tag)
protected void
LightningEntity. writeCustomDataToNbt (NbtCompound tag)
void
LivingEntity. writeCustomDataToNbt (NbtCompound tag)
protected void
TntEntity. writeCustomDataToNbt (NbtCompound tag)
NbtCompound
Entity. writeNbt (NbtCompound tag)
void
SaddledComponent. writeNbt (NbtCompound tag)
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 entityTag)
@Nullable EntityData
CaveSpiderEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
EntityData
DrownedEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
HoglinEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
EntityData
IllusionerEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
MobEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
PatrolEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
EntityData
PhantomEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
PiglinBruteEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
PiglinEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
PillagerEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
ShulkerEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
SlimeEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
SpiderEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
VexEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
VindicatorEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
WitherSkeletonEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
ZombieEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
ZombieVillagerEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
default void
Angerable. readAngerFromNbt (World world,
NbtCompound tag)
void
AbstractPiglinEntity. readCustomDataFromNbt (NbtCompound tag)
void
AbstractSkeletonEntity. readCustomDataFromNbt (NbtCompound tag)
void
CreeperEntity. readCustomDataFromNbt (NbtCompound tag)
void
EndermanEntity. readCustomDataFromNbt (NbtCompound tag)
void
EndermiteEntity. readCustomDataFromNbt (NbtCompound tag)
void
EvokerEntity. readCustomDataFromNbt (NbtCompound tag)
protected void
EvokerFangsEntity. readCustomDataFromNbt (NbtCompound tag)
void
GhastEntity. readCustomDataFromNbt (NbtCompound tag)
void
HoglinEntity. readCustomDataFromNbt (NbtCompound tag)
void
MobEntity. readCustomDataFromNbt (NbtCompound tag)
void
PatrolEntity. readCustomDataFromNbt (NbtCompound tag)
void
PhantomEntity. readCustomDataFromNbt (NbtCompound tag)
void
PiglinEntity. readCustomDataFromNbt (NbtCompound tag)
void
PillagerEntity. readCustomDataFromNbt (NbtCompound tag)
void
RavagerEntity. readCustomDataFromNbt (NbtCompound tag)
void
ShulkerEntity. readCustomDataFromNbt (NbtCompound tag)
void
SkeletonEntity. readCustomDataFromNbt (NbtCompound tag)
void
SkeletonHorseEntity. readCustomDataFromNbt (NbtCompound tag)
void
SlimeEntity. readCustomDataFromNbt (NbtCompound tag)
void
SpellcastingIllagerEntity. readCustomDataFromNbt (NbtCompound tag)
void
VexEntity. readCustomDataFromNbt (NbtCompound tag)
void
VindicatorEntity. readCustomDataFromNbt (NbtCompound tag)
void
ZoglinEntity. readCustomDataFromNbt (NbtCompound tag)
void
ZombieEntity. readCustomDataFromNbt (NbtCompound tag)
void
ZombieVillagerEntity. readCustomDataFromNbt (NbtCompound tag)
void
ZombifiedPiglinEntity. readCustomDataFromNbt (NbtCompound tag)
void
ZombieVillagerEntity. setOfferData (NbtCompound offerTag)
default void
Angerable. writeAngerToNbt (NbtCompound tag)
void
AbstractPiglinEntity. writeCustomDataToNbt (NbtCompound tag)
void
CreeperEntity. writeCustomDataToNbt (NbtCompound tag)
void
EndermanEntity. writeCustomDataToNbt (NbtCompound tag)
void
EndermiteEntity. writeCustomDataToNbt (NbtCompound tag)
void
EvokerEntity. writeCustomDataToNbt (NbtCompound tag)
protected void
EvokerFangsEntity. writeCustomDataToNbt (NbtCompound tag)
void
GhastEntity. writeCustomDataToNbt (NbtCompound tag)
void
HoglinEntity. writeCustomDataToNbt (NbtCompound tag)
void
MobEntity. writeCustomDataToNbt (NbtCompound tag)
void
PatrolEntity. writeCustomDataToNbt (NbtCompound tag)
void
PhantomEntity. writeCustomDataToNbt (NbtCompound tag)
void
PiglinEntity. writeCustomDataToNbt (NbtCompound tag)
void
PillagerEntity. writeCustomDataToNbt (NbtCompound tag)
void
RavagerEntity. writeCustomDataToNbt (NbtCompound tag)
void
ShulkerEntity. writeCustomDataToNbt (NbtCompound tag)
void
SkeletonEntity. writeCustomDataToNbt (NbtCompound tag)
void
SkeletonHorseEntity. writeCustomDataToNbt (NbtCompound tag)
void
SlimeEntity. writeCustomDataToNbt (NbtCompound tag)
void
SpellcastingIllagerEntity. writeCustomDataToNbt (NbtCompound tag)
void
VexEntity. writeCustomDataToNbt (NbtCompound tag)
void
VindicatorEntity. writeCustomDataToNbt (NbtCompound tag)
void
ZoglinEntity. writeCustomDataToNbt (NbtCompound tag)
void
ZombieEntity. writeCustomDataToNbt (NbtCompound tag)
void
ZombieVillagerEntity. writeCustomDataToNbt (NbtCompound tag)
void
ZombifiedPiglinEntity. writeCustomDataToNbt (NbtCompound tag)
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 entityTag)
@Nullable EntityData
CatEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
DolphinEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
FoxEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
EntityData
GoatEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
HorseBaseEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
HorseEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
LlamaEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
EntityData
MerchantEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
OcelotEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
PandaEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
ParrotEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
EntityData
PassiveEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
EntityData
PolarBearEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
RabbitEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
SchoolingFishEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
SheepEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
StriderEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
TraderLlamaEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
TropicalFishEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
TurtleEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
@Nullable EntityData
VillagerEntity. initialize (ServerWorldAccess world,
LocalDifficulty difficulty,
SpawnReason spawnReason,
@Nullable EntityData entityData,
@Nullable NbtCompound entityTag)
void
AbstractDonkeyEntity. readCustomDataFromNbt (NbtCompound tag)
void
AnimalEntity. readCustomDataFromNbt (NbtCompound tag)
void
AxolotlEntity. readCustomDataFromNbt (NbtCompound tag)
void
BatEntity. readCustomDataFromNbt (NbtCompound tag)
void
BeeEntity. readCustomDataFromNbt (NbtCompound tag)
void
CatEntity. readCustomDataFromNbt (NbtCompound tag)
void
ChickenEntity. readCustomDataFromNbt (NbtCompound tag)
void
DolphinEntity. readCustomDataFromNbt (NbtCompound tag)
void
FishEntity. readCustomDataFromNbt (NbtCompound tag)
void
FoxEntity. readCustomDataFromNbt (NbtCompound tag)
void
GlowSquidEntity. readCustomDataFromNbt (NbtCompound tag)
void
GoatEntity. readCustomDataFromNbt (NbtCompound tag)
void
HorseBaseEntity. readCustomDataFromNbt (NbtCompound tag)
void
HorseEntity. readCustomDataFromNbt (NbtCompound tag)
void
IronGolemEntity. readCustomDataFromNbt (NbtCompound tag)
void
LlamaEntity. readCustomDataFromNbt (NbtCompound tag)
void
MerchantEntity. readCustomDataFromNbt (NbtCompound tag)
void
MooshroomEntity. readCustomDataFromNbt (NbtCompound tag)
void
OcelotEntity. readCustomDataFromNbt (NbtCompound tag)
void
PandaEntity. readCustomDataFromNbt (NbtCompound tag)
void
ParrotEntity. readCustomDataFromNbt (NbtCompound tag)
void
PassiveEntity. readCustomDataFromNbt (NbtCompound tag)
void
PigEntity. readCustomDataFromNbt (NbtCompound tag)
void
PolarBearEntity. readCustomDataFromNbt (NbtCompound tag)
void
PufferfishEntity. readCustomDataFromNbt (NbtCompound tag)
void
RabbitEntity. readCustomDataFromNbt (NbtCompound tag)
void
SheepEntity. readCustomDataFromNbt (NbtCompound tag)
void
SnowGolemEntity. readCustomDataFromNbt (NbtCompound tag)
void
StriderEntity. readCustomDataFromNbt (NbtCompound tag)
void
TameableEntity. readCustomDataFromNbt (NbtCompound tag)
void
TraderLlamaEntity. readCustomDataFromNbt (NbtCompound tag)
void
TropicalFishEntity. readCustomDataFromNbt (NbtCompound tag)
void
TurtleEntity. readCustomDataFromNbt (NbtCompound tag)
void
VillagerEntity. readCustomDataFromNbt (NbtCompound tag)
void
WanderingTraderEntity. readCustomDataFromNbt (NbtCompound tag)
void
WolfEntity. readCustomDataFromNbt (NbtCompound tag)
void
AbstractDonkeyEntity. writeCustomDataToNbt (NbtCompound tag)
void
AnimalEntity. writeCustomDataToNbt (NbtCompound tag)
void
AxolotlEntity. writeCustomDataToNbt (NbtCompound tag)
void
BatEntity. writeCustomDataToNbt (NbtCompound tag)
void
BeeEntity. writeCustomDataToNbt (NbtCompound tag)
void
CatEntity. writeCustomDataToNbt (NbtCompound tag)
void
ChickenEntity. writeCustomDataToNbt (NbtCompound tag)
void
DolphinEntity. writeCustomDataToNbt (NbtCompound tag)
void
FishEntity. writeCustomDataToNbt (NbtCompound tag)
void
FoxEntity. writeCustomDataToNbt (NbtCompound tag)
void
GlowSquidEntity. writeCustomDataToNbt (NbtCompound tag)
void
GoatEntity. writeCustomDataToNbt (NbtCompound tag)
void
HorseBaseEntity. writeCustomDataToNbt (NbtCompound tag)
void
HorseEntity. writeCustomDataToNbt (NbtCompound tag)
void
IronGolemEntity. writeCustomDataToNbt (NbtCompound tag)
void
LlamaEntity. writeCustomDataToNbt (NbtCompound tag)
void
MerchantEntity. writeCustomDataToNbt (NbtCompound tag)
void
MooshroomEntity. writeCustomDataToNbt (NbtCompound tag)
void
OcelotEntity. writeCustomDataToNbt (NbtCompound tag)
void
PandaEntity. writeCustomDataToNbt (NbtCompound tag)
void
ParrotEntity. writeCustomDataToNbt (NbtCompound tag)
void
PassiveEntity. writeCustomDataToNbt (NbtCompound tag)
void
PigEntity. writeCustomDataToNbt (NbtCompound tag)
void
PolarBearEntity. writeCustomDataToNbt (NbtCompound tag)
void
PufferfishEntity. writeCustomDataToNbt (NbtCompound tag)
void
RabbitEntity. writeCustomDataToNbt (NbtCompound tag)
void
SheepEntity. writeCustomDataToNbt (NbtCompound tag)
void
SnowGolemEntity. writeCustomDataToNbt (NbtCompound tag)
void
StriderEntity. writeCustomDataToNbt (NbtCompound tag)
void
TameableEntity. writeCustomDataToNbt (NbtCompound tag)
void
TraderLlamaEntity. writeCustomDataToNbt (NbtCompound tag)
void
TropicalFishEntity. writeCustomDataToNbt (NbtCompound tag)
void
TurtleEntity. writeCustomDataToNbt (NbtCompound tag)
void
VillagerEntity. writeCustomDataToNbt (NbtCompound tag)
void
WanderingTraderEntity. writeCustomDataToNbt (NbtCompound tag)
void
WolfEntity. writeCustomDataToNbt (NbtCompound tag)
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 sourceTag,
NbtPathArgumentType.NbtPath path,
List <NbtElement > tags)
private static int
DataCommand. executeMerge (ServerCommandSource source,
DataCommandObject object,
NbtCompound tag)
int
DataCommand.ModifyOperation. modify (com.mojang.brigadier.context.CommandContext<ServerCommandSource > context,
NbtCompound sourceTag,
NbtPathArgumentType.NbtPath path,
List <NbtElement > tags)
Methods in net.minecraft.structure with parameters of type NbtCompound
Modifier and Type
Method
Description
Structure
StructureManager. createStructure (NbtCompound tag)
private static Optional <Entity >
Structure. getEntity (ServerWorldAccess world,
NbtCompound nbt)
StructurePiece
StructurePieceType. load (ServerWorld serverWorld,
NbtCompound tag)
private static StructurePlacementData
RuinedPortalStructurePiece. method_35449 (ServerWorld serverWorld,
NbtCompound nbtCompound,
Identifier identifier)
void
Structure. readNbt (NbtCompound tag)
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 tag)
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 tag)
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 serverWorld,
NbtCompound tag)
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 serverWorld,
NbtCompound tag)
LeftTurn (ServerWorld serverWorld,
NbtCompound nbt)
Library (ServerWorld serverWorld,
NbtCompound nbt)
MineshaftCorridor (ServerWorld serverWorld,
NbtCompound nbt)
MineshaftCrossing (ServerWorld serverWorld,
NbtCompound nbt)
MineshaftPart (StructurePieceType type,
NbtCompound tag)
MineshaftRoom (ServerWorld serverWorld,
NbtCompound nbt)
MineshaftStairs (ServerWorld serverWorld,
NbtCompound nbt)
Penthouse (ServerWorld serverWorld,
NbtCompound nbt)
Piece (ServerWorld serverWorld,
NbtCompound tag)
Piece (ServerWorld serverWorld,
NbtCompound nbtCompound)
Piece (ServerWorld serverWorld,
NbtCompound tag)
Piece (StructurePieceType type,
NbtCompound tag)
Piece (ServerWorld serverWorld,
NbtCompound tag)
Piece (StructurePieceType type,
NbtCompound tag)
Piece (ServerWorld serverWorld,
NbtCompound tag)
Piece (ServerWorld serverWorld,
NbtCompound tag)
Piece (StructurePieceType type,
NbtCompound tag)
Piece (ServerWorld serverWorld,
NbtCompound nbt)
PoolStructurePiece (ServerWorld serverWorld,
NbtCompound tag)
PortalRoom (ServerWorld serverWorld,
NbtCompound nbt)
PrisonHall (ServerWorld serverWorld,
NbtCompound nbt)
RightTurn (ServerWorld serverWorld,
NbtCompound nbt)
RuinedPortalStructurePiece (ServerWorld serverWorld,
NbtCompound tag)
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 tag)
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 tag)
StructureEntityInfo (Vec3d pos,
BlockPos blockPos,
NbtCompound tag)
StructurePiece (StructurePieceType type,
NbtCompound tag)
StructurePieceWithDimensions (StructurePieceType type,
NbtCompound tag)
SwampHutGenerator (ServerWorld serverWorld,
NbtCompound nbt)
Turn (StructurePieceType type,
NbtCompound tag)
WingRoom (ServerWorld serverWorld,
NbtCompound tag)
Methods in net.minecraft.world that return NbtCompound
Modifier and Type
Method
Description
NbtCompound
SaveProperties. cloneWorldNbt (DynamicRegistryManager registryManager,
@Nullable NbtCompound playerTag)
@Nullable NbtCompound
SaveProperties. getCustomBossEvents ()
NbtCompound
SaveProperties. getDragonFight ()
NbtCompound
MobSpawnerEntry. getEntityNbt ()
NbtCompound
SaveProperties. getPlayerData ()
NbtCompound
FeatureUpdater. getUpdatedReferences (NbtCompound nbtCompound)
private NbtCompound
FeatureUpdater. getUpdatedStarts (NbtCompound tag,
ChunkPos pos)
@Nullable NbtCompound
WorldSaveHandler. loadPlayerData (PlayerEntity player)
NbtCompound
PersistentStateManager. readNbt (String id,
int dataVersion)
static NbtCompound
ChunkSerializer. serialize (ServerWorld world,
Chunk chunk)
NbtCompound
MobSpawnerEntry. serialize ()
NbtCompound
GameRules. toNbt ()
NbtCompound
ChunkUpdateState. writeNbt (NbtCompound tag)
NbtCompound
CommandBlockExecutor. writeNbt (NbtCompound tag)
NbtCompound
ForcedChunkState. writeNbt (NbtCompound tag)
NbtCompound
IdCountsState. writeNbt (NbtCompound tag)
NbtCompound
MobSpawnerLogic. writeNbt (@Nullable World world,
BlockPos pos,
NbtCompound nbt)
abstract NbtCompound
PersistentState. writeNbt (NbtCompound tag)
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 tag)
NbtCompound
SaveProperties. cloneWorldNbt (DynamicRegistryManager registryManager,
@Nullable NbtCompound playerTag)
static ProtoChunk
ChunkSerializer. deserialize (ServerWorld world,
StructureManager structureManager,
PointOfInterestStorage poiStorage,
ChunkPos pos,
NbtCompound tag)
static ChunkUpdateState
ChunkUpdateState. fromNbt (NbtCompound tag)
static ForcedChunkState
ForcedChunkState. fromNbt (NbtCompound tag)
static IdCountsState
IdCountsState. fromNbt (NbtCompound tag)
static ChunkStatus.ChunkType
ChunkSerializer. getChunkType (@Nullable NbtCompound tag)
NbtCompound
FeatureUpdater. getUpdatedReferences (NbtCompound nbtCompound)
private NbtCompound
FeatureUpdater. getUpdatedStarts (NbtCompound tag,
ChunkPos pos)
private static void
ChunkSerializer. loadEntities (ServerWorld world,
NbtCompound tag,
WorldChunk chunk)
void
CommandBlockExecutor. readNbt (NbtCompound tag)
void
MobSpawnerLogic. readNbt (@Nullable World world,
BlockPos pos,
NbtCompound tag)
private static Map <StructureFeature <?>,LongSet >
ChunkSerializer. readStructureReferences (ChunkPos pos,
NbtCompound tag)
private static Map <StructureFeature <?>,StructureStart <?>>
ChunkSerializer. readStructureStarts (ServerWorld serverWorld,
NbtCompound tag,
long worldSeed)
void
SaveProperties. setCustomBossEvents (@Nullable NbtCompound tag)
void
SaveProperties. setDragonFight (NbtCompound tag)
NbtCompound
ChunkUpdateState. writeNbt (NbtCompound tag)
NbtCompound
CommandBlockExecutor. writeNbt (NbtCompound tag)
NbtCompound
ForcedChunkState. writeNbt (NbtCompound tag)
NbtCompound
IdCountsState. writeNbt (NbtCompound tag)
NbtCompound
MobSpawnerLogic. writeNbt (@Nullable World world,
BlockPos pos,
NbtCompound nbt)
abstract NbtCompound
PersistentState. writeNbt (NbtCompound tag)
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 playerTag)
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 tag)
void
LevelProperties. setDragonFight (NbtCompound tag)
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)