Uses of Class
net.minecraft.util.NonNullList
Packages that use NonNullList
Package
Description
-
Uses of NonNullList in net.minecraft.block
Methods in net.minecraft.block with parameters of type NonNullListModifier and TypeMethodDescriptionvoidBlock.fillItemCategory(ItemGroup p_149666_1_, NonNullList<ItemStack> p_149666_2_) -
Uses of NonNullList in net.minecraft.client.gui.screen.inventory
Fields in net.minecraft.client.gui.screen.inventory declared as NonNullListModifier and TypeFieldDescriptionfinal NonNullList<ItemStack>CreativeScreen.CreativeContainer.itemsMethods in net.minecraft.client.gui.screen.inventory with parameters of type NonNullListModifier and TypeMethodDescriptionvoidAbstractRepairScreen.refreshContainer(Container p_71110_1_, NonNullList<ItemStack> p_71110_2_) voidCreativeCraftingListener.refreshContainer(Container p_71110_1_, NonNullList<ItemStack> p_71110_2_) -
Uses of NonNullList in net.minecraft.client.settings
Fields in net.minecraft.client.settings declared as NonNullList -
Uses of NonNullList in net.minecraft.entity
Fields in net.minecraft.entity declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>MobEntity.armorItemsprivate final NonNullList<ItemStack>MobEntity.handItemsprivate final NonNullList<ItemStack>LivingEntity.lastArmorItemStacksprivate final NonNullList<ItemStack>LivingEntity.lastHandItemStacks -
Uses of NonNullList in net.minecraft.entity.item
Fields in net.minecraft.entity.item declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>ArmorStandEntity.armorItemsprivate final NonNullList<ItemStack>ArmorStandEntity.handItems -
Uses of NonNullList in net.minecraft.entity.item.minecart
Fields in net.minecraft.entity.item.minecart declared as NonNullListModifier and TypeFieldDescriptionprivate NonNullList<ItemStack>ContainerMinecartEntity.itemStacks -
Uses of NonNullList in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as NonNullListModifier and TypeFieldDescriptionfinal NonNullList<ItemStack>PlayerInventory.armorfinal NonNullList<ItemStack>PlayerInventory.itemsfinal NonNullList<ItemStack>PlayerInventory.offhandFields in net.minecraft.entity.player with type parameters of type NonNullListModifier and TypeFieldDescriptionprivate final List<NonNullList<ItemStack>>PlayerInventory.compartmentsMethods in net.minecraft.entity.player with parameters of type NonNullListModifier and TypeMethodDescriptionvoidServerPlayerEntity.refreshContainer(Container p_71110_1_, NonNullList<ItemStack> p_71110_2_) -
Uses of NonNullList in net.minecraft.inventory
Fields in net.minecraft.inventory declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>CraftingInventory.itemsprivate final NonNullList<ItemStack>Inventory.itemsprivate final NonNullList<ItemStack>CraftResultInventory.itemStacksprivate final NonNullList<ItemStack>MerchantInventory.itemStacksMethods in net.minecraft.inventory with parameters of type NonNullListModifier and TypeMethodDescriptionstatic voidInventoryHelper.dropContents(World p_219961_0_, BlockPos p_219961_1_, NonNullList<ItemStack> p_219961_2_) static voidItemStackHelper.loadAllItems(CompoundNBT p_191283_0_, NonNullList<ItemStack> p_191283_1_) static CompoundNBTItemStackHelper.saveAllItems(CompoundNBT p_191282_0_, NonNullList<ItemStack> p_191282_1_) static CompoundNBTItemStackHelper.saveAllItems(CompoundNBT p_191281_0_, NonNullList<ItemStack> p_191281_1_, boolean p_191281_2_) -
Uses of NonNullList in net.minecraft.inventory.container
Fields in net.minecraft.inventory.container declared as NonNullListMethods in net.minecraft.inventory.container that return NonNullListMethods in net.minecraft.inventory.container with parameters of type NonNullListModifier and TypeMethodDescriptionvoidIContainerListener.refreshContainer(Container p_71110_1_, NonNullList<ItemStack> p_71110_2_) -
Uses of NonNullList in net.minecraft.item
Methods in net.minecraft.item with parameters of type NonNullListModifier and TypeMethodDescriptionvoidBlockItem.fillItemCategory(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) voidEnchantedBookItem.fillItemCategory(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) voidItem.fillItemCategory(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) voidPotionItem.fillItemCategory(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) voidTippedArrowItem.fillItemCategory(ItemGroup p_150895_1_, NonNullList<ItemStack> p_150895_2_) voidItemGroup.fillItemList(NonNullList<ItemStack> p_78018_1_) -
Uses of NonNullList in net.minecraft.item.crafting
Fields in net.minecraft.item.crafting declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<Ingredient>ShapelessRecipe.ingredientsprivate final NonNullList<Ingredient>ShapedRecipe.recipeItemsMethods in net.minecraft.item.crafting that return NonNullListModifier 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_) Constructors in net.minecraft.item.crafting with parameters of type NonNullListModifierConstructorDescriptionShapedRecipe(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
Constructors in net.minecraft.network.play.server with parameters of type NonNullListModifierConstructorDescriptionSWindowItemsPacket(int p_i47317_1_, NonNullList<ItemStack> p_i47317_2_) -
Uses of NonNullList in net.minecraft.tileentity
Fields in net.minecraft.tileentity declared as NonNullListModifier and TypeFieldDescriptionprotected NonNullList<ItemStack>AbstractFurnaceTileEntity.itemsprivate NonNullList<ItemStack>BarrelTileEntity.itemsprivate NonNullList<ItemStack>BrewingStandTileEntity.itemsprivate final NonNullList<ItemStack>CampfireTileEntity.itemsprivate NonNullList<ItemStack>ChestTileEntity.itemsprivate NonNullList<ItemStack>DispenserTileEntity.itemsprivate NonNullList<ItemStack>HopperTileEntity.itemsprivate NonNullList<ItemStack>ShulkerBoxTileEntity.itemStacksMethods in net.minecraft.tileentity that return NonNullListModifier 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()Methods in net.minecraft.tileentity with parameters of type NonNullListModifier and TypeMethodDescriptionprotected voidBarrelTileEntity.setItems(NonNullList<ItemStack> p_199721_1_) protected voidChestTileEntity.setItems(NonNullList<ItemStack> p_199721_1_) protected voidDispenserTileEntity.setItems(NonNullList<ItemStack> p_199721_1_) protected voidHopperTileEntity.setItems(NonNullList<ItemStack> p_199721_1_) protected abstract voidLockableLootTileEntity.setItems(NonNullList<ItemStack> p_199721_1_) protected voidShulkerBoxTileEntity.setItems(NonNullList<ItemStack> p_199721_1_) -
Uses of NonNullList in net.minecraft.util
Methods in net.minecraft.util that return NonNullListModifier 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
Methods in net.minecraftforge.common.brewing with parameters of type NonNullListModifier and TypeMethodDescriptionstatic voidBrewingRecipeRegistry.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 booleanBrewingRecipeRegistry.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
Methods in net.minecraftforge.event with parameters of type NonNullListModifier and TypeMethodDescriptionstatic booleanForgeEventFactory.onPotionAttemptBrew(NonNullList<ItemStack> stacks) static voidForgeEventFactory.onPotionBrewed(NonNullList<ItemStack> brewingItemStacks) -
Uses of NonNullList in net.minecraftforge.event.brewing
Fields in net.minecraftforge.event.brewing declared as NonNullListConstructors in net.minecraftforge.event.brewing with parameters of type NonNullListModifierConstructorDescriptionPost(NonNullList<ItemStack> stacks) protectedPotionBrewEvent(NonNullList<ItemStack> stacks) Pre(NonNullList<ItemStack> stacks) -
Uses of NonNullList in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as NonNullListMethods in net.minecraftforge.event.entity.player that return NonNullListModifier and TypeMethodDescriptionItemFishedEvent.getDrops()Use this to get the items the player will receive. -
Uses of NonNullList in net.minecraftforge.items
Fields in net.minecraftforge.items declared as NonNullListConstructors in net.minecraftforge.items with parameters of type NonNullList