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 SummaryFieldsModifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableList<NamedGuiOverlay>private static com.google.common.collect.ImmutableMap<ResourceLocation,NamedGuiOverlay> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_NAMEprivate static com.google.common.collect.ImmutableMap<ResourceLocation,NamedGuiOverlay> OVERLAYS_BY_NAME
 
- 
- 
Constructor Details- 
GuiOverlayManagerprivate GuiOverlayManager()
 
- 
- 
Method Details- 
getOverlaysRetrieves an ordered list of all registered overlays.
- 
findOverlayFinds the overlay corresponding to a given ID. Do not call this beforeRegisterGuiOverlaysEventhas finished firing.
- 
init@Internal public static void init()
- 
preRegisterVanillaOverlaysprivate static void preRegisterVanillaOverlays(HashMap<ResourceLocation, IGuiOverlay> overlays, ArrayList<ResourceLocation> orderedOverlays) Pre-registers vanilla overlays so they are available for ordering.
- 
assignVanillaOverlayTypesprivate static void assignVanillaOverlayTypes()
 
-