Class GameEventDebugRenderer

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

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

    • field_32899

      private static final int field_32899
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lesa;b:I
      intermediary field_32899 Lnet/minecraft/class_5739;field_32899:I
      named field_32899 Lnet/minecraft/client/render/debug/GameEventDebugRenderer;field_32899:I
    • field_32900

      private static final float field_32900
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lesa;c:F
      intermediary field_32900 Lnet/minecraft/class_5739;field_32900:F
      named field_32900 Lnet/minecraft/client/render/debug/GameEventDebugRenderer;field_32900:F
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official a Lesa;a:Ldxb;
      intermediary field_28255 Lnet/minecraft/class_5739;field_28255:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/render/debug/GameEventDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
    • entries

      private final List<GameEventDebugRenderer.Entry> entries
      Mappings:
      Namespace Name Mixin selector
      official d Lesa;d:Ljava/util/List;
      intermediary field_28256 Lnet/minecraft/class_5739;field_28256:Ljava/util/List;
      named entries Lnet/minecraft/client/render/debug/GameEventDebugRenderer;entries:Ljava/util/List;
    • listeners

      private final List<GameEventDebugRenderer.Listener> listeners
      Mappings:
      Namespace Name Mixin selector
      official e Lesa;e:Ljava/util/List;
      intermediary field_28257 Lnet/minecraft/class_5739;field_28257:Ljava/util/List;
      named listeners Lnet/minecraft/client/render/debug/GameEventDebugRenderer;listeners:Ljava/util/List;
  • Constructor Details

    • GameEventDebugRenderer

      public GameEventDebugRenderer(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lesa;<init>(Ldxb;)V
      intermediary <init> Lnet/minecraft/class_5739;<init>(Lnet/minecraft/class_310;)V
      named <init> Lnet/minecraft/client/render/debug/GameEventDebugRenderer;<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 Lerz$a;a(Ldrw;Leoy;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
    • drawBoxIfCameraReady

      private static void drawBoxIfCameraReady(Box box, float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      official a Lesa;a(Ldnu;FFFF)V
      intermediary method_33089 Lnet/minecraft/class_5739;method_33089(Lnet/minecraft/class_238;FFFF)V
      named drawBoxIfCameraReady Lnet/minecraft/client/render/debug/GameEventDebugRenderer;drawBoxIfCameraReady(Lnet/minecraft/util/math/Box;FFFF)V
    • addEvent

      public void addEvent(GameEvent event, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lesa;a(Lcry;Lgh;)V
      intermediary method_33087 Lnet/minecraft/class_5739;method_33087(Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)V
      named addEvent Lnet/minecraft/client/render/debug/GameEventDebugRenderer;addEvent(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;)V
    • addListener

      public void addListener(PositionSource positionSource, int range)
      Mappings:
      Namespace Name Mixin selector
      official a Lesa;a(Lcsc;I)V
      intermediary method_33088 Lnet/minecraft/class_5739;method_33088(Lnet/minecraft/class_5716;I)V
      named addListener Lnet/minecraft/client/render/debug/GameEventDebugRenderer;addListener(Lnet/minecraft/world/event/PositionSource;I)V