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 capacity) static <E> NonNullList<E> NonNullList.of(E defaultValue, E... values) 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.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> list) static voidContainerHelper.loadAllItems(ValueInput input, NonNullList<ItemStack> itemStacks) static voidContainerHelper.saveAllItems(ValueOutput output, NonNullList<ItemStack> itemStacks) static voidContainerHelper.saveAllItems(ValueOutput output, NonNullList<ItemStack> itemStacks, boolean alsoWhenEmpty) -
Uses of NonNullList in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player declared as NonNullListMethods in net.minecraft.world.entity.player that return NonNullList -
Uses of NonNullList in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return NonNullList -
Uses of NonNullList in net.minecraft.world.entity.vehicle.boat
Fields in net.minecraft.world.entity.vehicle.boat declared as NonNullListMethods in net.minecraft.world.entity.vehicle.boat that return NonNullList -
Uses of NonNullList in net.minecraft.world.entity.vehicle.minecart
Fields in net.minecraft.world.entity.vehicle.minecart declared as NonNullListModifier and TypeFieldDescriptionprivate NonNullList<ItemStack> AbstractMinecartContainer.itemStacksMethods in net.minecraft.world.entity.vehicle.minecart that return NonNullList -
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<RemoteSlot> AbstractContainerMenu.remoteSlotsfinal NonNullList<Slot> AbstractContainerMenu.slotsMethods in net.minecraft.world.inventory that return NonNullListModifier and TypeMethodDescriptionprivate static NonNullList<ItemStack> ResultSlot.copyAllInputItems(CraftingInput input) AbstractContainerMenu.getItems()private NonNullList<ItemStack> ResultSlot.getRemainingItems(CraftingInput input, Level level) Constructors in net.minecraft.world.inventory with parameters of type NonNullListModifierConstructorDescriptionprivateTransientCraftingContainer(AbstractContainerMenu menu, int width, int height, NonNullList<ItemStack> items) -
Uses of NonNullList in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type NonNullListModifier and TypeMethodDescriptionvoidItemContainerContents.copyInto(NonNullList<ItemStack> destination) -
Uses of NonNullList in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as NonNullListModifier and TypeFieldDescriptionprivate final NonNullList<ItemStack> RecipeCache.Entry.keyThe field for thekeyrecord component.Methods in net.minecraft.world.item.crafting that return NonNullListModifier and TypeMethodDescriptionstatic NonNullList<ItemStack> CraftingRecipe.defaultCraftingReminder(CraftingInput input) BannerDuplicateRecipe.getRemainingItems(CraftingInput input) BookCloningRecipe.getRemainingItems(CraftingInput input) default NonNullList<ItemStack> CraftingRecipe.getRemainingItems(CraftingInput input) RecipeCache.Entry.key()Returns the value of thekeyrecord component.Constructors in net.minecraft.world.item.crafting with parameters of type NonNullListModifierConstructorDescriptionprivateEntry(NonNullList<ItemStack> key, int width, int height, @Nullable RecipeHolder<CraftingRecipe> value) Creates an instance of aEntryrecord class. -
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 final NonNullList<ItemStack> ShelfBlockEntity.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()ChiseledBookShelfBlockEntity.getItems()CrafterBlockEntity.getItems()protected NonNullList<ItemStack> DispenserBlockEntity.getItems()protected NonNullList<ItemStack> HopperBlockEntity.getItems()ListBackedContainer.getItems()ShelfBlockEntity.getItems()protected NonNullList<ItemStack> ShulkerBoxBlockEntity.getItems()Methods in net.minecraft.world.level.block.entity with parameters of type NonNullListModifier and TypeMethodDescriptionprivate static voidAbstractFurnaceBlockEntity.burn(NonNullList<ItemStack> items, ItemStack inputItemStack, ItemStack result) private static booleanAbstractFurnaceBlockEntity.canBurn(NonNullList<ItemStack> items, int maxStackSize, ItemStack burnResult) private static voidAbstractFurnaceBlockEntity.consumeFuel(NonNullList<ItemStack> items, ItemStack fuel) 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 NonNullListModifier and TypeFieldDescriptionprotected NonNullList<ItemStack> ItemStackHandler.stacksDeprecated, for removal: This API element is subject to removal in a future version.Constructors in net.neoforged.neoforge.items with parameters of type NonNullListModifierConstructorDescriptionItemStackHandler(NonNullList<ItemStack> stacks) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of NonNullList in net.neoforged.neoforge.transfer
Fields in net.neoforged.neoforge.transfer declared as NonNullListFields in net.neoforged.neoforge.transfer with type parameters of type NonNullListModifier and TypeFieldDescriptionprotected final com.mojang.serialization.Codec<NonNullList<S>> StacksResourceHandler.codecMethods in net.neoforged.neoforge.transfer that return NonNullListModifier and TypeMethodDescriptionStacksResourceHandler.copyToList()Copies all the contents of this handler to a mutable fixed-sizeNonNullList.private NonNullList<S> StacksResourceHandler.mutableCopyOf(Collection<S> list) Creates aNonNullListthat is a fixed-size mutable copy of the given collection.Methods in net.neoforged.neoforge.transfer with parameters of type NonNullListModifier and TypeMethodDescriptionprotected voidStacksResourceHandler.setStacks(NonNullList<S> stacks) Changes the list of stacks.Constructors in net.neoforged.neoforge.transfer with parameters of type NonNullListModifierConstructorDescriptionResourceStacksResourceHandler(NonNullList<ResourceStack<R>> stacks, R emptyResource, com.mojang.serialization.Codec<ResourceStack<R>> stackCodec) protectedStacksResourceHandler(NonNullList<S> stacks, S emptyStack, com.mojang.serialization.Codec<S> stackCodec) -
Uses of NonNullList in net.neoforged.neoforge.transfer.fluid
Constructors in net.neoforged.neoforge.transfer.fluid with parameters of type NonNullListModifierConstructorDescriptionFluidStacksResourceHandler(NonNullList<FluidStack> stacks, int capacity) -
Uses of NonNullList in net.neoforged.neoforge.transfer.item
Constructors in net.neoforged.neoforge.transfer.item with parameters of type NonNullList