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 fry
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 d Lfry;d: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 Lfry;a:Leqv;
      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<RegistryKey<World>,Map<String,BlockBox>> structureBoundingBoxes
      Mappings:
      Namespace Name Mixin selector
      official b Lfry;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<RegistryKey<World>,Map<String,DebugStructuresCustomPayload.Piece>> structurePiecesBoundingBoxes
      Mappings:
      Namespace Name Mixin selector
      official c Lfry;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;
  • Constructor Details

    • StructureDebugRenderer

      public StructureDebugRenderer(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfry;<init>(Leqv;)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 Lfrn$a;a(Lelp;Lfoe;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<DebugStructuresCustomPayload.Piece> pieces, RegistryKey<World> dimensionKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lfry;a(Ldva;Ljava/util/List;Laev;)V
      intermediary method_3871 Lnet/minecraft/class_870;method_3871(Lnet/minecraft/class_3341;Ljava/util/List;Lnet/minecraft/class_5321;)V
      named addStructure Lnet/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:
      clear in interface DebugRenderer.Renderer
      Mappings:
      Namespace Name Mixin selector
      official a Lfrn$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