Class FancyTabSections

java.lang.Object
net.mcexpanded.fancytabsections.FancyTabSections

public class FancyTabSections extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map<net.minecraft.resources.ResourceLocation,List<net.minecraft.world.item.ItemStack>>
     
    static final String
     
    static final Map<net.minecraft.resources.ResourceLocation,List<Section>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FancyTabSections(net.neoforged.bus.api.IEventBus modEventBus)
    An example of an implementation can be found on FTSExampleMod
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addSection(net.minecraft.resources.ResourceLocation tab, Section section)
    Adds a Fancy Tab Section to the given CreativeModeTab Identifier

    Methods inherited from class java.lang.Object

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

    • MOD_ID

      public static final String MOD_ID
      See Also:
    • SECTIONS_MAP

      public static final Map<net.minecraft.resources.ResourceLocation,List<Section>> SECTIONS_MAP
    • ITEMS_MAP

      public static final Map<net.minecraft.resources.ResourceLocation,List<net.minecraft.world.item.ItemStack>> ITEMS_MAP
  • Constructor Details

    • FancyTabSections

      public FancyTabSections(net.neoforged.bus.api.IEventBus modEventBus)
      An example of an implementation can be found on FTSExampleMod
  • Method Details

    • addSection

      public static void addSection(net.minecraft.resources.ResourceLocation tab, Section section)
      Adds a Fancy Tab Section to the given CreativeModeTab Identifier