mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-09 13:56:04 +01:00
46 lines
1.1 KiB
Java
46 lines
1.1 KiB
Java
|
package com.jozufozu.flywheel.event;
|
||
|
|
||
|
import com.mojang.blaze3d.matrix.MatrixStack;
|
||
|
|
||
|
import net.minecraft.client.renderer.ActiveRenderInfo;
|
||
|
import net.minecraft.client.renderer.GameRenderer;
|
||
|
import net.minecraft.client.renderer.LightTexture;
|
||
|
import net.minecraft.client.world.ClientWorld;
|
||
|
import net.minecraftforge.eventbus.api.Event;
|
||
|
|
||
|
public class BeginFrameEvent extends Event {
|
||
|
private final ClientWorld world;
|
||
|
private final MatrixStack stack;
|
||
|
private final ActiveRenderInfo info;
|
||
|
private final GameRenderer gameRenderer;
|
||
|
private final LightTexture lightTexture;
|
||
|
|
||
|
public BeginFrameEvent(ClientWorld world, MatrixStack stack, ActiveRenderInfo info, GameRenderer gameRenderer, LightTexture lightTexture) {
|
||
|
this.world = world;
|
||
|
this.stack = stack;
|
||
|
this.info = info;
|
||
|
this.gameRenderer = gameRenderer;
|
||
|
this.lightTexture = lightTexture;
|
||
|
}
|
||
|
|
||
|
public ClientWorld getWorld() {
|
||
|
return world;
|
||
|
}
|
||
|
|
||
|
public MatrixStack getStack() {
|
||
|
return stack;
|
||
|
}
|
||
|
|
||
|
public ActiveRenderInfo getInfo() {
|
||
|
return info;
|
||
|
}
|
||
|
|
||
|
public GameRenderer getGameRenderer() {
|
||
|
return gameRenderer;
|
||
|
}
|
||
|
|
||
|
public LightTexture getLightTexture() {
|
||
|
return lightTexture;
|
||
|
}
|
||
|
}
|