All Superinterfaces:
ITranslatable

public interface IOcculusTab extends ITranslatable
Interface representing a tab inside the occulus.
  • Field Details

  • Method Details

    • getBackground

      net.minecraft.resources.ResourceLocation getBackground()
      Returns:
      The location of the background texture for this skill tree.
    • getIcon

      net.minecraft.resources.ResourceLocation getIcon()
      Returns:
      The location of the icon texture for this skill tree.
    • getOcculusIndex

      int getOcculusIndex()
      Returns:
      The index this tab should appear at in the occulus.
    • getWidth

      int getWidth()
      Returns:
      The width of the background texture.
    • getHeight

      int getHeight()
      Returns:
      The height of the background texture.
    • getStartX

      int getStartX()
      Returns:
      The initial X coordinate of the background texture.
    • getStartY

      int getStartY()
      Returns:
      The initial Y coordinate of the background texture.
    • getRenderer

      String getRenderer()
      Returns:
      The path of the renderer class.
    • getRendererFactory

      Only call this on the client.
      Returns:
      The lazy renderer factory.
    • getType

      default String getType()
      Specified by:
      getType in interface ITranslatable
      Returns:
      The type of this object, for example "block" or "item".