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 fcz
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 Lfcz;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 Lfcz;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 Lfcz;a:Lefu;
      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> Lfcz;<init>(Lefu;)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 Lfcv$a;a(Leaq;Lezs;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 Vec3f getColorForHeightmapType(Heightmap.Type type)
      Mappings:
      Namespace Name Mixin selector
      official a Lfcz;a(Ldar$a;)Lk;
      intermediary method_27037 Lnet/minecraft/class_867;method_27037(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_1160;
      named getColorForHeightmapType Lnet/minecraft/client/render/debug/HeightmapDebugRenderer;getColorForHeightmapType(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/util/math/Vec3f;