Interface IRenderer3D

All Superinterfaces:
IRenderer

public interface IRenderer3D extends IRenderer
TODO: possibly add drawQuad methods? drawVerticalQuad, drawHorizontalQuad, drawVerticalHorizontalQuad, draw HorizontalVerticalQuad TODO: billboarding TODO: render text
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawBox(double x, double y, double z, double width, double height, double depth, boolean fill, boolean outline, int fillColor)
     
    void
    drawBox(net.minecraft.core.BlockPos pos, boolean fill, boolean outline, int fillColor)
     
    void
    drawBox(net.minecraft.world.entity.Entity entity, float partialTicks, boolean fill, boolean outline, int fillColor)
     
    void
    drawLine(double x1, double y1, double z1, double x2, double y2, double z2, int color)
     
    default void
    drawLine(net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end, int color)
     
    void
    drawPlane(double x, double y, double z, double width, double height, net.minecraft.core.Direction direction, boolean fill, boolean outline, int fillColor)
     
    void
    drawShape(net.minecraft.world.phys.shapes.VoxelShape shape, double x, double y, double z, boolean fill, boolean outline, int fillColor)
     
    com.mojang.blaze3d.vertex.BufferBuilder
     
    com.mojang.blaze3d.vertex.BufferBuilder
     
    com.mojang.blaze3d.vertex.BufferBuilder
     
    com.mojang.blaze3d.vertex.BufferBuilder
     
    net.minecraft.world.phys.Vec2
    projectToScreen(net.minecraft.world.phys.Vec3 pos)
     
    void
    setDepthTest(boolean depthTest)
     
    void
    setLineWidth(float lineWidth)
     

    Methods inherited from interface org.rusherhack.client.api.render.IRenderer

    begin, begin, end, getMatrixStack, isBuilding
  • Method Details

    • drawShape

      void drawShape(net.minecraft.world.phys.shapes.VoxelShape shape, double x, double y, double z, boolean fill, boolean outline, int fillColor)
    • drawLine

      default void drawLine(net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end, int color)
    • drawLine

      void drawLine(double x1, double y1, double z1, double x2, double y2, double z2, int color)
    • drawPlane

      void drawPlane(double x, double y, double z, double width, double height, net.minecraft.core.Direction direction, boolean fill, boolean outline, int fillColor)
    • drawBox

      void drawBox(net.minecraft.core.BlockPos pos, boolean fill, boolean outline, int fillColor)
    • drawBox

      void drawBox(net.minecraft.world.entity.Entity entity, float partialTicks, boolean fill, boolean outline, int fillColor)
    • drawBox

      void drawBox(double x, double y, double z, double width, double height, double depth, boolean fill, boolean outline, int fillColor)
    • setDepthTest

      void setDepthTest(boolean depthTest)
    • setLineWidth

      void setLineWidth(float lineWidth)
    • getQuadsBuffer

      com.mojang.blaze3d.vertex.BufferBuilder getQuadsBuffer()
    • getLinesBuffer

      com.mojang.blaze3d.vertex.BufferBuilder getLinesBuffer()
    • getTrianglesBuffer

      com.mojang.blaze3d.vertex.BufferBuilder getTrianglesBuffer()
    • getTriangleFanBuffer

      com.mojang.blaze3d.vertex.BufferBuilder getTriangleFanBuffer()
    • projectToScreen

      net.minecraft.world.phys.Vec2 projectToScreen(net.minecraft.world.phys.Vec3 pos)
      Returns:
      null if the position is off screen