Class AbstractDisplay<T extends RenderOptions>

java.lang.Object
net.darkhax.botanypots.common.api.data.display.types.AbstractDisplay<T>
Type Parameters:
T - The type of options used by the display.
All Implemented Interfaces:
Display
Direct Known Subclasses:
SimpleDisplayState, TexturedCubeDisplayState

public abstract class AbstractDisplay<T extends RenderOptions> extends Object implements Display
Provides the groundwork for a display that supports the built-in RenderOptions system. This system handles things like scale, rotation, and offsets defined by the user.
  • Constructor Details

    • AbstractDisplay

      public AbstractDisplay(T renderOptions)
  • Method Details

    • renderOptions

      public T renderOptions()
      Gets the render options to use for the display. These are usually defined by a user and used to configure how the display is rendered.
      Returns:
      The options for the renderer.