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
official fnh
intermediary net/minecraft/class_867
named net/minecraft/client/render/debug/HeightmapDebugRenderer
  • Field Details

    • CHUNK_RANGE

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

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

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

    • HeightmapDebugRenderer

      public HeightmapDebugRenderer(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfnh;<init>(Lenn;)V
      intermediary <init> Lnet/minecraft/class_867;<init>(Lnet/minecraft/class_310;)V
      named <init> Lnet/minecraft/client/render/debug/HeightmapDebugRenderer;<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
    • getColorForHeightmapType

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