Uses of Class
net.minecraft.nbt.NbtList
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of NbtList in net.minecraft.entity
-
Uses of NbtList in net.minecraft.entity.attribute
-
Uses of NbtList in net.minecraft.entity.player
-
Uses of NbtList in net.minecraft.inventory
Modifier and TypeMethodDescriptionEnderChestInventory.toNbtList
(RegistryWrapper.WrapperLookup registries) Returns an NBT list of non-emptyinvalid reference
item stacks
SimpleInventory.toNbtList
(RegistryWrapper.WrapperLookup registries) Returns an NBT list of non-emptyinvalid reference
item stacks
Modifier and TypeMethodDescriptionvoid
EnderChestInventory.readNbtList
(NbtList list, RegistryWrapper.WrapperLookup registries) Reads the item stacks fromnbtList
.void
SimpleInventory.readNbtList
(NbtList list, RegistryWrapper.WrapperLookup registries) Reads the item stacks fromnbtList
. -
Uses of NbtList in net.minecraft.nbt
Modifier and TypeFieldDescriptionprivate final NbtList
NbtOps.CompoundListMerger.list
private final NbtList
NbtOps.ListMerger.list
Modifier and TypeFieldDescriptionprivate static final Comparator
<NbtList> NbtHelper.BLOCK_POS_COMPARATOR
private static final Comparator
<NbtList> NbtHelper.ENTITY_POS_COMPARATOR
NbtList.TYPE
Modifier and TypeMethodDescriptionNbtList.copy()
Returns the list associated withkey
, or an empty list if there is no list stored with the key and the type.NbtList.getList
(int index) Returns the list atindex
, or an empty list if the index is out of bounds or if this is not a list of lists.Modifier and TypeMethodDescriptionNbtList.getNbtType()
Returns the NBT type definition of this NBT element. -
Uses of NbtList in net.minecraft.nbt.visitor
-
Uses of NbtList in net.minecraft.scoreboard
Modifier and TypeMethodDescriptionprivate NbtList
ScoreboardState.objectivesToNbt
(RegistryWrapper.WrapperLookup registries) private NbtList
ScoreboardState.teamsToNbt
(RegistryWrapper.WrapperLookup registries) protected NbtList
Scoreboard.toNbt
(RegistryWrapper.WrapperLookup registries) Modifier and TypeMethodDescriptionprotected void
Scoreboard.readNbt
(NbtList list, RegistryWrapper.WrapperLookup registries) private void
ScoreboardState.readObjectivesNbt
(NbtList nbt, RegistryWrapper.WrapperLookup registries) private void
ScoreboardState.readTeamPlayersNbt
(Team team, NbtList nbt) private void
ScoreboardState.readTeamsNbt
(NbtList nbt, RegistryWrapper.WrapperLookup registries) -
Uses of NbtList in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate void
ServerRecipeBook.handleList
(NbtList list, Consumer<RegistryKey<Recipe<?>>> handler, Predicate<RegistryKey<Recipe<?>>> validPredicate) -
Uses of NbtList in net.minecraft.structure
Modifier and TypeMethodDescriptionprivate NbtList
StructureTemplate.createNbtDoubleList
(double[] doubles) private NbtList
StructureTemplate.createNbtIntList
(int[] ints) Modifier and TypeMethodDescriptionstatic StructurePiecesList
StructurePiecesList.fromNbt
(NbtList list, StructureContext context) private void
StructureTemplate.loadPalettedBlockInfo
(RegistryEntryLookup<Block> blockLookup, NbtList palette, NbtList blocks) -
Uses of NbtList in net.minecraft.util.math
-
Uses of NbtList in net.minecraft.world.chunk
-
Uses of NbtList in net.minecraft.world.level
Modifier and TypeMethodDescriptionprivate static NbtList
LevelProperties.createStringList
(Set<String> strings) -
Uses of NbtList in net.minecraft.world.tick
Modifier and TypeMethodDescription -
Uses of NbtList in net.minecraft.world.timer