Class GizmoFeatureRenderer
java.lang.Object
net.minecraft.client.renderer.feature.RenderTypeFeatureRenderer<GizmoFeatureRenderer.Submit>
net.minecraft.client.renderer.feature.GizmoFeatureRenderer
- All Implemented Interfaces:
AutoCloseable, FeatureRenderer<GizmoFeatureRenderer.Submit>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PoseStackstatic final FeatureRendererType<GizmoFeatureRenderer.Submit> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildGroup(FeatureFrameContext context, List<GizmoFeatureRenderer.Submit> submits) private voidbuildLines(List<DrawableGizmoPrimitives.Line> lines, CameraRenderState camera, Matrix4fc modelViewMatrix, boolean opaque) private voidbuildPoints(List<DrawableGizmoPrimitives.Point> points, CameraRenderState camera) private voidbuildQuads(List<DrawableGizmoPrimitives.Quad> quads, CameraRenderState camera) private voidbuildTexts(List<DrawableGizmoPrimitives.Text> texts, CameraRenderState camera, Font font) private voidbuildTriangleFans(List<DrawableGizmoPrimitives.TriangleFan> triangleFans, CameraRenderState camera) Methods inherited from class RenderTypeFeatureRenderer
executeGroup, finishExecute, getVertexBuilder, prepareGroupMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FeatureRenderer
beginPrepare, close, finishPrepare
-
Field Details
-
TYPE
-
poseStack
-
-
Constructor Details
-
GizmoFeatureRenderer
public GizmoFeatureRenderer()
-
-
Method Details
-
buildGroup
- Specified by:
buildGroupin classRenderTypeFeatureRenderer<GizmoFeatureRenderer.Submit>
-
buildTexts
private void buildTexts(List<DrawableGizmoPrimitives.Text> texts, CameraRenderState camera, Font font) -
buildLines
private void buildLines(List<DrawableGizmoPrimitives.Line> lines, CameraRenderState camera, Matrix4fc modelViewMatrix, boolean opaque) -
buildTriangleFans
private void buildTriangleFans(List<DrawableGizmoPrimitives.TriangleFan> triangleFans, CameraRenderState camera) -
buildQuads
-
buildPoints
-