Uses of Record Class
net.minecraft.gizmos.TextGizmo.Style
Packages that use TextGizmo.Style
-
Uses of TextGizmo.Style in net.minecraft.client.renderer.gizmos
Fields in net.minecraft.client.renderer.gizmos declared as TextGizmo.StyleModifier and TypeFieldDescriptionprivate final TextGizmo.StyleDrawableGizmoPrimitives.Text.styleThe field for thestylerecord component.Methods in net.minecraft.client.renderer.gizmos that return TextGizmo.StyleModifier and TypeMethodDescriptionDrawableGizmoPrimitives.Text.style()Returns the value of thestylerecord component.Methods in net.minecraft.client.renderer.gizmos with parameters of type TextGizmo.StyleModifier and TypeMethodDescriptionvoidDrawableGizmoPrimitives.addText(Vec3 p_455439_, String p_455651_, TextGizmo.Style p_455425_) Constructors in net.minecraft.client.renderer.gizmos with parameters of type TextGizmo.StyleModifierConstructorDescription(package private)Text(Vec3 pos, String text, TextGizmo.Style style) Creates an instance of aTextrecord class. -
Uses of TextGizmo.Style in net.minecraft.gizmos
Fields in net.minecraft.gizmos declared as TextGizmo.StyleModifier and TypeFieldDescriptionprivate final TextGizmo.StyleTextGizmo.styleThe field for thestylerecord component.Methods in net.minecraft.gizmos that return TextGizmo.StyleModifier and TypeMethodDescriptionstatic TextGizmo.StyleTextGizmo.Style.forColor(int color) static TextGizmo.StyleTextGizmo.Style.forColorAndCentered(int color) TextGizmo.style()Returns the value of thestylerecord component.static TextGizmo.StyleTextGizmo.Style.whiteAndCentered()TextGizmo.Style.withLeftAlignment(float leftAlignment) TextGizmo.Style.withScale(float scale) Methods in net.minecraft.gizmos with parameters of type TextGizmo.StyleModifier and TypeMethodDescriptionvoidGizmoPrimitives.addText(Vec3 pos, String text, TextGizmo.Style style) static GizmoPropertiesGizmos.billboardText(String text, Vec3 pos, TextGizmo.Style style) Constructors in net.minecraft.gizmos with parameters of type TextGizmo.StyleModifierConstructorDescriptionTextGizmo(Vec3 pos, String text, TextGizmo.Style style) Creates an instance of aTextGizmorecord class.