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 ghn
  • 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 Lghn;d:I
    • client

      private final MinecraftClient 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 Lghn;a:Lffh;
    • structureBoundingBoxes

      private final Map<RegistryKey<World>,Map<String,BlockBox>> 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 Lghn;b:Ljava/util/Map;
    • structurePiecesBoundingBoxes

      private final Map<RegistryKey<World>,Map<String,DebugStructuresCustomPayload.Piece>> structurePiecesBoundingBoxes
      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 Lghn;c:Ljava/util/Map;
  • Constructor Details

    • StructureDebugRenderer

      public StructureDebugRenderer(MinecraftClient client)
      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> Lghn;<init>(Lffh;)V
  • Method Details

    • render

      public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)
      Specified by:
      render in interface DebugRenderer.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 Lghc$a;a(Lfaa;Lgdq;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 Lghn;a(Leie;Ljava/util/List;Lale;)V
    • clear

      public void clear()
      Specified by:
      clear in interface DebugRenderer.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 Lghc$a;a()V