Package com.idark.valoria.util
Class RenderUtils
java.lang.Object
com.idark.valoria.util.RenderUtils
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
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()
-