Class ChunkDebugRenderer

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

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

    • DIRECTIONS

      public static final Direction[] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      named DIRECTIONS Lnet/minecraft/client/render/debug/ChunkDebugRenderer;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
      intermediary field_53170 Lnet/minecraft/class_9986;field_53170:[Lnet/minecraft/class_2350;
      official a Lgph;a:[Ljm;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/render/debug/ChunkDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_53171 Lnet/minecraft/class_9986;field_53171:Lnet/minecraft/class_310;
      official b Lgph;b:Lfmf;
  • Constructor Details

    • ChunkDebugRenderer

      public ChunkDebugRenderer(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/debug/ChunkDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;)V
      intermediary <init> Lnet/minecraft/class_9986;<init>(Lnet/minecraft/class_310;)V
      official <init> Lgph;<init>(Lfmf;)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 Lgpk$a;a(Lfgr;Lglk;DDD)V
    • addEndpoint

      private void addEndpoint(VertexConsumer vertexConsumer, Matrix4f positionMatrix, Vector4f vertex)
      Mappings:
      Namespace Name Mixin selector
      named addEndpoint Lnet/minecraft/client/render/debug/ChunkDebugRenderer;addEndpoint(Lnet/minecraft/client/render/VertexConsumer;Lorg/joml/Matrix4f;Lorg/joml/Vector4f;)V
      intermediary method_62346 Lnet/minecraft/class_9986;method_62346(Lnet/minecraft/class_4588;Lorg/joml/Matrix4f;Lorg/joml/Vector4f;)V
      official a Lgph;a(Lfgv;Lorg/joml/Matrix4f;Lorg/joml/Vector4f;)V
    • addFace

      private void addFace(VertexConsumer vertexConsumer, Matrix4f positionMatrix, Vector4f[] vertices, int i1, int i2, int i3, int i4, int r, int g, int b)
      Mappings:
      Namespace Name Mixin selector
      named addFace Lnet/minecraft/client/render/debug/ChunkDebugRenderer;addFace(Lnet/minecraft/client/render/VertexConsumer;Lorg/joml/Matrix4f;[Lorg/joml/Vector4f;IIIIIII)V
      intermediary method_62347 Lnet/minecraft/class_9986;method_62347(Lnet/minecraft/class_4588;Lorg/joml/Matrix4f;[Lorg/joml/Vector4f;IIIIIII)V
      official a Lgph;a(Lfgv;Lorg/joml/Matrix4f;[Lorg/joml/Vector4f;IIIIIII)V