Class OctreeDebugRenderer

java.lang.Object
net.minecraft.client.render.debug.OctreeDebugRenderer

@Environment(CLIENT) public class OctreeDebugRenderer extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/debug/OctreeDebugRenderer
intermediary net/minecraft/class_10161
official gps
  • Field Details

    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/render/debug/OctreeDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_53963 Lnet/minecraft/class_10161;field_53963:Lnet/minecraft/class_310;
      official a Lgps;a:Lfmf;
  • Constructor Details

    • OctreeDebugRenderer

      public OctreeDebugRenderer(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/debug/OctreeDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;)V
      intermediary <init> Lnet/minecraft/class_10161;<init>(Lnet/minecraft/class_310;)V
      official <init> Lgps;<init>(Lfmf;)V
  • Method Details

    • render

      public void render(MatrixStack matrices, Frustum frustum, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/debug/OctreeDebugRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/Frustum;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
      intermediary method_62982 Lnet/minecraft/class_10161;method_62982(Lnet/minecraft/class_4587;Lnet/minecraft/class_4604;Lnet/minecraft/class_4597;DDD)V
      official a Lgps;a(Lfgr;Lgpb;Lglk;DDD)V
    • renderNode

      private void renderNode(Octree.Node node, MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, int depth, boolean skipVisibilityCheck, MutableInt id, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named renderNode Lnet/minecraft/client/render/debug/OctreeDebugRenderer;renderNode(Lnet/minecraft/client/render/chunk/Octree$Node;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDDIZLorg/apache/commons/lang3/mutable/MutableInt;Z)V
      intermediary method_62983 Lnet/minecraft/class_10161;method_62983(Lnet/minecraft/class_10143$class_10147;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDDIZLorg/apache/commons/lang3/mutable/MutableInt;Z)V
      official a Lgps;a(Lgll$d;Lfgr;Lglk;DDDIZLorg/apache/commons/lang3/mutable/MutableInt;Z)V
    • getColorComponent

      private static float getColorComponent(long size, float gradient)
      Mappings:
      Namespace Name Mixin selector
      named getColorComponent Lnet/minecraft/client/render/debug/OctreeDebugRenderer;getColorComponent(JF)F
      intermediary method_62980 Lnet/minecraft/class_10161;method_62980(JF)F
      official a Lgps;a(JF)F