Uses of Class
net.minecraft.core.NonNullList
Packages that use NonNullList
Package
Description
- 
Uses of NonNullList in net.minecraft.client.gui.screens.inventoryFields in net.minecraft.client.gui.screens.inventory declared as NonNullListModifier and TypeFieldDescriptionfinal NonNullList<ItemStack>CreativeModeInventoryScreen.ItemPickerMenu.items
- 
Uses of NonNullList in net.minecraft.client.gui.screens.inventory.tooltipFields in net.minecraft.client.gui.screens.inventory.tooltip declared as NonNullList
- 
Uses of NonNullList in net.minecraft.client.player.inventoryFields in net.minecraft.client.player.inventory declared as NonNullList
- 
Uses of NonNullList in net.minecraft.coreMethods in net.minecraft.core that return NonNullListModifier 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_) Methods in net.minecraft.core that return types with arguments of type NonNullListModifier 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.recipesFields in net.minecraft.data.recipes declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<Ingredient>ShapelessRecipeBuilder.ingredients
- 
Uses of NonNullList in net.minecraft.network.protocol.gameConstructors in net.minecraft.network.protocol.game with parameters of type NonNullListModifierConstructorDescriptionClientboundContainerSetContentPacket(int p_182704_, int p_182705_, NonNullList<ItemStack> p_182706_, ItemStack p_182707_) 
- 
Uses of NonNullList in net.minecraft.worldFields in net.minecraft.world declared as NonNullListMethods in net.minecraft.world that return NonNullListMethods in net.minecraft.world with parameters of type NonNullListModifier and TypeMethodDescriptionstatic voidContainers.dropContents(Level p_19011_, BlockPos p_19012_, NonNullList<ItemStack> p_19013_) static voidContainerHelper.loadAllItems(CompoundTag p_18981_, NonNullList<ItemStack> p_18982_) static CompoundTagContainerHelper.saveAllItems(CompoundTag p_18974_, NonNullList<ItemStack> p_18975_) static CompoundTagContainerHelper.saveAllItems(CompoundTag p_18977_, NonNullList<ItemStack> p_18978_, boolean p_18979_) 
- 
Uses of NonNullList in net.minecraft.world.entityFields in net.minecraft.world.entity declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>Mob.armorItemsprivate final NonNullList<ItemStack>Mob.handItemsprivate final NonNullList<ItemStack>LivingEntity.lastArmorItemStacksprivate final NonNullList<ItemStack>LivingEntity.lastHandItemStacks
- 
Uses of NonNullList in net.minecraft.world.entity.decorationFields in net.minecraft.world.entity.decoration declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>ArmorStand.armorItemsprivate final NonNullList<ItemStack>ArmorStand.handItems
- 
Uses of NonNullList in net.minecraft.world.entity.playerFields in net.minecraft.world.entity.player declared as NonNullListModifier and TypeFieldDescriptionfinal NonNullList<ItemStack>Inventory.armorfinal NonNullList<ItemStack>Inventory.itemsfinal NonNullList<ItemStack>Inventory.offhandFields in net.minecraft.world.entity.player with type parameters of type NonNullListModifier and TypeFieldDescriptionprivate final List<NonNullList<ItemStack>>Inventory.compartments
- 
Uses of NonNullList in net.minecraft.world.entity.vehicleFields in net.minecraft.world.entity.vehicle declared as NonNullListModifier and TypeFieldDescriptionprivate NonNullList<ItemStack>AbstractMinecartContainer.itemStacksprivate NonNullList<ItemStack>ChestBoat.itemStacksMethods in net.minecraft.world.entity.vehicle that return NonNullListModifier and TypeMethodDescriptionAbstractMinecartContainer.getItemStacks()ChestBoat.getItemStacks()ContainerEntity.getItemStacks()
- 
Uses of NonNullList in net.minecraft.world.inventoryFields in net.minecraft.world.inventory declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack>TransientCraftingContainer.itemsprivate final NonNullList<ItemStack>MerchantContainer.itemStacksprivate final NonNullList<ItemStack>ResultContainer.itemStacksprivate final NonNullList<ItemStack>AbstractContainerMenu.lastSlotsprivate final NonNullList<ItemStack>AbstractContainerMenu.remoteSlotsfinal NonNullList<Slot>AbstractContainerMenu.slotsMethods in net.minecraft.world.inventory that return NonNullListMethods in net.minecraft.world.inventory with parameters of type NonNullListModifier and TypeMethodDescriptionvoidContainerSynchronizer.sendInitialData(AbstractContainerMenu p_150535_, NonNullList<ItemStack> p_150536_, ItemStack p_150537_, int[] p_150538_) Constructors in net.minecraft.world.inventory with parameters of type NonNullListModifierConstructorDescriptionTransientCraftingContainer(AbstractContainerMenu p_287708_, int p_287591_, int p_287609_, NonNullList<ItemStack> p_287695_) 
- 
Uses of NonNullList in net.minecraft.world.inventory.tooltipFields in net.minecraft.world.inventory.tooltip declared as NonNullListMethods in net.minecraft.world.inventory.tooltip that return NonNullListConstructors in net.minecraft.world.inventory.tooltip with parameters of type NonNullList
- 
Uses of NonNullList in net.minecraft.world.item.craftingFields in net.minecraft.world.item.crafting declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<Ingredient>ShapedRecipePattern.ingredientsThe field for theingredientsrecord component.(package private) final NonNullList<Ingredient>ShapelessRecipe.ingredientsprivate final NonNullList<ItemStack>RecipeCache.Entry.keyThe field for thekeyrecord component.Methods in net.minecraft.world.item.crafting that return NonNullListModifier and TypeMethodDescriptionAbstractCookingRecipe.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_) ShapedRecipePattern.ingredients()Returns the value of theingredientsrecord component.RecipeCache.Entry.key()Returns the value of thekeyrecord component.Constructors in net.minecraft.world.item.crafting with parameters of type NonNullListModifierConstructorDescription(package private)Entry(NonNullList<ItemStack> key, CraftingRecipe value) Creates an instance of aEntryrecord class.ShapedRecipePattern(int width, int height, NonNullList<Ingredient> ingredients, Optional<ShapedRecipePattern.Data> data) Creates an instance of aShapedRecipePatternrecord class.ShapelessRecipe(String p_249640_, CraftingBookCategory p_249390_, ItemStack p_252071_, NonNullList<Ingredient> p_250689_) 
- 
Uses of NonNullList in net.minecraft.world.level.block.entityFields in net.minecraft.world.level.block.entity declared as NonNullListModifier and TypeFieldDescriptionprotected NonNullList<ItemStack>AbstractFurnaceBlockEntity.itemsprivate NonNullList<ItemStack>BarrelBlockEntity.itemsprivate NonNullList<ItemStack>BrewingStandBlockEntity.itemsprivate final NonNullList<ItemStack>CampfireBlockEntity.itemsprivate NonNullList<ItemStack>ChestBlockEntity.itemsprivate final NonNullList<ItemStack>ChiseledBookShelfBlockEntity.itemsprivate NonNullList<ItemStack>CrafterBlockEntity.itemsprivate NonNullList<ItemStack>DispenserBlockEntity.itemsprivate NonNullList<ItemStack>HopperBlockEntity.itemsprivate NonNullList<ItemStack>ShulkerBoxBlockEntity.itemStacksMethods in net.minecraft.world.level.block.entity that return NonNullListModifier and TypeMethodDescriptionprotected NonNullList<ItemStack>BarrelBlockEntity.getItems()CampfireBlockEntity.getItems()protected NonNullList<ItemStack>ChestBlockEntity.getItems()CrafterBlockEntity.getItems()protected NonNullList<ItemStack>DispenserBlockEntity.getItems()protected NonNullList<ItemStack>HopperBlockEntity.getItems()protected abstract NonNullList<ItemStack>RandomizableContainerBlockEntity.getItems()protected NonNullList<ItemStack>ShulkerBoxBlockEntity.getItems()Methods in net.minecraft.world.level.block.entity with parameters of type NonNullListModifier and TypeMethodDescriptionprivate booleanAbstractFurnaceBlockEntity.burn(RegistryAccess p_266740_, RecipeHolder<?> p_300910_, NonNullList<ItemStack> p_267073_, int p_267157_) private booleanAbstractFurnaceBlockEntity.canBurn(RegistryAccess p_266924_, RecipeHolder<?> p_301107_, NonNullList<ItemStack> p_155007_, int p_155008_) private static voidBrewingStandBlockEntity.doBrew(Level p_155291_, BlockPos p_155292_, NonNullList<ItemStack> p_155293_) private static booleanBrewingStandBlockEntity.isBrewable(NonNullList<ItemStack> p_155295_) protected voidBarrelBlockEntity.setItems(NonNullList<ItemStack> p_58610_) protected voidChestBlockEntity.setItems(NonNullList<ItemStack> p_59110_) protected voidCrafterBlockEntity.setItems(NonNullList<ItemStack> p_307392_) protected voidDispenserBlockEntity.setItems(NonNullList<ItemStack> p_59243_) protected voidHopperBlockEntity.setItems(NonNullList<ItemStack> p_59371_) protected abstract voidRandomizableContainerBlockEntity.setItems(NonNullList<ItemStack> p_59625_) protected voidShulkerBoxBlockEntity.setItems(NonNullList<ItemStack> p_59674_) 
- 
Uses of NonNullList in net.neoforged.neoforge.common.brewingMethods in net.neoforged.neoforge.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.neoforged.neoforge.eventMethods in net.neoforged.neoforge.event with parameters of type NonNullListModifier and TypeMethodDescriptionstatic booleanEventHooks.onPotionAttemptBrew(NonNullList<ItemStack> stacks) static voidEventHooks.onPotionBrewed(NonNullList<ItemStack> brewingItemStacks) 
- 
Uses of NonNullList in net.neoforged.neoforge.event.brewingFields in net.neoforged.neoforge.event.brewing declared as NonNullListConstructors in net.neoforged.neoforge.event.brewing with parameters of type NonNullListModifierConstructorDescriptionPost(NonNullList<ItemStack> stacks) protectedPotionBrewEvent(NonNullList<ItemStack> stacks) Pre(NonNullList<ItemStack> stacks) 
- 
Uses of NonNullList in net.neoforged.neoforge.event.entity.playerFields in net.neoforged.neoforge.event.entity.player declared as NonNullListMethods in net.neoforged.neoforge.event.entity.player that return NonNullListModifier and TypeMethodDescriptionItemFishedEvent.getDrops()Use this to get the items the player will receive.
- 
Uses of NonNullList in net.neoforged.neoforge.itemsFields in net.neoforged.neoforge.items declared as NonNullListConstructors in net.neoforged.neoforge.items with parameters of type NonNullList
- 
Uses of NonNullList in net.neoforged.neoforge.items.wrapperFields in net.neoforged.neoforge.items.wrapper declared as NonNullListModifier and TypeFieldDescriptionprivate NonNullList<ItemStack>ShulkerItemStackInvWrapper.itemStacksCacheMethods in net.neoforged.neoforge.items.wrapper that return NonNullListModifier and TypeMethodDescriptionprivate NonNullList<ItemStack>ShulkerItemStackInvWrapper.getItemList()private NonNullList<ItemStack>ShulkerItemStackInvWrapper.refreshItemList(CompoundTag rootTag) Methods in net.neoforged.neoforge.items.wrapper with parameters of type NonNullListModifier and TypeMethodDescriptionprivate voidShulkerItemStackInvWrapper.setItemList(NonNullList<ItemStack> itemStacks) 
- 
Uses of NonNullList in net.neoforged.neoforge.oldtest.recipebookFields in net.neoforged.neoforge.oldtest.recipebook declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<Ingredient>RecipeBookTestRecipe.itemsMethods in net.neoforged.neoforge.oldtest.recipebook that return NonNullList