All Known Implementing Classes:
AlphabeticalItemGroupFiller, ModdedTargetedItemGroupFiller, TargetedItemGroupFiller, VanillaTargetedItemGroupFiller
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ItemGroupFiller
Interface implemented on classes for special filling of Items in CreativeModeTabs.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fillItem(net.minecraft.world.item.Item item, net.minecraft.world.item.CreativeModeTab tab, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> items)
    Fills an Item for a CreativeModeTab given a NonNullList of the ItemStacks for that CreativeModeTab.
  • Method Details

    • fillItem

      void fillItem(net.minecraft.world.item.Item item, net.minecraft.world.item.CreativeModeTab tab, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> items)
      Fills an Item for a CreativeModeTab given a NonNullList of the ItemStacks for that CreativeModeTab.
      Parameters:
      item - The Item to fill.
      tab - The CreativeModeTab to fill into.
      items - A NonNullList of the ItemStacks for the CreativeModeTab.