Uses of Class
net.minecraft.core.NonNullList
Package
Description
-
Uses of NonNullList in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionfinal NonNullList
<ItemStack> CreativeModeInventoryScreen.ItemPickerMenu.items
-
Uses of NonNullList in net.minecraft.core
Modifier and TypeMethodDescriptionstatic <E> NonNullList
<E> NonNullList.copyOf
(Collection<? extends E> entries) Neo: utility method to construct an immutable NonNullList from a given collectionstatic <E> NonNullList
<E> NonNullList.create()
static <E> NonNullList
<E> NonNullList.createWithCapacity
(int p_182648_) static <E> NonNullList
<E> NonNullList.of
(E p_122784_, E... p_122785_) static <E> NonNullList
<E> NonNullList.withSize
(int p_122781_, E p_122782_) Modifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec
<NonNullList<E>> NonNullList.codecOf
(com.mojang.serialization.Codec<E> entryCodec) Neo: utility method to construct a Codec for a NonNullList -
Uses of NonNullList in net.minecraft.data.recipes
Modifier and TypeFieldDescriptionprivate final NonNullList
<Ingredient> ShapelessRecipeBuilder.ingredients
-
Uses of NonNullList in net.minecraft.network.protocol.game
ModifierConstructorDescriptionClientboundContainerSetContentPacket
(int p_182704_, int p_182705_, NonNullList<ItemStack> p_182706_, ItemStack p_182707_) -
Uses of NonNullList in net.minecraft.world
Modifier and TypeMethodDescriptionstatic void
Containers.dropContents
(Level p_19011_, BlockPos p_19012_, NonNullList<ItemStack> p_19013_) static void
ContainerHelper.loadAllItems
(CompoundTag p_18981_, NonNullList<ItemStack> p_18982_, HolderLookup.Provider p_332027_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_, HolderLookup.Provider p_330957_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_, HolderLookup.Provider p_331375_) -
Uses of NonNullList in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate final NonNullList
<ItemStack> Mob.armorItems
private final NonNullList
<ItemStack> Mob.handItems
private final NonNullList
<ItemStack> LivingEntity.lastArmorItemStacks
private final NonNullList
<ItemStack> LivingEntity.lastHandItemStacks
-
Uses of NonNullList in net.minecraft.world.entity.decoration
Modifier and TypeFieldDescriptionprivate final NonNullList
<ItemStack> ArmorStand.armorItems
private final NonNullList
<ItemStack> ArmorStand.handItems
-
Uses of NonNullList in net.minecraft.world.entity.player
Modifier and TypeFieldDescriptionfinal NonNullList
<ItemStack> Inventory.armor
final NonNullList
<ItemStack> Inventory.items
final NonNullList
<ItemStack> Inventory.offhand
Modifier and TypeFieldDescriptionprivate final List
<NonNullList<ItemStack>> Inventory.compartments
-
Uses of NonNullList in net.minecraft.world.entity.vehicle
Modifier and TypeFieldDescriptionprivate NonNullList
<ItemStack> AbstractMinecartContainer.itemStacks
private NonNullList
<ItemStack> ChestBoat.itemStacks
Modifier and TypeMethodDescriptionAbstractMinecartContainer.getItemStacks()
ChestBoat.getItemStacks()
ContainerEntity.getItemStacks()
-
Uses of NonNullList in net.minecraft.world.inventory
Modifier and TypeFieldDescriptionprivate final NonNullList
<ItemStack> TransientCraftingContainer.items
private final NonNullList
<ItemStack> MerchantContainer.itemStacks
private final NonNullList
<ItemStack> ResultContainer.itemStacks
private final NonNullList
<ItemStack> AbstractContainerMenu.lastSlots
private final NonNullList
<ItemStack> AbstractContainerMenu.remoteSlots
final NonNullList
<Slot> AbstractContainerMenu.slots
Modifier and TypeMethodDescriptionvoid
ContainerSynchronizer.sendInitialData
(AbstractContainerMenu p_150535_, NonNullList<ItemStack> p_150536_, ItemStack p_150537_, int[] p_150538_) ModifierConstructorDescriptionTransientCraftingContainer
(AbstractContainerMenu p_287708_, int p_287591_, int p_287609_, NonNullList<ItemStack> p_287695_) -
Uses of NonNullList in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionprivate final NonNullList
<ItemStack> ItemContainerContents.items
Modifier and TypeMethodDescriptionvoid
ItemContainerContents.copyInto
(NonNullList<ItemStack> p_330513_) -
Uses of NonNullList in net.minecraft.world.item.crafting
Modifier and TypeFieldDescriptionprivate final NonNullList
<Ingredient> ShapedRecipePattern.ingredients
(package private) final NonNullList
<Ingredient> ShapelessRecipe.ingredients
private final NonNullList
<ItemStack> RecipeCache.Entry.key
The field for thekey
record component.Modifier and TypeMethodDescriptionAbstractCookingRecipe.getIngredients()
default NonNullList
<Ingredient> Recipe.getIngredients()
ShapedRecipe.getIngredients()
ShapelessRecipe.getIngredients()
SingleItemRecipe.getIngredients()
BannerDuplicateRecipe.getRemainingItems
(CraftingInput p_345377_) BookCloningRecipe.getRemainingItems
(CraftingInput p_344763_) default NonNullList
<ItemStack> Recipe.getRemainingItems
(T p_345383_) <I extends RecipeInput,
T extends Recipe<I>>
NonNullList<ItemStack> RecipeManager.getRemainingItemsFor
(RecipeType<T> p_44070_, I p_345118_, Level p_44072_) ShapedRecipePattern.ingredients()
RecipeCache.Entry.key()
Returns the value of thekey
record component.ModifierConstructorDescription(package private)
Entry
(NonNullList<ItemStack> key, int width, int height, RecipeHolder<CraftingRecipe> value) Creates an instance of aEntry
record class.ShapedRecipePattern
(int p_311959_, int p_312714_, NonNullList<Ingredient> p_312761_, Optional<ShapedRecipePattern.Data> p_312427_) ShapelessRecipe
(String p_249640_, CraftingBookCategory p_249390_, ItemStack p_252071_, NonNullList<Ingredient> p_250689_) -
Uses of NonNullList in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprotected NonNullList
<ItemStack> AbstractFurnaceBlockEntity.items
private NonNullList
<ItemStack> BarrelBlockEntity.items
private NonNullList
<ItemStack> BrewingStandBlockEntity.items
private final NonNullList
<ItemStack> CampfireBlockEntity.items
private NonNullList
<ItemStack> ChestBlockEntity.items
private final NonNullList
<ItemStack> ChiseledBookShelfBlockEntity.items
private NonNullList
<ItemStack> CrafterBlockEntity.items
private NonNullList
<ItemStack> DispenserBlockEntity.items
private NonNullList
<ItemStack> HopperBlockEntity.items
private NonNullList
<ItemStack> ShulkerBoxBlockEntity.itemStacks
Modifier and TypeMethodDescriptionprotected NonNullList
<ItemStack> AbstractFurnaceBlockEntity.getItems()
protected NonNullList
<ItemStack> BarrelBlockEntity.getItems()
protected abstract NonNullList
<ItemStack> BaseContainerBlockEntity.getItems()
protected NonNullList
<ItemStack> BrewingStandBlockEntity.getItems()
CampfireBlockEntity.getItems()
protected NonNullList
<ItemStack> ChestBlockEntity.getItems()
CrafterBlockEntity.getItems()
protected NonNullList
<ItemStack> DispenserBlockEntity.getItems()
protected NonNullList
<ItemStack> HopperBlockEntity.getItems()
protected NonNullList
<ItemStack> ShulkerBoxBlockEntity.getItems()
Modifier and TypeMethodDescriptionprivate static boolean
AbstractFurnaceBlockEntity.burn
(RegistryAccess p_266740_, RecipeHolder<?> p_300910_, NonNullList<ItemStack> p_267073_, int p_267157_, AbstractFurnaceBlockEntity furnace) private static boolean
AbstractFurnaceBlockEntity.canBurn
(RegistryAccess p_266924_, RecipeHolder<?> p_301107_, NonNullList<ItemStack> p_155007_, int p_155008_, AbstractFurnaceBlockEntity furnace) private static void
BrewingStandBlockEntity.doBrew
(Level p_155291_, BlockPos p_155292_, NonNullList<ItemStack> p_155293_) private static boolean
BrewingStandBlockEntity.isBrewable
(PotionBrewing p_341061_, NonNullList<ItemStack> p_155295_) protected void
AbstractFurnaceBlockEntity.setItems
(NonNullList<ItemStack> p_332808_) protected void
BarrelBlockEntity.setItems
(NonNullList<ItemStack> p_58610_) protected abstract void
BaseContainerBlockEntity.setItems
(NonNullList<ItemStack> p_332640_) protected void
BrewingStandBlockEntity.setItems
(NonNullList<ItemStack> p_332710_) protected void
ChestBlockEntity.setItems
(NonNullList<ItemStack> p_59110_) protected void
CrafterBlockEntity.setItems
(NonNullList<ItemStack> p_307392_) protected void
DispenserBlockEntity.setItems
(NonNullList<ItemStack> p_59243_) protected void
HopperBlockEntity.setItems
(NonNullList<ItemStack> p_59371_) protected void
ShulkerBoxBlockEntity.setItems
(NonNullList<ItemStack> p_59674_) -
Uses of NonNullList in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionstatic boolean
EventHooks.onPotionAttemptBrew
(NonNullList<ItemStack> stacks) static void
EventHooks.onPotionBrewed
(NonNullList<ItemStack> brewingItemStacks) -
Uses of NonNullList in net.neoforged.neoforge.event.brewing
ModifierConstructorDescriptionPost
(NonNullList<ItemStack> stacks) protected
PotionBrewEvent
(NonNullList<ItemStack> stacks) Pre
(NonNullList<ItemStack> stacks) -
Uses of NonNullList in net.neoforged.neoforge.event.entity.player
Modifier and TypeMethodDescriptionItemFishedEvent.getDrops()
Use this to get the items the player will receive. -
Uses of NonNullList in net.neoforged.neoforge.items