Package net.minecraft.client.renderer
Class ShapeRenderer
java.lang.Object
net.minecraft.client.renderer.ShapeRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addChainedFilledBoxVertices
(PoseStack pPoseStack, VertexConsumer pBuffer, double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha) static void
addChainedFilledBoxVertices
(PoseStack pPoseStack, VertexConsumer pBuffer, float pMinX, float pMinY, float pMinZ, float pMaxX, float pMaxY, float pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha) static void
renderFace
(PoseStack pPoseStack, VertexConsumer pBuffer, Direction pFace, float pX1, float pY1, float pZ1, float pX2, float pY2, float pZ2, float pRed, float pGreen, float pBlue, float pAlpha) static void
renderLineBox
(PoseStack pPoseStack, VertexConsumer pBuffer, double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha) static void
renderLineBox
(PoseStack pPoseStack, VertexConsumer pBuffer, double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha, float pRed2, float pGreen2, float pBlue2) static void
renderLineBox
(PoseStack pPoseStack, VertexConsumer pBuffer, AABB pBox, float pRed, float pGreen, float pBlue, float pAlpha) static void
renderShape
(PoseStack pPoseStack, VertexConsumer pBuffer, VoxelShape pShape, double pX, double pY, double pZ, int pColor) static void
renderVector
(PoseStack p_360595_, VertexConsumer p_363463_, org.joml.Vector3f p_360401_, Vec3 p_364678_, int p_360349_)
-
Constructor Details
-
ShapeRenderer
public ShapeRenderer()
-
-
Method Details
-
renderShape
public static void renderShape(PoseStack pPoseStack, VertexConsumer pBuffer, VoxelShape pShape, double pX, double pY, double pZ, int pColor) -
renderLineBox
public static void renderLineBox(PoseStack pPoseStack, VertexConsumer pBuffer, AABB pBox, float pRed, float pGreen, float pBlue, float pAlpha) -
renderLineBox
public static void renderLineBox(PoseStack pPoseStack, VertexConsumer pBuffer, double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha) -
renderLineBox
public static void renderLineBox(PoseStack pPoseStack, VertexConsumer pBuffer, double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha, float pRed2, float pGreen2, float pBlue2) -
addChainedFilledBoxVertices
public static void addChainedFilledBoxVertices(PoseStack pPoseStack, VertexConsumer pBuffer, double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha) -
addChainedFilledBoxVertices
public static void addChainedFilledBoxVertices(PoseStack pPoseStack, VertexConsumer pBuffer, float pMinX, float pMinY, float pMinZ, float pMaxX, float pMaxY, float pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha) -
renderFace
public static void renderFace(PoseStack pPoseStack, VertexConsumer pBuffer, Direction pFace, float pX1, float pY1, float pZ1, float pX2, float pY2, float pZ2, float pRed, float pGreen, float pBlue, float pAlpha) -
renderVector
public static void renderVector(PoseStack p_360595_, VertexConsumer p_363463_, org.joml.Vector3f p_360401_, Vec3 p_364678_, int p_360349_)
-