Class GuiOverlayManager
java.lang.Object
net.minecraftforge.client.gui.overlay.GuiOverlayManager
Manager for HUD overlays.
 
 Provides a lookup by ID, as well as all registered overlays.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableList<NamedGuiOverlay>private static com.google.common.collect.ImmutableMap<ResourceLocation,NamedGuiOverlay>  - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate static voidstatic @Nullable NamedGuiOverlayFinds the overlay corresponding to a given ID.static com.google.common.collect.ImmutableList<NamedGuiOverlay>Retrieves an ordered list of all registered overlays.static voidinit()private static voidpreRegisterVanillaOverlays(HashMap<ResourceLocation, IGuiOverlay> overlays, ArrayList<ResourceLocation> orderedOverlays) Pre-registers vanilla overlays so they are available for ordering. 
- 
Field Details
- 
OVERLAYS
 - 
OVERLAYS_BY_NAME
private static com.google.common.collect.ImmutableMap<ResourceLocation,NamedGuiOverlay> OVERLAYS_BY_NAME 
 - 
 - 
Constructor Details
- 
GuiOverlayManager
private GuiOverlayManager() 
 - 
 - 
Method Details
- 
getOverlays
Retrieves an ordered list of all registered overlays. - 
findOverlay
Finds the overlay corresponding to a given ID. Do not call this beforeRegisterGuiOverlaysEventhas finished firing. - 
init
@Internal public static void init() - 
preRegisterVanillaOverlays
private static void preRegisterVanillaOverlays(HashMap<ResourceLocation, IGuiOverlay> overlays, ArrayList<ResourceLocation> orderedOverlays) Pre-registers vanilla overlays so they are available for ordering. - 
assignVanillaOverlayTypes
private static void assignVanillaOverlayTypes() 
 -