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.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-emptyinvalid reference
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 NbtListFields 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()
NbtCompound.getListOrEmpty
(String key) NbtList.getListOrEmpty
(int index) Methods in net.minecraft.nbt that return types with arguments of type NbtListModifier and TypeMethodDescriptionNbtElement.asNbtList()
NbtList.asNbtList()
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.NbtList.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.scanner
Fields in net.minecraft.nbt.scanner declared as NbtList -
Uses of NbtList in net.minecraft.nbt.visitor
Methods in net.minecraft.nbt.visitor with parameters of type NbtListModifier and TypeMethodDescriptionprivate static boolean
NbtTextFormatter.shouldIndent
(NbtList list) void
void
void
void
-
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.world.chunk
Methods in net.minecraft.world.chunk 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.timer
Methods in net.minecraft.world.timer that return NbtList