Class ModdedTargetedItemGroupFiller

java.lang.Object
io.github.vampirestudios.vampirelib.api.itemGroupSorting.ModdedTargetedItemGroupFiller
All Implemented Interfaces:
ItemGroupFiller

public final class ModdedTargetedItemGroupFiller extends Object implements ItemGroupFiller
Implementation class of ItemGroupFiller for filling Items after a target Item.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModdedTargetedItemGroupFiller(String modId, net.minecraft.world.item.Item targetItem)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fillItem(net.minecraft.world.item.Item item, net.minecraft.world.item.CreativeModeTab group, 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ModdedTargetedItemGroupFiller

      public ModdedTargetedItemGroupFiller(String modId, net.minecraft.world.item.Item targetItem)
  • Method Details

    • fillItem

      public void fillItem(net.minecraft.world.item.Item item, net.minecraft.world.item.CreativeModeTab group, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> items)
      Description copied from interface: ItemGroupFiller
      Fills an Item for a CreativeModeTab given a NonNullList of the ItemStacks for that CreativeModeTab.
      Specified by:
      fillItem in interface ItemGroupFiller
      Parameters:
      item - The Item to fill.
      group - The CreativeModeTab to fill into.
      items - A NonNullList of the ItemStacks for the CreativeModeTab.