Class OcculusTabProvider.Builder

java.lang.Object
com.github.minecraftschurlimods.arsmagicalegacy.api.data.OcculusTabProvider.Builder
Enclosing class:
OcculusTabProvider

public static class OcculusTabProvider.Builder extends Object
  • Constructor Details

    • Builder

      public Builder(int index)
  • Method Details

    • setIndex

      public OcculusTabProvider.Builder setIndex(int index)
      Sets the index of the occulus tab.
      Parameters:
      index - The index to set.
    • setStartX

      public OcculusTabProvider.Builder setStartX(int startX)
      Sets the initial X coordinate of the occulus tab.
      Parameters:
      startX - The initial X coordinate to set.
    • setStartY

      public OcculusTabProvider.Builder setStartY(int startY)
      Sets the initial Y coordinate of the occulus tab.
      Parameters:
      startY - The initial Y coordinate to set.
    • setRenderer

      public OcculusTabProvider.Builder setRenderer(Class<? extends OcculusTabRenderer> renderer)
      Sets the renderer class of the occulus tab.
      Parameters:
      renderer - The renderer class to set.
    • setRenderer

      public OcculusTabProvider.Builder setRenderer(String renderer)
      Sets the renderer class of the occulus tab.
      Parameters:
      renderer - The renderer class to set.
    • setWidth

      public OcculusTabProvider.Builder setWidth(int width)
      Sets the width of the occulus tab.
      Parameters:
      width - The width to set.
    • setHeight

      public OcculusTabProvider.Builder setHeight(int height)
      Sets the height of the occulus tab.
      Parameters:
      height - The height to set.
    • setBackground

      public OcculusTabProvider.Builder setBackground(net.minecraft.resources.ResourceLocation background)
      Sets the background of the occulus tab.
      Parameters:
      background - The background to set.
    • setIcon

      public OcculusTabProvider.Builder setIcon(net.minecraft.resources.ResourceLocation icon)
      Sets the icon of the occulus tab.
      Parameters:
      icon - The icon to set.
    • build

      public OcculusTab build()