package wtf.expensive.ui;
import net.minecraft.client.renderer.Matrix4f;
import net.minecraft.client.renderer.ActiveRenderInfo;
import com.mojang.blaze3d.matrix.MatrixStack;
public class WorldRenderEvent {
private final float partialTicks;
private final MatrixStack matrixStack;
private final ActiveRenderInfo activeRenderInfo;
private final Matrix4f projectionMatrix;
public WorldRenderEvent(float partialTicks, MatrixStack matrixStack, ActiveRenderInfo activeRenderInfo, Matrix4f projectionMatrix) {
this.partialTicks = partialTicks;
this.matrixStack = matrixStack;
this.activeRenderInfo = activeRenderInfo;
this.projectionMatrix = projectionMatrix;
}
public float getPartialTicks() {
return partialTicks;
}
public MatrixStack getMatrixStack() {
return matrixStack;
}
public ActiveRenderInfo getActiveRenderInfo() {
return activeRenderInfo;
}
public Matrix4f getProjectionMatrix() {
return projectionMatrix;
}
}