Uses of Class
net.minecraft.nbt.NbtList
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of NbtList in net.minecraft.block.entity
Modifier and TypeMethodDescriptionBeehiveBlockEntity.getBees()
BannerBlockEntity.getPatternListNbt
(ItemStack stack) BannerPattern.Patterns.toNbt()
Modifier and TypeMethodDescriptionstatic List<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> BannerBlockEntity.getPatternsFromNbt
(DyeColor baseColor, @Nullable NbtList patternListNbt) -
Uses of NbtList in net.minecraft.client.option
-
Uses of NbtList in net.minecraft.client.particle
Modifier and TypeFieldDescriptionprivate NbtList
FireworksSparkParticle.FireworkParticle.explosions
-
Uses of NbtList in net.minecraft.enchantment
Modifier and TypeMethodDescriptionstatic Map<Enchantment,
Integer> Loads enchantments from an NBT list. -
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 TypeMethodDescriptionvoid
EnderChestInventory.readNbtList
(NbtList nbtList) void
SimpleInventory.readNbtList
(NbtList nbtList) -
Uses of NbtList in net.minecraft.item
Modifier and TypeMethodDescriptionstatic NbtList
EnchantedBookItem.getEnchantmentNbt
(ItemStack stack) ItemStack.getEnchantments()
Modifier and TypeMethodDescriptionstatic void
ItemStack.appendEnchantments
(List<Text> tooltip, NbtList enchantments) private static Optional<NbtCompound>
BundleItem.canMergeStack
(ItemStack stack, NbtList items) -
Uses of NbtList in net.minecraft.loot.function
Modifier and TypeMethodDescriptionSetLoreLootFunction.getLoreForMerge
(ItemStack stack, boolean otherLoreExists) -
Uses of NbtList in net.minecraft.nbt
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()
private NbtList
ScoreboardState.teamsToNbt()
protected NbtList
Scoreboard.toNbt()
Modifier and TypeMethodDescriptionprotected void
private void
ScoreboardState.readObjectivesNbt
(NbtList nbt) private void
ScoreboardState.readTeamPlayersNbt
(Team team, NbtList nbt) private void
ScoreboardState.readTeamsNbt
(NbtList nbt) -
Uses of NbtList in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate void
ServerRecipeBook.handleList
(NbtList list, Consumer<Recipe<?>> handler, RecipeManager recipeManager) -
Uses of NbtList in net.minecraft.structure
Modifier and TypeMethodDescriptionprivate NbtList
Structure.createNbtDoubleList
(double[] doubles) private NbtList
Structure.createNbtIntList
(int[] ints) Modifier and TypeMethodDescriptionstatic StructurePiecesList
StructurePiecesList.fromNbt
(NbtList list, StructureContext context) private void
Structure.loadPalettedBlockInfo
(NbtList paletteNbt, NbtList blocksNbt) -
Uses of NbtList in net.minecraft.util.math
-
Uses of NbtList in net.minecraft.world
-
Uses of NbtList in net.minecraft.world.tick
Modifier and TypeMethodDescriptionModifier 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