Class RenderUtil

java.lang.Object
net.jcm.vsch.client.RenderUtil

public final class RenderUtil extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    drawBox(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, org.joml.Vector4f rgba, org.joml.Vector3i offseti, org.joml.Quaternionf rot, org.joml.Vector3i sizei)
     
    static void
    drawBoxWithTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, ModelTextures model, org.joml.Vector3f rgb, org.joml.Vector3f offset, org.joml.Quaternionf rot, org.joml.Vector3i size, float scale)
     
    static void
    drawBoxWithTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, ModelTextures model, org.joml.Vector4f rgba, org.joml.Vector3f offset, org.joml.Quaternionf rot, org.joml.Vector3i size, float scale)
     
    static void
    drawPlane(com.mojang.blaze3d.vertex.PoseStack posestack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, org.joml.Vector4f rgba, net.minecraft.core.Direction perspective, org.joml.Vector3f offset, org.joml.Vector3f size)
     
    static void
    drawPlaneWithTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, TextureLocation texture, org.joml.Vector3f rgb, net.minecraft.core.Direction perspective, org.joml.Vector3f offset, org.joml.Vector3i size, float scale)
     
    static void
    drawPlaneWithTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, TextureLocation texture, org.joml.Vector4f rgba, net.minecraft.core.Direction perspective, org.joml.Vector3f offset, org.joml.Vector3i size, float scale)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • drawBox

      public static void drawBox(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, org.joml.Vector4f rgba, org.joml.Vector3i offseti, org.joml.Quaternionf rot, org.joml.Vector3i sizei)
    • drawPlane

      public static void drawPlane(com.mojang.blaze3d.vertex.PoseStack posestack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, org.joml.Vector4f rgba, net.minecraft.core.Direction perspective, org.joml.Vector3f offset, org.joml.Vector3f size)
    • drawBoxWithTexture

      public static void drawBoxWithTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, ModelTextures model, org.joml.Vector3f rgb, org.joml.Vector3f offset, org.joml.Quaternionf rot, org.joml.Vector3i size, float scale)
    • drawBoxWithTexture

      public static void drawBoxWithTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, ModelTextures model, org.joml.Vector4f rgba, org.joml.Vector3f offset, org.joml.Quaternionf rot, org.joml.Vector3i size, float scale)
    • drawPlaneWithTexture

      public static void drawPlaneWithTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, TextureLocation texture, org.joml.Vector3f rgb, net.minecraft.core.Direction perspective, org.joml.Vector3f offset, org.joml.Vector3i size, float scale)
    • drawPlaneWithTexture

      public static void drawPlaneWithTexture(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, RenderUtil.BoxLightMap lightMap, TextureLocation texture, org.joml.Vector4f rgba, net.minecraft.core.Direction perspective, org.joml.Vector3f offset, org.joml.Vector3i size, float scale)