Class OverlayRegistry.OverlayEntry

java.lang.Object
net.minecraftforge.client.gui.OverlayRegistry.OverlayEntry
Enclosing class:
OverlayRegistry

public static class OverlayRegistry.OverlayEntry extends Object
  • Field Details

    • overlay

      private final IIngameOverlay overlay
    • displayName

      private final String displayName
    • enabled

      private boolean enabled
  • Constructor Details

  • Method Details

    • getOverlay

      public IIngameOverlay getOverlay()
      Returns:
      Returns the overlay renderer.
    • getDisplayName

      public String getDisplayName()
      Returns:
      Returns the debug name for this entry.
    • isEnabled

      public boolean isEnabled()
      Returns:
      Returns true if the entry will be rendered.
    • setEnabled

      private void setEnabled(boolean enabled)