Class RenderUtils

java.lang.Object
com.idark.valoria.util.RenderUtils

public class RenderUtils extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
     
    static net.minecraft.client.renderer.RenderType
     
    static net.minecraft.client.renderer.RenderType
     
    static final net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
     
    static org.joml.Matrix4f
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.renderer.MultiBufferSource.BufferSource
     
    static void
    onRenderWorldLast(net.minecraftforge.client.event.RenderLevelStageEvent event)
     
    static void
    renderItemModelInGui(net.minecraft.world.item.ItemStack stack, int x, int y, float xSize, float ySize, float zSize)
    Dimensions xSize, ySize, zSize are specified in pixels, small addition to this description: this method conflicts with renderTooltip

    Methods inherited from class java.lang.Object

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

    • ADDITIVE_TRANSPARENCY

      public static final net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard ADDITIVE_TRANSPARENCY
    • NORMAL_TRANSPARENCY

      public static final net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard NORMAL_TRANSPARENCY
    • GLOWING_PARTICLE

      public static net.minecraft.client.renderer.RenderType GLOWING_PARTICLE
    • DELAYED_PARTICLE

      public static net.minecraft.client.renderer.RenderType DELAYED_PARTICLE
    • particleMVMatrix

      public static org.joml.Matrix4f particleMVMatrix
  • Constructor Details

    • RenderUtils

      public RenderUtils()
  • Method Details

    • renderItemModelInGui

      public static void renderItemModelInGui(net.minecraft.world.item.ItemStack stack, int x, int y, float xSize, float ySize, float zSize)
      Dimensions xSize, ySize, zSize are specified in pixels, small addition to this description: this method conflicts with renderTooltip
    • onRenderWorldLast

      public static void onRenderWorldLast(net.minecraftforge.client.event.RenderLevelStageEvent event)
    • getDelayedRender

      public static net.minecraft.client.renderer.MultiBufferSource.BufferSource getDelayedRender()