Class StructureDebugRenderer
java.lang.Object
net.minecraft.client.render.debug.StructureDebugRenderer
- All Implemented Interfaces:
DebugRenderer.Renderer
@Environment(CLIENT)
public class StructureDebugRenderer
extends Object
implements DebugRenderer.Renderer
- Mappings:
Namespace Name named net/minecraft/client/render/debug/StructureDebugRenderer
intermediary net/minecraft/class_870
official ghm
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftClient
private static final int
private final Map
<RegistryKey<World>, Map<String, DebugStructuresCustomPayload.Piece>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStructure
(BlockBox boundingBox, List<DebugStructuresCustomPayload.Piece> pieces, RegistryKey<World> dimensionKey) void
clear()
void
render
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)
-
Field Details
-
RANGE
private static final int RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named RANGE
Lnet/minecraft/client/render/debug/StructureDebugRenderer;RANGE:I
intermediary field_32916
Lnet/minecraft/class_870;field_32916:I
official d
Lghm;d:I
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/render/debug/StructureDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_4624
Lnet/minecraft/class_870;field_4624:Lnet/minecraft/class_310;
official a
Lghm;a:Lffg;
-
structureBoundingBoxes
- Mappings:
Namespace Name Mixin selector named structureBoundingBoxes
Lnet/minecraft/client/render/debug/StructureDebugRenderer;structureBoundingBoxes:Ljava/util/Map;
intermediary field_4626
Lnet/minecraft/class_870;field_4626:Ljava/util/Map;
official b
Lghm;b:Ljava/util/Map;
-
structurePiecesBoundingBoxes
private final Map<RegistryKey<World>,Map<String, structurePiecesBoundingBoxesDebugStructuresCustomPayload.Piece>> - Mappings:
Namespace Name Mixin selector named structurePiecesBoundingBoxes
Lnet/minecraft/client/render/debug/StructureDebugRenderer;structurePiecesBoundingBoxes:Ljava/util/Map;
intermediary field_4627
Lnet/minecraft/class_870;field_4627:Ljava/util/Map;
official c
Lghm;c:Ljava/util/Map;
-
-
Constructor Details
-
StructureDebugRenderer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/debug/StructureDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;)V
intermediary <init>
Lnet/minecraft/class_870;<init>(Lnet/minecraft/class_310;)V
official <init>
Lghm;<init>(Lffg;)V
-
-
Method Details
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) - Specified by:
render
in interfaceDebugRenderer.Renderer
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
intermediary method_23109
Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)V
official a
Lghb$a;a(Lezz;Lgdp;DDD)V
-
addStructure
public void addStructure(BlockBox boundingBox, List<DebugStructuresCustomPayload.Piece> pieces, RegistryKey<World> dimensionKey) - Mappings:
Namespace Name Mixin selector named addStructure
Lnet/minecraft/client/render/debug/StructureDebugRenderer;addStructure(Lnet/minecraft/util/math/BlockBox;Ljava/util/List;Lnet/minecraft/registry/RegistryKey;)V
intermediary method_3871
Lnet/minecraft/class_870;method_3871(Lnet/minecraft/class_3341;Ljava/util/List;Lnet/minecraft/class_5321;)V
official a
Lghm;a(Leid;Ljava/util/List;Lale;)V
-
clear
public void clear()- Specified by:
clear
in interfaceDebugRenderer.Renderer
- Mappings:
Namespace Name Mixin selector named clear
Lnet/minecraft/client/render/debug/DebugRenderer$Renderer;clear()V
intermediary method_20414
Lnet/minecraft/class_863$class_864;method_20414()V
official a
Lghb$a;a()V
-