DrawableGizmoPrimitives .java
net.minecraft.client.renderer.gizmos.DrawableGizmoPrimitives (class): members: triangleFans, TriangleFan, Quad, addTriangleFan, addPoint, addQuad, opaque.
File
Implements
API Surface (13)
void addPoint(final Vec3 pos, final int color, final float size)void addLine(final Vec3 start, final Vec3 end, final int color, final float width)void addTriangleFan(final Vec3[] points, final int color)void addQuad(final Vec3 a, final Vec3 b, final Vec3 c, final Vec3 d, final int color)void addText(final Vec3 pos, final String text, final Style style)void submit(final SubmitNodeCollector submitNodeCollector, final CameraRenderState cameraRenderState, final boolean onTop)boolean isEmpty()record Group(boolean opaque, List<DrawableGizmoPrimitives.Line> lines, List<DrawableGizmoPrimitives.Quad> quads, List<DrawableGizmoPrimitives.TriangleFan> triangleFans, List<DrawableGizmoPrimitives.Text> texts, List<DrawableGizmoPrimitives.Point> points)record Line(Vec3 start, Vec3 end, int color, float width)record Point(Vec3 pos, int color, float size)record Quad(Vec3 a, Vec3 b, Vec3 c, Vec3 d, int color)record Text(Vec3 pos, String text, Style style)record TriangleFan(Vec3[] points, int color)Fields & Constants (7)
opaquetranslucentisEmptylinesquadstriangleFanstextsSame Package (1)
Code Graph: Dependencies (6)
Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.
Full Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
Decompiled Minecraft 26.3 source of DrawableGizmoPrimitives (net/minecraft/client/renderer/gizmos/DrawableGizmoPrimitives.java) with Mojang official mappings, stored verbatim on the site.