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.block.entity
Fields in net.minecraft.block.entity declared as NbtListMethods in net.minecraft.block.entity that return NbtListModifier and TypeMethodDescriptionBeehiveBlockEntity.getBees()
BannerBlockEntity.getPatternListNbt
(ItemStack stack) BannerPattern.Patterns.toNbt()
Methods in net.minecraft.block.entity with parameters of type NbtListModifier 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
Methods in net.minecraft.client.option that return NbtListMethods in net.minecraft.client.option with parameters of type NbtList -
Uses of NbtList in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as NbtListModifier and TypeFieldDescriptionprivate NbtList
FireworksSparkParticle.FireworkParticle.explosions
-
Uses of NbtList in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type NbtListModifier and TypeMethodDescriptionstatic Map<Enchantment,
Integer> Loads enchantments from an NBT list. -
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 NbtListMethods in net.minecraft.inventory with parameters of type NbtListModifier and TypeMethodDescriptionvoid
EnderChestInventory.readNbtList
(NbtList nbtList) void
SimpleInventory.readNbtList
(NbtList nbtList) -
Uses of NbtList in net.minecraft.item
Methods in net.minecraft.item that return NbtListModifier and TypeMethodDescriptionstatic NbtList
EnchantedBookItem.getEnchantmentNbt
(ItemStack stack) ItemStack.getEnchantments()
Returns an NBT list of enchantments.Methods in net.minecraft.item with parameters of type NbtListModifier 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
Methods in net.minecraft.loot.function that return NbtListModifier and TypeMethodDescriptionSetLoreLootFunction.getLoreForMerge
(ItemStack stack, boolean otherLoreExists) -
Uses of NbtList in net.minecraft.nbt
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. -
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()
private NbtList
ScoreboardState.teamsToNbt()
protected NbtList
Scoreboard.toNbt()
Methods in net.minecraft.scoreboard with parameters of type NbtListModifier 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
Methods in net.minecraft.server.network with parameters of type NbtListModifier and TypeMethodDescriptionprivate void
ServerRecipeBook.handleList
(NbtList list, Consumer<Recipe<?>> 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
(NbtList paletteNbt, NbtList blocksNbt) -
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.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