Class ConglomerateOfItems

java.lang.Object
net.mcexpanded.fancytabsections.creativetab.ConglomerateOfItems

public class ConglomerateOfItems extends Object
  • Field Details

    • conglomerate

      public final List<Object> conglomerate
  • Constructor Details

    • ConglomerateOfItems

      public ConglomerateOfItems()
  • Method Details

    • create

      public static ConglomerateOfItems create()
    • toStacks

      public List<net.minecraft.world.item.ItemStack> toStacks()
      Converts the list of added objects to ItemStacks and caches it
    • add

      public ConglomerateOfItems add(net.minecraft.world.item.Item item)
      Add an Item to the conglomerate
    • add

      public ConglomerateOfItems add(net.minecraft.world.item.ItemStack stack)
      Add an ItemStack to the conglomerate
    • add

      public ConglomerateOfItems add(net.neoforged.neoforge.registries.DeferredItem<net.minecraft.world.item.Item> deferredItem)
      Add a DeferredItem to the conglomerate. You may call this even before registration happens
    • add

      public ConglomerateOfItems add(net.minecraft.world.level.ItemLike itemLike)
    • add

      public ConglomerateOfItems add(net.neoforged.neoforge.registries.DeferredRegister.Items deferredRegister)