Interface OcculusTab.OcculusTabRendererFactory

Enclosing class:
OcculusTab

public static interface OcculusTab.OcculusTabRendererFactory
Factory interface to create occulus tab renderers.
  • Method Details

    • of

      Helper method to create occulus tab renderers.
      Parameters:
      clazz - The renderer class to use.
      Returns:
      A new occulus tab renderer.
    • create

      OcculusTabRenderer create(OcculusTab tab, net.minecraft.client.gui.screens.Screen parent)
      Creates a new occulus tab renderer. Functional method of this interface.
      Parameters:
      tab - The occulus tab to create the renderer for.
      parent - The parent screen to create the renderer for.
      Returns:
      A new occulus tab renderer.