- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
Fields
Fired after Minecraft has rendered everything in the world, before it renders hands, HUDs and GUIs.
-
Method Summary
void
onLevelRendered(com.mojang.blaze3d.vertex.PoseStack posingStack,
org.joml.Matrix4f modelViewMat,
org.joml.Matrix4f projectionMat,
net.minecraft.client.Camera camera,
float tickDelta)
-
Field Details
-
EVENT
Fired after Minecraft has rendered everything in the world, before it renders hands, HUDs and GUIs.
-
Method Details
-
onLevelRendered
void onLevelRendered(com.mojang.blaze3d.vertex.PoseStack posingStack,
org.joml.Matrix4f modelViewMat,
org.joml.Matrix4f projectionMat,
net.minecraft.client.Camera camera,
float tickDelta)
- Parameters:
posingStack - a blank PoseStack that can be used for rendering custom elements
modelViewMat - the model-view matrix corresponding to the camera's perspective
projectionMat - the base projection matrix for world rendering
camera - the camera from which perspective the world is being rendered
tickDelta - fraction of time between two consecutive ticks (before 0 and 1)