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 fno
intermediary net/minecraft/class_870
named net/minecraft/client/render/debug/StructureDebugRenderer
  • Field Details

    • RANGE

      private static final int RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lfno;e:I
      intermediary field_32916 Lnet/minecraft/class_870;field_32916:I
      named RANGE Lnet/minecraft/client/render/debug/StructureDebugRenderer;RANGE:I
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official a Lfno;a:Lenn;
      intermediary field_4624 Lnet/minecraft/class_870;field_4624:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/render/debug/StructureDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
    • structureBoundingBoxes

      private final Map<DimensionType,Map<String,BlockBox>> structureBoundingBoxes
      Mappings:
      Namespace Name Mixin selector
      official b Lfno;b:Ljava/util/Map;
      intermediary field_4626 Lnet/minecraft/class_870;field_4626:Ljava/util/Map;
      named structureBoundingBoxes Lnet/minecraft/client/render/debug/StructureDebugRenderer;structureBoundingBoxes:Ljava/util/Map;
    • structurePiecesBoundingBoxes

      private final Map<DimensionType,Map<String,BlockBox>> structurePiecesBoundingBoxes
      Mappings:
      Namespace Name Mixin selector
      official c Lfno;c:Ljava/util/Map;
      intermediary field_4627 Lnet/minecraft/class_870;field_4627:Ljava/util/Map;
      named structurePiecesBoundingBoxes Lnet/minecraft/client/render/debug/StructureDebugRenderer;structurePiecesBoundingBoxes:Ljava/util/Map;
    • field_4625

      private final Map<DimensionType,Map<String,Boolean>> field_4625
      Mappings:
      Namespace Name Mixin selector
      official d Lfno;d:Ljava/util/Map;
      intermediary field_4625 Lnet/minecraft/class_870;field_4625:Ljava/util/Map;
      named field_4625 Lnet/minecraft/client/render/debug/StructureDebugRenderer;field_4625:Ljava/util/Map;
  • Constructor Details

    • StructureDebugRenderer

      public StructureDebugRenderer(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfno;<init>(Lenn;)V
      intermediary <init> Lnet/minecraft/class_870;<init>(Lnet/minecraft/class_310;)V
      named <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:
      render in interface DebugRenderer.Renderer
      Mappings:
      Namespace Name Mixin selector
      official a Lfnd$a;a(Leij;Lfjx;DDD)V
      intermediary method_23109 Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)V
      named render Lnet/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<BlockBox> piecesBoundingBoxes, List<Boolean> list, DimensionType dimension)
      Mappings:
      Namespace Name Mixin selector
      official a Lfno;a(Ldrs;Ljava/util/List;Ljava/util/List;Ldfk;)V
      intermediary method_3871 Lnet/minecraft/class_870;method_3871(Lnet/minecraft/class_3341;Ljava/util/List;Ljava/util/List;Lnet/minecraft/class_2874;)V
      named addStructure Lnet/minecraft/client/render/debug/StructureDebugRenderer;addStructure(Lnet/minecraft/util/math/BlockBox;Ljava/util/List;Ljava/util/List;Lnet/minecraft/world/dimension/DimensionType;)V
    • clear

      public void clear()
      Specified by:
      clear in interface DebugRenderer.Renderer
      Mappings:
      Namespace Name Mixin selector
      official a Lfnd$a;a()V
      intermediary method_20414 Lnet/minecraft/class_863$class_864;method_20414()V
      named clear Lnet/minecraft/client/render/debug/DebugRenderer$Renderer;clear()V