Uses of Class
net.minecraft.util.NonNullList
Package
Description
-
Uses of NonNullList in net.minecraft.block
Modifier and TypeMethodDescriptionvoid
Block.fillItemCategory
(ItemGroup p_149666_1_, NonNullList<ItemStack> p_149666_2_) -
Uses of NonNullList in net.minecraft.client.gui.screen.inventory
Modifier and TypeFieldDescriptionfinal NonNullList<ItemStack>
CreativeScreen.CreativeContainer.items
Modifier and TypeMethodDescriptionvoid
AbstractRepairScreen.refreshContainer
(Container p_71110_1_, NonNullList<ItemStack> p_71110_2_) void
CreativeCraftingListener.refreshContainer
(Container p_71110_1_, NonNullList<ItemStack> p_71110_2_) -
Uses of NonNullList in net.minecraft.client.settings
-
Uses of NonNullList in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>
MobEntity.armorItems
private final NonNullList<ItemStack>
MobEntity.handItems
private final NonNullList<ItemStack>
LivingEntity.lastArmorItemStacks
private final NonNullList<ItemStack>
LivingEntity.lastHandItemStacks
-
Uses of NonNullList in net.minecraft.entity.item
Modifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>
ArmorStandEntity.armorItems
private final NonNullList<ItemStack>
ArmorStandEntity.handItems
-
Uses of NonNullList in net.minecraft.entity.item.minecart
Modifier and TypeFieldDescriptionprivate NonNullList<ItemStack>
ContainerMinecartEntity.itemStacks
-
Uses of NonNullList in net.minecraft.entity.player
Modifier and TypeFieldDescriptionfinal NonNullList<ItemStack>
PlayerInventory.armor
final NonNullList<ItemStack>
PlayerInventory.items
final NonNullList<ItemStack>
PlayerInventory.offhand
Modifier and TypeFieldDescriptionprivate final List<NonNullList<ItemStack>>
PlayerInventory.compartments
Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.refreshContainer
(Container p_71110_1_, NonNullList<ItemStack> p_71110_2_) -
Uses of NonNullList in net.minecraft.inventory
Modifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>
CraftingInventory.items
private final NonNullList<ItemStack>
Inventory.items
private final NonNullList<ItemStack>
CraftResultInventory.itemStacks
private final NonNullList<ItemStack>
MerchantInventory.itemStacks
Modifier and TypeMethodDescriptionstatic void
InventoryHelper.dropContents
(World p_219961_0_, BlockPos p_219961_1_, NonNullList<ItemStack> p_219961_2_) static void
ItemStackHelper.loadAllItems
(CompoundNBT p_191283_0_, NonNullList<ItemStack> p_191283_1_) static CompoundNBT
ItemStackHelper.saveAllItems
(CompoundNBT p_191282_0_, NonNullList<ItemStack> p_191282_1_) static CompoundNBT
ItemStackHelper.saveAllItems
(CompoundNBT p_191281_0_, NonNullList<ItemStack> p_191281_1_, boolean p_191281_2_) -
Uses of NonNullList in net.minecraft.inventory.container
Modifier and TypeMethodDescriptionvoid
IContainerListener.refreshContainer
(Container p_71110_1_, NonNullList<ItemStack> p_71110_2_) -
Uses of NonNullList in net.minecraft.item
Modifier and TypeMethodDescriptionvoid
BlockItem.fillItemCategory
(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) void
EnchantedBookItem.fillItemCategory
(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) void
Item.fillItemCategory
(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) void
PotionItem.fillItemCategory
(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) void
TippedArrowItem.fillItemCategory
(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) void
ItemGroup.fillItemList
(NonNullList<ItemStack> p_78018_1_) -
Uses of NonNullList in net.minecraft.item.crafting
Modifier and TypeFieldDescriptionprivate final NonNullList<Ingredient>
ShapelessRecipe.ingredients
private final NonNullList<Ingredient>
ShapedRecipe.recipeItems
Modifier and TypeMethodDescriptionprivate static NonNullList<Ingredient>
ShapedRecipe.dissolvePattern
(String[] p_192402_0_, Map<String, Ingredient> p_192402_1_, int p_192402_2_, int p_192402_3_) AbstractCookingRecipe.getIngredients()
default NonNullList<Ingredient>
IRecipe.getIngredients()
ShapedRecipe.getIngredients()
ShapelessRecipe.getIngredients()
SingleItemRecipe.getIngredients()
BannerDuplicateRecipe.getRemainingItems
(CraftingInventory p_179532_1_) BookCloningRecipe.getRemainingItems
(CraftingInventory p_179532_1_) default NonNullList<ItemStack>
IRecipe.getRemainingItems
(C p_179532_1_) <C extends IInventory,
T extends IRecipe<C>>
NonNullList<ItemStack>RecipeManager.getRemainingItemsFor
(IRecipeType<T> p_215369_1_, C p_215369_2_, World p_215369_3_) private static NonNullList<Ingredient>
ShapelessRecipe.Serializer.itemsFromJson
(com.google.gson.JsonArray p_199568_0_) ModifierConstructorDescriptionShapedRecipe
(ResourceLocation p_i48162_1_, String p_i48162_2_, int p_i48162_3_, int p_i48162_4_, NonNullList<Ingredient> p_i48162_5_, ItemStack p_i48162_6_) ShapelessRecipe
(ResourceLocation p_i48161_1_, String p_i48161_2_, ItemStack p_i48161_3_, NonNullList<Ingredient> p_i48161_4_) -
Uses of NonNullList in net.minecraft.network.play.server
ModifierConstructorDescriptionSWindowItemsPacket
(int p_i47317_1_, NonNullList<ItemStack> p_i47317_2_) -
Uses of NonNullList in net.minecraft.tileentity
Modifier and TypeFieldDescriptionprotected NonNullList<ItemStack>
AbstractFurnaceTileEntity.items
private NonNullList<ItemStack>
BarrelTileEntity.items
private NonNullList<ItemStack>
BrewingStandTileEntity.items
private final NonNullList<ItemStack>
CampfireTileEntity.items
private NonNullList<ItemStack>
ChestTileEntity.items
private NonNullList<ItemStack>
DispenserTileEntity.items
private NonNullList<ItemStack>
HopperTileEntity.items
private NonNullList<ItemStack>
ShulkerBoxTileEntity.itemStacks
Modifier and TypeMethodDescriptionprotected NonNullList<ItemStack>
BarrelTileEntity.getItems()
CampfireTileEntity.getItems()
protected NonNullList<ItemStack>
ChestTileEntity.getItems()
protected NonNullList<ItemStack>
DispenserTileEntity.getItems()
protected NonNullList<ItemStack>
HopperTileEntity.getItems()
protected abstract NonNullList<ItemStack>
LockableLootTileEntity.getItems()
protected NonNullList<ItemStack>
ShulkerBoxTileEntity.getItems()
Modifier and TypeMethodDescriptionprotected void
BarrelTileEntity.setItems
(NonNullList<ItemStack> p_199721_1_) protected void
ChestTileEntity.setItems
(NonNullList<ItemStack> p_199721_1_) protected void
DispenserTileEntity.setItems
(NonNullList<ItemStack> p_199721_1_) protected void
HopperTileEntity.setItems
(NonNullList<ItemStack> p_199721_1_) protected abstract void
LockableLootTileEntity.setItems
(NonNullList<ItemStack> p_199721_1_) protected void
ShulkerBoxTileEntity.setItems
(NonNullList<ItemStack> p_199721_1_) -
Uses of NonNullList in net.minecraft.util
Modifier and TypeMethodDescriptionstatic <E> NonNullList<E>
NonNullList.create()
static <E> NonNullList<E>
NonNullList.of
(E p_193580_0_, E... p_193580_1_) static <E> NonNullList<E>
NonNullList.withSize
(int p_191197_0_, E p_191197_1_) -
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