Uses of Class
net.minecraft.core.NonNullList
Package
Description
-
Uses of NonNullList in net.minecraft.client.gui.screens.inventory
-
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 NonNullList<ItemStack>
Mob.armorItems
private NonNullList<ItemStack>
Mob.handItems
private NonNullList<ItemStack>
LivingEntity.lastArmorItemStacks
private NonNullList<ItemStack>
LivingEntity.lastHandItemStacks
-
Uses of NonNullList in net.minecraft.world.entity.decoration
Modifier and TypeFieldDescriptionprivate NonNullList<ItemStack>
ArmorStand.armorItems
private NonNullList<ItemStack>
ArmorStand.handItems
-
Uses of NonNullList in net.minecraft.world.entity.player
-
Uses of NonNullList in net.minecraft.world.entity.vehicle
Modifier and TypeFieldDescriptionprivate NonNullList<ItemStack>
AbstractMinecartContainer.itemStacks
-
Uses of NonNullList in net.minecraft.world.inventory
Modifier and TypeFieldDescriptionprivate NonNullList<ItemStack>
CraftingContainer.items
private NonNullList<ItemStack>
MerchantContainer.itemStacks
private NonNullList<ItemStack>
ResultContainer.itemStacks
private NonNullList<ItemStack>
AbstractContainerMenu.lastSlots
private NonNullList<ItemStack>
AbstractContainerMenu.remoteSlots
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
Modifier and TypeMethodDescriptionvoid
BlockItem.fillItemCategory(CreativeModeTab p_40569_, NonNullList<ItemStack> p_40570_)
void
EnchantedBookItem.fillItemCategory(CreativeModeTab p_41151_, NonNullList<ItemStack> p_41152_)
void
Item.fillItemCategory(CreativeModeTab p_41391_, NonNullList<ItemStack> p_41392_)
void
PotionItem.fillItemCategory(CreativeModeTab p_42981_, NonNullList<ItemStack> p_42982_)
void
TippedArrowItem.fillItemCategory(CreativeModeTab p_43356_, NonNullList<ItemStack> p_43357_)
void
CreativeModeTab.fillItemList(NonNullList<ItemStack> p_40778_)
-
Uses of NonNullList in net.minecraft.world.item.crafting
Modifier and TypeFieldDescription(package private) NonNullList<Ingredient>
ShapelessRecipe.ingredients
(package private) 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_44153_, String p_44154_, int p_44155_, int p_44156_, NonNullList<Ingredient> p_44157_, ItemStack p_44158_)
ShapelessRecipe(ResourceLocation p_44246_, String p_44247_, ItemStack p_44248_, NonNullList<Ingredient> p_44249_)
-
Uses of NonNullList in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionvoid
Block.fillItemCategory(CreativeModeTab p_49812_, NonNullList<ItemStack> p_49813_)
-
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 NonNullList<ItemStack>
CampfireBlockEntity.items
private NonNullList<ItemStack>
ChestBlockEntity.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.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