Package net.minecraft.client.renderer
Class ShapeRenderer
java.lang.Object
net.minecraft.client.renderer.ShapeRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddChainedFilledBoxVertices(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 voidaddChainedFilledBoxVertices(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 voidrenderFace(Matrix4f pPose, VertexConsumer pConsumer, Direction pDirection, float pX1, float pY1, float pZ1, float pX2, float pY2, float pZ2, float pRed, float pGreen, float pBlue, float pAlpha) static voidrenderLineBox(PoseStack.Pose pPose, VertexConsumer pConsumer, double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha) static voidrenderLineBox(PoseStack.Pose pPose, VertexConsumer pConsumer, 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 voidrenderLineBox(PoseStack.Pose pPose, VertexConsumer pConsumer, AABB pBox, float pRed, float pGreen, float pBlue, float pAlpha) static voidrenderShape(PoseStack pPoseStack, VertexConsumer pBuffer, VoxelShape pShape, double pX, double pY, double pZ, int pColor) static voidrenderVector(PoseStack pPoseStack, VertexConsumer pBuffer, Vector3f pStartPos, Vec3 pVector, int pColor)
-
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.Pose pPose, VertexConsumer pConsumer, AABB pBox, float pRed, float pGreen, float pBlue, float pAlpha) -
renderLineBox
public static void renderLineBox(PoseStack.Pose pPose, VertexConsumer pConsumer, 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.Pose pPose, VertexConsumer pConsumer, 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(Matrix4f pPose, VertexConsumer pConsumer, Direction pDirection, 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 pPoseStack, VertexConsumer pBuffer, Vector3f pStartPos, Vec3 pVector, int pColor)
-