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.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.storage
Fields in net.minecraft.storage declared as NbtListModifier and TypeFieldDescriptionprivate final NbtList
NbtReadView.ChildListReadView.list
private final NbtList
NbtReadView.NbtTypedListReadView.list
private final NbtList
NbtWriteView.NbtListAppender.list
private final NbtList
NbtWriteView.NbtListView.list
Methods in net.minecraft.storage with parameters of type NbtListModifier and TypeMethodDescriptionprivate ReadView.ListReadView
NbtReadView.createChildListReadView
(String key, ReadContext context, NbtList list) private <T> ReadView.TypedListReadView
<T> NbtReadView.createTypedListReadView
(String key, NbtList list, com.mojang.serialization.Codec<T> typeCodec) Constructors in net.minecraft.storage with parameters of type NbtListModifierConstructorDescription(package private)
ChildListReadView
(ErrorReporter reporter, String name, ReadContext context, NbtList list) (package private)
NbtListAppender
(ErrorReporter reporter, String key, com.mojang.serialization.DynamicOps<NbtElement> ops, com.mojang.serialization.Codec<T> codec, NbtList list) (package private)
NbtListView
(String key, ErrorReporter reporter, com.mojang.serialization.DynamicOps<NbtElement> ops, NbtList list) (package private)
NbtTypedListReadView
(ErrorReporter reporter, String name, ReadContext context, com.mojang.serialization.Codec<T> typeCodec, NbtList list) -
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