@Environment(value=CLIENT) public class VillageSectionsDebugRenderer extends Object implements DebugRenderer.Renderer
Modifier and Type | Field and Description |
---|---|
private Set<ChunkSectionPos> |
sections |
Constructor and Description |
---|
VillageSectionsDebugRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
addSection(ChunkSectionPos pos) |
void |
clear() |
private static void |
drawBoxAtCenterOf(ChunkSectionPos pos) |
private void |
drawSections(double cameraX,
double cameraY,
double cameraZ) |
void |
removeSection(ChunkSectionPos pos) |
void |
render(MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
double cameraX,
double cameraY,
double cameraZ) |
private final Set<ChunkSectionPos> sections
public void clear()
clear
in interface DebugRenderer.Renderer
public void addSection(ChunkSectionPos pos)
public void removeSection(ChunkSectionPos pos)
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)
render
in interface DebugRenderer.Renderer
private void drawSections(double cameraX, double cameraY, double cameraZ)
private static void drawBoxAtCenterOf(ChunkSectionPos pos)