Package net.minecraftforge.client.gui
Class OverlayRegistry.OverlayEntry
java.lang.Object
net.minecraftforge.client.gui.OverlayRegistry.OverlayEntry
- Enclosing class:
- OverlayRegistry
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private boolean
private final IIngameOverlay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
private void
setEnabled
(boolean enabled) For internal use.
-
Field Details
-
overlay
-
displayName
-
enabled
private boolean enabled
-
-
Constructor Details
-
OverlayEntry
-
-
Method Details
-
getOverlay
- Returns:
- Returns the overlay renderer.
-
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) For internal use. Call viaOverlayRegistry.enableOverlay(IIngameOverlay, boolean)
.
-