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.client.gui.screens.inventory.tooltip
-
Uses of NonNullList in net.minecraft.client.player.inventory
-
Uses of NonNullList in net.minecraft.core
Modifier and TypeMethodDescriptionstatic <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_) -
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_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_) static CompoundTag
ContainerHelper.saveAllItems
(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_) -
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>
CraftingContainer.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_) -
Uses of NonNullList in net.minecraft.world.inventory.tooltip
-
Uses of NonNullList in net.minecraft.world.item.crafting
Modifier and TypeFieldDescription(package private) final NonNullList<Ingredient>
ShapelessRecipe.ingredients
(package private) final NonNullList<Ingredient>
ShapedRecipe.recipeItems
Modifier and TypeMethodDescription(package private) static NonNullList<Ingredient>
ShapedRecipe.dissolvePattern
(String[] p_44203_, Map<String, Ingredient> p_44204_, int p_44205_, int p_44206_) AbstractCookingRecipe.getIngredients()
default NonNullList<Ingredient>
Recipe.getIngredients()
ShapedRecipe.getIngredients()
ShapelessRecipe.getIngredients()
SingleItemRecipe.getIngredients()
BannerDuplicateRecipe.getRemainingItems
(CraftingContainer p_43791_) BookCloningRecipe.getRemainingItems
(CraftingContainer p_43820_) default NonNullList<ItemStack>
Recipe.getRemainingItems
(C p_44004_) <C extends Container,
T extends Recipe<C>>
NonNullList<ItemStack>RecipeManager.getRemainingItemsFor
(RecipeType<T> p_44070_, C p_44071_, Level p_44072_) private static NonNullList<Ingredient>
ShapelessRecipe.Serializer.itemsFromJson
(com.google.gson.JsonArray p_44276_) ModifierConstructorDescriptionShapedRecipe
(ResourceLocation p_250963_, String p_250221_, CraftingBookCategory p_250716_, int p_251480_, int p_251980_, NonNullList<Ingredient> p_252150_, ItemStack p_248581_) ShapelessRecipe
(ResourceLocation p_251840_, 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>
DispenserBlockEntity.items
private NonNullList<ItemStack>
HopperBlockEntity.items
private NonNullList<ItemStack>
ShulkerBoxBlockEntity.itemStacks
Modifier and TypeMethodDescriptionprotected NonNullList<ItemStack>
BarrelBlockEntity.getItems()
CampfireBlockEntity.getItems()
protected NonNullList<ItemStack>
ChestBlockEntity.getItems()
protected NonNullList<ItemStack>
DispenserBlockEntity.getItems()
protected NonNullList<ItemStack>
HopperBlockEntity.getItems()
protected abstract NonNullList<ItemStack>
RandomizableContainerBlockEntity.getItems()
protected NonNullList<ItemStack>
ShulkerBoxBlockEntity.getItems()
Modifier and TypeMethodDescriptionprivate boolean
AbstractFurnaceBlockEntity.burn
(Recipe<?> p_155027_, NonNullList<ItemStack> p_155028_, int p_155029_) private boolean
AbstractFurnaceBlockEntity.canBurn
(Recipe<?> p_155006_, NonNullList<ItemStack> p_155007_, int p_155008_) private static void
BrewingStandBlockEntity.doBrew
(Level p_155291_, BlockPos p_155292_, NonNullList<ItemStack> p_155293_) private static boolean
BrewingStandBlockEntity.isBrewable
(NonNullList<ItemStack> p_155295_) protected void
BarrelBlockEntity.setItems
(NonNullList<ItemStack> p_58610_) protected void
ChestBlockEntity.setItems
(NonNullList<ItemStack> p_59110_) protected void
DispenserBlockEntity.setItems
(NonNullList<ItemStack> p_59243_) protected void
HopperBlockEntity.setItems
(NonNullList<ItemStack> p_59371_) protected abstract void
RandomizableContainerBlockEntity.setItems
(NonNullList<ItemStack> p_59625_) protected void
ShulkerBoxBlockEntity.setItems
(NonNullList<ItemStack> p_59674_) -
Uses of NonNullList in net.minecraftforge.common.brewing
Modifier and TypeMethodDescriptionstatic void
BrewingRecipeRegistry.brewPotions
(NonNullList<ItemStack> inputs, ItemStack ingredient, int[] inputIndexes) Used by the brewing stand to brew its inventory Extra parameters exist to allow modders to create bigger brewing stands without much hasslestatic boolean
BrewingRecipeRegistry.canBrew
(NonNullList<ItemStack> inputs, ItemStack ingredient, int[] inputIndexes) Used by the brewing stand to determine if its contents can be brewed. -
Uses of NonNullList in net.minecraftforge.debug.recipe.recipebook
Modifier and TypeFieldDescriptionprivate final NonNullList<Ingredient>
RecipeBookTestRecipe.items
-
Uses of NonNullList in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onPotionAttemptBrew
(NonNullList<ItemStack> stacks) static void
ForgeEventFactory.onPotionBrewed
(NonNullList<ItemStack> brewingItemStacks) -
Uses of NonNullList in net.minecraftforge.event.brewing
ModifierConstructorDescriptionPost
(NonNullList<ItemStack> stacks) protected
PotionBrewEvent
(NonNullList<ItemStack> stacks) Pre
(NonNullList<ItemStack> stacks) -
Uses of NonNullList in net.minecraftforge.event.entity.player
Modifier and TypeMethodDescriptionItemFishedEvent.getDrops()
Use this to get the items the player will receive. -
Uses of NonNullList in net.minecraftforge.items
-
Uses of NonNullList in net.minecraftforge.items.wrapper
Modifier and TypeFieldDescriptionprivate NonNullList<ItemStack>
ShulkerItemStackInvWrapper.itemStacksCache
Modifier and TypeMethodDescriptionprivate NonNullList<ItemStack>
ShulkerItemStackInvWrapper.getItemList()
private NonNullList<ItemStack>
ShulkerItemStackInvWrapper.refreshItemList
(CompoundTag rootTag) Modifier and TypeMethodDescriptionprivate void
ShulkerItemStackInvWrapper.setItemList
(NonNullList<ItemStack> itemStacks)