Class HeightmapDebugRenderer

java.lang.Object
net.minecraft.client.render.debug.HeightmapDebugRenderer
All Implemented Interfaces:
DebugRenderer.Renderer

@Environment(CLIENT) public class HeightmapDebugRenderer extends Object implements DebugRenderer.Renderer
Mappings:
Namespace Name
named net/minecraft/client/render/debug/HeightmapDebugRenderer
intermediary net/minecraft/class_867
official ghf
  • Field Details

    • CHUNK_RANGE

      private static final int CHUNK_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CHUNK_RANGE Lnet/minecraft/client/render/debug/HeightmapDebugRenderer;CHUNK_RANGE:I
      intermediary field_32903 Lnet/minecraft/class_867;field_32903:I
      official b Lghf;b:I
    • BOX_HEIGHT

      private static final float BOX_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BOX_HEIGHT Lnet/minecraft/client/render/debug/HeightmapDebugRenderer;BOX_HEIGHT:F
      intermediary field_32904 Lnet/minecraft/class_867;field_32904:F
      official c Lghf;c:F
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/render/debug/HeightmapDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_4613 Lnet/minecraft/class_867;field_4613:Lnet/minecraft/class_310;
      official a Lghf;a:Lffg;
  • Constructor Details

    • HeightmapDebugRenderer

      public HeightmapDebugRenderer(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/debug/HeightmapDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;)V
      intermediary <init> Lnet/minecraft/class_867;<init>(Lnet/minecraft/class_310;)V
      official <init> Lghf;<init>(Lffg;)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 Lghb$a;a(Lezz;Lgdp;DDD)V
    • getColorForHeightmapType

      private Vector3f getColorForHeightmapType(Heightmap.Type type)
      Mappings:
      Namespace Name Mixin selector
      named getColorForHeightmapType Lnet/minecraft/client/render/debug/HeightmapDebugRenderer;getColorForHeightmapType(Lnet/minecraft/world/Heightmap$Type;)Lorg/joml/Vector3f;
      intermediary method_27037 Lnet/minecraft/class_867;method_27037(Lnet/minecraft/class_2902$class_2903;)Lorg/joml/Vector3f;
      official a Lghf;a(Ldxv$a;)Lorg/joml/Vector3f;