Interface ITabContainedElement

All Known Implementing Classes:
Armor, Block, Dimension, Fluid, Item, LivingEntity, MusicDisc, Plant, Tool

public interface ITabContainedElement
  • Method Details

    • getCreativeTab

      @Nullable TabEntry getCreativeTab()
    • getCreativeTabItems

      List<MCItem> getCreativeTabItems()
      WARNING: Calls to this method are generally not thread safe. Implementations can call MCItem.Custom::new that calls getBlockIconBasedOnName that calls ModElement#getGeneratableElement which is not thread safe
      Returns:
      list of items in the creative tab of this element