Class GuiRenderState
java.lang.Object
net.minecraft.client.gui.render.state.GuiRenderState
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate GuiRenderState.Nodeprivate static final intprivate intprivate @Nullable ScreenRectangleprivate final List<GuiRenderState.Node> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate booleanfindAppropriateNode(ScreenArea screenArea) voidforEachElement(Consumer<GuiElementRenderState> consumer, GuiRenderState.TraverseRange range) voidforEachItem(Consumer<GuiItemRenderState> consumer) voidvoidforEachText(Consumer<GuiTextRenderState> consumer) private booleanhasIntersection(ScreenRectangle bounds, @Nullable List<? extends ScreenArea> states) private voidvoidvoidreset()voidsortElements(Comparator<GuiElementRenderState> comparator) voidsubmitBlitToCurrentLayer(BlitRenderState blitState) voidsubmitGlyphToCurrentLayer(GuiElementRenderState glyphState) voidsubmitGuiElement(GuiElementRenderState blitState) voidsubmitItem(GuiItemRenderState itemState) voidsubmitPicturesInPictureState(PictureInPictureRenderState picturesInPictureState) voidsubmitText(GuiTextRenderState textState) private voidsumbitDebugRectangleIfEnabled(@Nullable ScreenRectangle bounds) private voidtraverse(Consumer<GuiRenderState.Node> consumer, GuiRenderState.TraverseRange range) private voidtraverse(GuiRenderState.Node node, Consumer<GuiRenderState.Node> consumer) voidup()
-
Field Details
-
DEBUG_RECTANGLE_COLOR
private static final int DEBUG_RECTANGLE_COLOR- See Also:
-
strata
-
firstStratumAfterBlur
private int firstStratumAfterBlur -
current
-
itemModelIdentities
-
lastElementBounds
-
-
Constructor Details
-
GuiRenderState
public GuiRenderState()
-
-
Method Details
-
nextStratum
public void nextStratum() -
blurBeforeThisStratum
public void blurBeforeThisStratum() -
up
public void up() -
submitItem
-
submitText
-
submitPicturesInPictureState
-
submitGuiElement
-
findAppropriateNode
-
submitBlitToCurrentLayer
-
submitGlyphToCurrentLayer
-
getItemModelIdentities
-
forEachElement
public void forEachElement(Consumer<GuiElementRenderState> consumer, GuiRenderState.TraverseRange range) -
forEachItem
-
forEachText
-
forEachPictureInPicture
-
sortElements
-
traverse
-
traverse
-
reset
public void reset()
-