Class GuiTextRenderState
java.lang.Object
net.minecraft.client.gui.render.state.GuiTextRenderState
- All Implemented Interfaces:
ScreenArea
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intprivate @Nullable ScreenRectanglefinal intfinal booleanfinal Font(package private) final booleanfinal Matrix3x2fcprivate @Nullable Font.PreparedTextfinal @Nullable ScreenRectanglefinal FormattedCharSequencefinal intfinal int -
Constructor Summary
ConstructorsConstructorDescriptionGuiTextRenderState(Font font, FormattedCharSequence text, Matrix3x2fc pose, int x, int y, int color, int backgroundColor, boolean dropShadow, boolean includeEmpty, @Nullable ScreenRectangle scissor) -
Method Summary
-
Field Details
-
font
-
text
-
pose
-
x
public final int x -
y
public final int y -
color
public final int color -
backgroundColor
public final int backgroundColor -
dropShadow
public final boolean dropShadow -
includeEmpty
final boolean includeEmpty -
scissor
-
preparedText
-
bounds
-
-
Constructor Details
-
Method Details
-
ensurePrepared
-
bounds
- Specified by:
boundsin interfaceScreenArea
-