Uses of Class
net.minecraft.nbt.NbtList
Packages that use NbtList
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of NbtList in net.minecraft.entity
Methods in net.minecraft.entity that return NbtList -
Uses of NbtList in net.minecraft.entity.attribute
Methods in net.minecraft.entity.attribute that return NbtListMethods in net.minecraft.entity.attribute with parameters of type NbtList -
Uses of NbtList in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return NbtListMethods in net.minecraft.entity.player with parameters of type NbtList -
Uses of NbtList in net.minecraft.inventory
Methods in net.minecraft.inventory that return NbtListModifier 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-empty item stacks.Methods in net.minecraft.inventory with parameters of type NbtListModifier 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
Fields in net.minecraft.nbt declared as NbtListModifier and TypeFieldDescriptionprivate final NbtList
NbtOps.CompoundListMerger.list
private final NbtList
NbtOps.ListMerger.list
Fields in net.minecraft.nbt with type parameters of type NbtListModifier and TypeFieldDescriptionprivate static final Comparator
<NbtList> NbtHelper.BLOCK_POS_COMPARATOR
private static final Comparator
<NbtList> NbtHelper.ENTITY_POS_COMPARATOR
NbtList.TYPE
Methods in net.minecraft.nbt that return NbtListModifier 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.Methods in net.minecraft.nbt that return types with arguments of type NbtListModifier and TypeMethodDescriptionNbtList.getNbtType()
Returns the NBT type definition of this NBT element.Constructors in net.minecraft.nbt with parameters of type NbtList -
Uses of NbtList in net.minecraft.nbt.visitor
Methods in net.minecraft.nbt.visitor with parameters of type NbtList -
Uses of NbtList in net.minecraft.scoreboard
Methods in net.minecraft.scoreboard that return NbtListModifier and TypeMethodDescriptionprivate NbtList
ScoreboardState.objectivesToNbt
(RegistryWrapper.WrapperLookup registries) private NbtList
ScoreboardState.teamsToNbt
(RegistryWrapper.WrapperLookup registries) protected NbtList
Scoreboard.toNbt
(RegistryWrapper.WrapperLookup registries) Methods in net.minecraft.scoreboard with parameters of type NbtListModifier 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
Methods in net.minecraft.server.network with parameters of type NbtListModifier and TypeMethodDescriptionprivate void
ServerRecipeBook.handleList
(NbtList list, Consumer<RecipeEntry<?>> handler, RecipeManager recipeManager) -
Uses of NbtList in net.minecraft.structure
Methods in net.minecraft.structure that return NbtListModifier and TypeMethodDescriptionprivate NbtList
StructureTemplate.createNbtDoubleList
(double[] doubles) private NbtList
StructureTemplate.createNbtIntList
(int[] ints) Methods in net.minecraft.structure with parameters of type NbtListModifier 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
Methods in net.minecraft.util.math that return NbtListConstructors in net.minecraft.util.math with parameters of type NbtList -
Uses of NbtList in net.minecraft.world
Methods in net.minecraft.world that return NbtList -
Uses of NbtList in net.minecraft.world.level
Methods in net.minecraft.world.level that return NbtListModifier and TypeMethodDescriptionprivate static NbtList
LevelProperties.createStringList
(Set<String> strings) -
Uses of NbtList in net.minecraft.world.tick
Methods in net.minecraft.world.tick that return NbtListModifier and TypeMethodDescriptionMethods in net.minecraft.world.tick with parameters of type NbtListModifier and TypeMethodDescriptionstatic <T> ChunkTickScheduler
<T> ChunkTickScheduler.create
(NbtList tickQueue, Function<String, Optional<T>> nameToTypeFunction, ChunkPos pos) static <T> SimpleTickScheduler
<T> SimpleTickScheduler.tick
(NbtList tickList, Function<String, Optional<T>> typeToNameFunction, ChunkPos pos) static <T> void
Tick.tick
(NbtList tickList, Function<String, Optional<T>> nameToTypeFunction, ChunkPos pos, Consumer<Tick<T>> tickConsumer) -
Uses of NbtList in net.minecraft.world.timer
Methods in net.minecraft.world.timer that return NbtList