GizmoPrimitives .java

net.minecraft.gizmos.GizmoPrimitives (interface, 16 lines): members: addTriangleFan, addPoint, addQuad, addLine, addText. imports: Vec3.

net.minecraft.gizmosinterface16 linescommon388 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

GizmoPrimitives.java16 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.gizmos;
2
3
import net.minecraft.world.phys.Vec3;
4
5
public interface GizmoPrimitives {
6
	void addPoint(Vec3 pos, int color, float size);
7
8
	void addLine(Vec3 start, Vec3 end, int color, float width);
9
10
	void addTriangleFan(Vec3[] points, int color);
11
12
	void addQuad(Vec3 a, Vec3 b, Vec3 c, Vec3 d, int color);
13
14
	void addText(Vec3 pos, String text, TextGizmo.Style style);
15
}
16

Decompiled Minecraft 26.3 source of GizmoPrimitives (net/minecraft/gizmos/GizmoPrimitives.java) with Mojang official mappings, stored verbatim on the site.