Uses of Class
net.minecraft.core.NonNullList
Packages that use NonNullList
Package
Description
-
Uses of NonNullList in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as NonNullListModifier and TypeFieldDescriptionfinal NonNullList<ItemStack> CreativeModeInventoryScreen.ItemPickerMenu.itemsThe list of items in this container. -
Uses of NonNullList in net.minecraft.core
Methods 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 initialCapacity) static <E> NonNullList<E> NonNullList.of(E defaultValue, E... elements) static <E> NonNullList<E> NonNullList.withSize(int size, E defaultValue) Creates a new NonNullList with fixed size and default value.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.recipes
Fields in net.minecraft.data.recipes declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<Ingredient> ShapelessRecipeBuilder.ingredients -
Uses of NonNullList in net.minecraft.network.protocol.game
Constructors in net.minecraft.network.protocol.game with parameters of type NonNullListModifierConstructorDescriptionClientboundContainerSetContentPacket(int containerId, int stateId, NonNullList<ItemStack> items, ItemStack carriedItem) -
Uses of NonNullList in net.minecraft.world
Fields 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 level, BlockPos pos, NonNullList<ItemStack> stackList) static voidContainerHelper.loadAllItems(CompoundTag tag, NonNullList<ItemStack> items, HolderLookup.Provider levelRegistry) static CompoundTagContainerHelper.saveAllItems(CompoundTag tag, NonNullList<ItemStack> items, boolean alwaysPutTag, HolderLookup.Provider levelRegistry) static CompoundTagContainerHelper.saveAllItems(CompoundTag tag, NonNullList<ItemStack> items, HolderLookup.Provider levelRegistry) -
Uses of NonNullList in net.minecraft.world.entity
Fields 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.decoration
Fields 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.player
Fields 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.vehicle
Fields 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.inventory
Fields 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 container, NonNullList<ItemStack> items, ItemStack carriedItem, int[] initialData) Constructors in net.minecraft.world.inventory with parameters of type NonNullListModifierConstructorDescriptionTransientCraftingContainer(AbstractContainerMenu menu, int width, int height, NonNullList<ItemStack> items) -
Uses of NonNullList in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack> ItemContainerContents.itemsMethods in net.minecraft.world.item.component with parameters of type NonNullListModifier and TypeMethodDescriptionvoidItemContainerContents.copyInto(NonNullList<ItemStack> list) Constructors in net.minecraft.world.item.component with parameters of type NonNullList -
Uses of NonNullList in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<Ingredient> ShapedRecipePattern.ingredients(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(CraftingInput input) BookCloningRecipe.getRemainingItems(CraftingInput input) default NonNullList<ItemStack> Recipe.getRemainingItems(T input) <I extends RecipeInput,T extends Recipe<I>>
NonNullList<ItemStack> RecipeManager.getRemainingItemsFor(RecipeType<T> recipeType, I input, Level lvel) ShapedRecipePattern.ingredients()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, int width, int height, RecipeHolder<CraftingRecipe> value) Creates an instance of aEntryrecord class.ShapedRecipePattern(int width, int height, NonNullList<Ingredient> ingredients, Optional<ShapedRecipePattern.Data> data) ShapelessRecipe(String group, CraftingBookCategory category, ItemStack result, NonNullList<Ingredient> ingredients) -
Uses of NonNullList in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as NonNullListModifier and TypeFieldDescriptionprotected NonNullList<ItemStack> AbstractFurnaceBlockEntity.itemsprivate NonNullList<ItemStack> BarrelBlockEntity.itemsprivate NonNullList<ItemStack> BrewingStandBlockEntity.itemsThe items currently placed in the slots of the brewing stand.private 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> AbstractFurnaceBlockEntity.getItems()protected NonNullList<ItemStack> BarrelBlockEntity.getItems()protected abstract NonNullList<ItemStack> BaseContainerBlockEntity.getItems()protected NonNullList<ItemStack> BrewingStandBlockEntity.getItems()CampfireBlockEntity.getItems()protected NonNullList<ItemStack> ChestBlockEntity.getItems()CrafterBlockEntity.getItems()protected NonNullList<ItemStack> DispenserBlockEntity.getItems()protected NonNullList<ItemStack> HopperBlockEntity.getItems()protected NonNullList<ItemStack> ShulkerBoxBlockEntity.getItems()Methods in net.minecraft.world.level.block.entity with parameters of type NonNullListModifier and TypeMethodDescriptionprivate static booleanAbstractFurnaceBlockEntity.burn(RegistryAccess registryAccess, RecipeHolder<?> recipe, NonNullList<ItemStack> inventory, int maxStackSize, AbstractFurnaceBlockEntity furnace) private static booleanAbstractFurnaceBlockEntity.canBurn(RegistryAccess registryAccess, RecipeHolder<?> recipe, NonNullList<ItemStack> inventory, int maxStackSize, AbstractFurnaceBlockEntity furnace) private static voidBrewingStandBlockEntity.doBrew(Level level, BlockPos pos, NonNullList<ItemStack> items) private static booleanBrewingStandBlockEntity.isBrewable(PotionBrewing potionBrewing, NonNullList<ItemStack> items) protected voidAbstractFurnaceBlockEntity.setItems(NonNullList<ItemStack> items) protected voidBarrelBlockEntity.setItems(NonNullList<ItemStack> items) protected abstract voidBaseContainerBlockEntity.setItems(NonNullList<ItemStack> items) protected voidBrewingStandBlockEntity.setItems(NonNullList<ItemStack> items) protected voidChestBlockEntity.setItems(NonNullList<ItemStack> items) protected voidCrafterBlockEntity.setItems(NonNullList<ItemStack> items) protected voidDispenserBlockEntity.setItems(NonNullList<ItemStack> items) protected voidHopperBlockEntity.setItems(NonNullList<ItemStack> items) protected voidShulkerBoxBlockEntity.setItems(NonNullList<ItemStack> items) -
Uses of NonNullList in net.neoforged.neoforge.event
Methods 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.brewing
Fields 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.player
Fields 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.items
Fields in net.neoforged.neoforge.items declared as NonNullListConstructors in net.neoforged.neoforge.items with parameters of type NonNullList