Class StructureRenderer
java.lang.Object
net.minecraft.client.renderer.debug.StructureRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final Minecraft
private final Map
<ResourceKey<Level>, Map<String, BoundingBox>> private final Map
<ResourceKey<Level>, Map<String, StructuresDebugPayload.PieceInfo>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBoundingBox
(BoundingBox p_113683_, List<StructuresDebugPayload.PieceInfo> p_113684_, ResourceKey<Level> p_297588_) void
clear()
void
render
(PoseStack p_113688_, MultiBufferSource p_113689_, double p_113690_, double p_113691_, double p_113692_)
-
Field Details
-
minecraft
-
postMainBoxes
-
postPieces
-
MAX_RENDER_DIST
private static final int MAX_RENDER_DIST- See Also:
-
-
Constructor Details
-
StructureRenderer
-
-
Method Details
-
render
public void render(PoseStack p_113688_, MultiBufferSource p_113689_, double p_113690_, double p_113691_, double p_113692_) - Specified by:
render
in interfaceDebugRenderer.SimpleDebugRenderer
-
addBoundingBox
public void addBoundingBox(BoundingBox p_113683_, List<StructuresDebugPayload.PieceInfo> p_113684_, ResourceKey<Level> p_297588_) -
clear
public void clear()- Specified by:
clear
in interfaceDebugRenderer.SimpleDebugRenderer
-