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 official fraintermediary net/minecraft/class_870named net/minecraft/client/render/debug/StructureDebugRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate static final intprivate final Map<RegistryKey<World>,Map<String, DebugStructuresCustomPayload.class_8727>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStructure(BlockBox boundingBox, List<DebugStructuresCustomPayload.class_8727> pieces, RegistryKey<World> dimensionKey) voidclear()voidrender(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 official dLfra;d:Iintermediary field_32916Lnet/minecraft/class_870;field_32916:Inamed RANGELnet/minecraft/client/render/debug/StructureDebugRenderer;RANGE:I
-
client
- Mappings:
Namespace Name Mixin selector official aLfra;a:Leqn;intermediary field_4624Lnet/minecraft/class_870;field_4624:Lnet/minecraft/class_310;named clientLnet/minecraft/client/render/debug/StructureDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
-
structureBoundingBoxes
- Mappings:
Namespace Name Mixin selector official bLfra;b:Ljava/util/Map;intermediary field_4626Lnet/minecraft/class_870;field_4626:Ljava/util/Map;named structureBoundingBoxesLnet/minecraft/client/render/debug/StructureDebugRenderer;structureBoundingBoxes:Ljava/util/Map;
-
structurePiecesBoundingBoxes
private final Map<RegistryKey<World>,Map<String, structurePiecesBoundingBoxesDebugStructuresCustomPayload.class_8727>> - Mappings:
Namespace Name Mixin selector official cLfra;c:Ljava/util/Map;intermediary field_4627Lnet/minecraft/class_870;field_4627:Ljava/util/Map;named structurePiecesBoundingBoxesLnet/minecraft/client/render/debug/StructureDebugRenderer;structurePiecesBoundingBoxes:Ljava/util/Map;
-
-
Constructor Details
-
StructureDebugRenderer
- Mappings:
Namespace Name Mixin selector official <init>Lfra;<init>(Leqn;)Vintermediary <init>Lnet/minecraft/class_870;<init>(Lnet/minecraft/class_310;)Vnamed <init>Lnet/minecraft/client/render/debug/StructureDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) - Specified by:
renderin interfaceDebugRenderer.Renderer- Mappings:
Namespace Name Mixin selector official aLfqp$a;a(Lelh;Lfng;DDD)Vintermediary method_23109Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)Vnamed renderLnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
-
addStructure
public void addStructure(BlockBox boundingBox, List<DebugStructuresCustomPayload.class_8727> pieces, RegistryKey<World> dimensionKey) - Mappings:
Namespace Name Mixin selector official aLfra;a(Ldup;Ljava/util/List;Laeo;)Vintermediary method_3871Lnet/minecraft/class_870;method_3871(Lnet/minecraft/class_3341;Ljava/util/List;Lnet/minecraft/class_5321;)Vnamed addStructureLnet/minecraft/client/render/debug/StructureDebugRenderer;addStructure(Lnet/minecraft/util/math/BlockBox;Ljava/util/List;Lnet/minecraft/registry/RegistryKey;)V
-
clear
public void clear()- Specified by:
clearin interfaceDebugRenderer.Renderer- Mappings:
Namespace Name Mixin selector official aLfqp$a;a()Vintermediary method_20414Lnet/minecraft/class_863$class_864;method_20414()Vnamed clearLnet/minecraft/client/render/debug/DebugRenderer$Renderer;clear()V
-