Class DebugRenderer

java.lang.Object
net.minecraft.client.renderer.debug.DebugRenderer

public class DebugRenderer extends Object
  • Field Details

  • Constructor Details

    • DebugRenderer

      public DebugRenderer()
  • Method Details

    • refreshRendererList

      public void refreshRendererList()
    • render

      public void render(PoseStack poseStack, Frustum frustum, MultiBufferSource.BufferSource bufferSource, double camX, double camY, double camZ, boolean translucent)
    • getTargetedEntity

      public static Optional<Entity> getTargetedEntity(@Nullable Entity entity, int distance)
    • renderFilledUnitCube

      public static void renderFilledUnitCube(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, float red, float green, float blue, float alpha)
    • renderFilledBox

      public static void renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos startPos, BlockPos endPos, float red, float green, float blue, float alpha)
    • renderFilledBox

      public static void renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, float scale, float red, float green, float blue, float alpha)
    • renderFilledBox

      public static void renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, AABB boundingBox, float red, float green, float blue, float alpha)
    • renderFilledBox

      public static void renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, double minX, double minY, double minZ, double maxX, double maxY, double maxZ, float red, float green, float blue, float alpha)
    • renderTextOverBlock

      public static void renderTextOverBlock(PoseStack poseStack, MultiBufferSource bufferSource, String text, BlockPos pos, int line, int color, float scale)
    • renderTextOverMob

      public static void renderTextOverMob(PoseStack poseStack, MultiBufferSource bufferSource, Entity entity, int line, String text, int color, float scale)
    • renderFloatingText

      public static void renderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, int x, int y, int z, int color)
    • renderFloatingText

      public static void renderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, double x, double y, double z, int color)
    • renderFloatingText

      public static void renderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, double x, double y, double z, int color, float scale)
    • renderFloatingText

      public static void renderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, double x, double y, double z, int color, float scale, boolean center, float xOffset, boolean transparent)
    • mixColor

      private static Vec3 mixColor(float shift)
    • shiftHue

      private static Vec3 shiftHue(float red, float green, float blue, float shift)
    • renderVoxelShape

      public static void renderVoxelShape(PoseStack poseStack, VertexConsumer buffer, VoxelShape shape, double x, double y, double z, float red, float green, float blue, float alpha, boolean lowerColorVariance)