Class ScreenOverlay
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
com.simibubi.create.foundation.gui.widget.CompositeWidget
com.simibubi.create.foundation.gui.widget.ScreenOverlay
- All Implemented Interfaces:
net.createmod.catnip.gui.TickableGuiEventListener,net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Renderable,net.minecraft.client.gui.components.TabOrderedElement,net.minecraft.client.gui.narration.NarratableEntry,net.minecraft.client.gui.narration.NarrationSupplier
- Direct Known Subclasses:
ScheduleScreen.EditorSubWidgets
A set of widgets that are offset on the Z axis, allowing them to render above/below other "layers".
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority -
Field Summary
FieldsFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) Methods inherited from class com.simibubi.create.foundation.gui.widget.CompositeWidget
add, addRenderableOnly, children, clear, isMouseOver, mouseMoved, narrationPriority, remove, removeRenderableOnly, tick, updateNarrationMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangleMethods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
isActiveMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
zOffset
public final int zOffset
-
-
Constructor Details
-
ScreenOverlay
public ScreenOverlay(int zOffset)
-
-
Method Details
-
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) - Specified by:
renderin interfacenet.minecraft.client.gui.components.Renderable- Overrides:
renderin classCompositeWidget
-