Class DebugRenderer
java.lang.Object
net.minecraft.client.render.debug.DebugRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/debug/DebugRendererintermediary net/minecraft/class_863official hlq
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate final List<DebugRenderer.Renderer> private final List<DebugRenderer.Renderer> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddrawBlockBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, float red, float green, float blue, float alpha) static voiddrawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double minX, double minY, double minZ, double maxX, double maxY, double maxZ, float red, float green, float blue, float alpha) static voiddrawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, float expand, float red, float green, float blue, float alpha) static voiddrawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos1, BlockPos pos2, float red, float green, float blue, float alpha) static voiddrawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Box box, float red, float green, float blue, float alpha) static voiddrawFloatingText(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, BlockPos pos, int lineNumber, int color, float size) static voiddrawLargeFloatingText(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity pos, int lineNumber, String string, int color, float size) static voiddrawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, double x, double y, double z, int color) static voiddrawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, double x, double y, double z, int color, float size) static voiddrawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, double x, double y, double z, int color, float size, boolean center, float offset, boolean visibleThroughObjects) static voiddrawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, int x, int y, int z, int color) static voiddrawVoxelShapeOutlines(MatrixStack matrices, VertexConsumer vertexConsumer, VoxelShape shape, double offsetX, double offsetY, double offsetZ, float red, float green, float blue, float alpha, boolean bool) getTargetedEntity(@Nullable Entity entity, int maxDistance) private static Vec3dhueToRgb(float hue) voidvoidrender(MatrixStack matrices, Frustum frustum, VertexConsumerProvider.Immediate vertexConsumers, double cameraX, double cameraY, double cameraZ, boolean lateDebug) private static Vec3dshiftHue(float r, float g, float b, float dHue)
-
Field Details
-
debugRenderers
- Mappings:
Namespace Name Mixin selector named debugRenderersLnet/minecraft/client/render/debug/DebugRenderer;debugRenderers:Ljava/util/List;intermediary field_63070Lnet/minecraft/class_863;field_63070:Ljava/util/List;official aLhlq;a:Ljava/util/List;
-
lateDebugRenderers
- Mappings:
Namespace Name Mixin selector named lateDebugRenderersLnet/minecraft/client/render/debug/DebugRenderer;lateDebugRenderers:Ljava/util/List;intermediary field_63071Lnet/minecraft/class_863;field_63071:Ljava/util/List;official bLhlq;b:Ljava/util/List;
-
currentVersion
private long currentVersion- Mappings:
Namespace Name Mixin selector named currentVersionLnet/minecraft/client/render/debug/DebugRenderer;currentVersion:Jintermediary field_63072Lnet/minecraft/class_863;field_63072:Jofficial cLhlq;c:J
-
-
Constructor Details
-
DebugRenderer
public DebugRenderer()
-
-
Method Details
-
initRenderers
public void initRenderers()- Mappings:
Namespace Name Mixin selector named initRenderersLnet/minecraft/client/render/debug/DebugRenderer;initRenderers()Vintermediary method_74928Lnet/minecraft/class_863;method_74928()Vofficial aLhlq;a()V
-
render
public void render(MatrixStack matrices, Frustum frustum, VertexConsumerProvider.Immediate vertexConsumers, double cameraX, double cameraY, double cameraZ, boolean lateDebug) - Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/debug/DebugRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/Frustum;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;DDDZ)Vintermediary method_23099Lnet/minecraft/class_863;method_23099(Lnet/minecraft/class_4587;Lnet/minecraft/class_4604;Lnet/minecraft/class_4597$class_4598;DDDZ)Vofficial aLhlq;a(Lfua;Lhlh;Lhfw$a;DDDZ)V
-
getTargetedEntity
public static Optional<Entity> getTargetedEntity(@Nullable @Nullable Entity entity, int maxDistance) - Mappings:
Namespace Name Mixin selector named getTargetedEntityLnet/minecraft/client/render/debug/DebugRenderer;getTargetedEntity(Lnet/minecraft/entity/Entity;I)Ljava/util/Optional;intermediary method_23101Lnet/minecraft/class_863;method_23101(Lnet/minecraft/class_1297;I)Ljava/util/Optional;official aLhlq;a(Lcdv;I)Ljava/util/Optional;
-
drawBlockBox
public static void drawBlockBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named drawBlockBoxLnet/minecraft/client/render/debug/DebugRenderer;drawBlockBox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/util/math/BlockPos;FFFF)Vintermediary method_54808Lnet/minecraft/class_863;method_54808(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_2338;FFFF)Vofficial aLhlq;a(Lfua;Lhfw;Lja;FFFF)V
-
drawBox
public static void drawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos1, BlockPos pos2, float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named drawBoxLnet/minecraft/client/render/debug/DebugRenderer;drawBox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;FFFF)Vintermediary method_23104Lnet/minecraft/class_863;method_23104(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;FFFF)Vofficial aLhlq;a(Lfua;Lhfw;Lja;Lja;FFFF)V
-
drawBox
public static void drawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, BlockPos pos, float expand, float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named drawBoxLnet/minecraft/client/render/debug/DebugRenderer;drawBox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/util/math/BlockPos;FFFFF)Vintermediary method_23103Lnet/minecraft/class_863;method_23103(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_2338;FFFFF)Vofficial aLhlq;a(Lfua;Lhfw;Lja;FFFFF)V
-
drawBox
public static void drawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Box box, float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named drawBoxLnet/minecraft/client/render/debug/DebugRenderer;drawBox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/util/math/Box;FFFF)Vintermediary method_23102Lnet/minecraft/class_863;method_23102(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_238;FFFF)Vofficial aLhlq;a(Lfua;Lhfw;Lfoc;FFFF)V
-
drawBox
public static void drawBox(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double minX, double minY, double minZ, double maxX, double maxY, double maxZ, float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector named drawBoxLnet/minecraft/client/render/debug/DebugRenderer;drawBox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDDDDDFFFF)Vintermediary method_23098Lnet/minecraft/class_863;method_23098(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDDDDDFFFF)Vofficial aLhlq;a(Lfua;Lhfw;DDDDDDFFFF)V
-
drawFloatingText
public static void drawFloatingText(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, BlockPos pos, int lineNumber, int color, float size) - Mappings:
Namespace Name Mixin selector named drawFloatingTextLnet/minecraft/client/render/debug/DebugRenderer;drawFloatingText(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;IIF)Vintermediary method_74785Lnet/minecraft/class_863;method_74785(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Ljava/lang/String;Lnet/minecraft/class_2338;IIF)Vofficial aLhlq;a(Lfua;Lhfw;Ljava/lang/String;Lja;IIF)V
-
drawLargeFloatingText
public static void drawLargeFloatingText(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity pos, int lineNumber, String string, int color, float size) - Mappings:
Namespace Name Mixin selector named drawLargeFloatingTextLnet/minecraft/client/render/debug/DebugRenderer;drawLargeFloatingText(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/entity/Entity;ILjava/lang/String;IF)Vintermediary method_74784Lnet/minecraft/class_863;method_74784(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1297;ILjava/lang/String;IF)Vofficial aLhlq;a(Lfua;Lhfw;Lcdv;ILjava/lang/String;IF)V
-
drawString
public static void drawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, int x, int y, int z, int color) - Mappings:
Namespace Name Mixin selector named drawStringLnet/minecraft/client/render/debug/DebugRenderer;drawString(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Ljava/lang/String;IIII)Vintermediary method_23108Lnet/minecraft/class_863;method_23108(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Ljava/lang/String;IIII)Vofficial aLhlq;a(Lfua;Lhfw;Ljava/lang/String;IIII)V
-
drawString
public static void drawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, double x, double y, double z, int color) - Mappings:
Namespace Name Mixin selector named drawStringLnet/minecraft/client/render/debug/DebugRenderer;drawString(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Ljava/lang/String;DDDI)Vintermediary method_23105Lnet/minecraft/class_863;method_23105(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Ljava/lang/String;DDDI)Vofficial aLhlq;a(Lfua;Lhfw;Ljava/lang/String;DDDI)V
-
drawString
public static void drawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, double x, double y, double z, int color, float size) - Mappings:
Namespace Name Mixin selector named drawStringLnet/minecraft/client/render/debug/DebugRenderer;drawString(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Ljava/lang/String;DDDIF)Vintermediary method_23106Lnet/minecraft/class_863;method_23106(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Ljava/lang/String;DDDIF)Vofficial aLhlq;a(Lfua;Lhfw;Ljava/lang/String;DDDIF)V
-
drawString
public static void drawString(MatrixStack matrices, VertexConsumerProvider vertexConsumers, String string, double x, double y, double z, int color, float size, boolean center, float offset, boolean visibleThroughObjects) - Mappings:
Namespace Name Mixin selector named drawStringLnet/minecraft/client/render/debug/DebugRenderer;drawString(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Ljava/lang/String;DDDIFZFZ)Vintermediary method_23107Lnet/minecraft/class_863;method_23107(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Ljava/lang/String;DDDIFZFZ)Vofficial aLhlq;a(Lfua;Lhfw;Ljava/lang/String;DDDIFZFZ)V
-
hueToRgb
- Mappings:
Namespace Name Mixin selector named hueToRgbLnet/minecraft/client/render/debug/DebugRenderer;hueToRgb(F)Lnet/minecraft/util/math/Vec3d;intermediary method_62348Lnet/minecraft/class_863;method_62348(F)Lnet/minecraft/class_243;official aLhlq;a(F)Lfoh;
-
shiftHue
- Mappings:
Namespace Name Mixin selector named shiftHueLnet/minecraft/client/render/debug/DebugRenderer;shiftHue(FFFF)Lnet/minecraft/util/math/Vec3d;intermediary method_62349Lnet/minecraft/class_863;method_62349(FFFF)Lnet/minecraft/class_243;official aLhlq;a(FFFF)Lfoh;
-
drawVoxelShapeOutlines
public static void drawVoxelShapeOutlines(MatrixStack matrices, VertexConsumer vertexConsumer, VoxelShape shape, double offsetX, double offsetY, double offsetZ, float red, float green, float blue, float alpha, boolean bool) - Mappings:
Namespace Name Mixin selector named drawVoxelShapeOutlinesLnet/minecraft/client/render/debug/DebugRenderer;drawVoxelShapeOutlines(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/util/shape/VoxelShape;DDDFFFFZ)Vintermediary method_62350Lnet/minecraft/class_863;method_62350(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_265;DDDFFFFZ)Vofficial aLhlq;a(Lfua;Lfud;Lfpc;DDDFFFFZ)V
-