Class EntityOutlineStyle

java.lang.Object
com.render.api.EntityOutlineStyle

public final class EntityOutlineStyle extends Object
Fluent style descriptor for entity outlines.
  • Constructor Details

    • EntityOutlineStyle

      public EntityOutlineStyle()
  • Method Details

    • color

      public EntityOutlineStyle color(RenderColor color)
      Sets the outline color in ARGB format.
      Parameters:
      color - outline color
      Returns:
      this style
    • color

      @Deprecated(forRemoval=false) public EntityOutlineStyle color(int argb)
      Deprecated.
    • visible

      public EntityOutlineStyle visible(boolean visible)
      Sets whether the outline should be rendered.
      Parameters:
      visible - true to render the outline
      Returns:
      this style
    • color

      public RenderColor color()
      Returns the outline color in ARGB format.
      Returns:
      outline color
    • visible

      public boolean visible()
      Returns whether the outline is enabled.
      Returns:
      true when the outline should render