Interface RenderOptions

All Known Implementing Classes:
BasicOptions

public interface RenderOptions
Represents a configuration for a display renderer. These options control basic properties such as scale, rotation, and offsets.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets an optional tint color to apply to any table elements of the display.
    Set<net.minecraft.core.Direction>
    A set of faces that should not be culled when rendering.
    org.joml.Vector3f
    Gets the offset of the render.
    Gets a list of rotations to apply to the render.
    org.joml.Vector3f
    Gets the scale of the render.
    boolean
    Check if fluid layers should be included in the rendered display.
  • Method Details

    • getScale

      org.joml.Vector3f getScale()
      Gets the scale of the render. Each component of the vector represents a percentage based scale for that axis.
      Returns:
      The amount to scale the render.
    • getOffset

      org.joml.Vector3f getOffset()
      Gets the offset of the render. Each component of the vector represents an offset for that axis.
      Returns:
      The amount to offset the render.
    • getRotations

      List<AxisAlignedRotation> getRotations()
      Gets a list of rotations to apply to the render.
      Returns:
      The rotations to apply to the render.
    • shouldRenderFluid

      boolean shouldRenderFluid()
      Check if fluid layers should be included in the rendered display.
      Returns:
      If fluid layers should be rendered.
    • getColor

      Optional<TintColor> getColor()
      Gets an optional tint color to apply to any table elements of the display.
      Returns:
      An optional tint to apply during rendering.
    • getFaces

      Set<net.minecraft.core.Direction> getFaces()
      A set of faces that should not be culled when rendering.
      Returns:
      The faces that should not be culled.