Class GuiRenderState
java.lang.Object
net.minecraft.client.renderer.state.gui.GuiRenderState
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionintprivate GuiRenderState.Nodeprivate static final intprivate intprivate @Nullable ScreenRectangle@Nullable PanoramaRenderStateprivate final List<GuiRenderState.Node> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBlitToCurrentLayer(BlitRenderState blitState) private voidaddDebugRectangleIfEnabled(@Nullable ScreenRectangle bounds) voidaddGlyphToCurrentLayer(GuiElementRenderState glyphState) voidaddGuiElement(GuiElementRenderState blitState) voidaddItem(GuiItemRenderState itemState) voidaddPicturesInPictureState(PictureInPictureRenderState picturesInPictureState) voidaddText(GuiTextRenderState textState) voidprivate 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) 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
-
panoramaRenderState
-
clearColorOverride
public int clearColorOverride
-
-
Constructor Details
-
GuiRenderState
public GuiRenderState()
-
-
Method Details
-
nextStratum
public void nextStratum() -
blurBeforeThisStratum
public void blurBeforeThisStratum() -
up
public void up() -
addItem
-
addText
-
addPicturesInPictureState
-
addGuiElement
-
findAppropriateNode
-
addBlitToCurrentLayer
-
addGlyphToCurrentLayer
-
getItemModelIdentities
-
forEachElement
public void forEachElement(Consumer<GuiElementRenderState> consumer, GuiRenderState.TraverseRange range) -
forEachItem
-
forEachText
-
forEachPictureInPicture
-
sortElements
-
traverse
-
traverse
-
reset
public void reset()
-