diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-05 22:17:02 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-05 22:17:02 +0200 |
commit | 3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7 (patch) | |
tree | b383c2c584a96b93c46d1dae3efcd3c6571e3d05 /src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt | |
parent | 5ee4b8d925eb12e068038a1fd2e1f35cdd8ef87e (diff) | |
download | firmament-3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7.tar.gz firmament-3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7.tar.bz2 firmament-3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7.zip |
Port to 1.21
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt b/src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt index b42e9ab..7ba9b9f 100644 --- a/src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/WorldRenderLastEvent.kt @@ -7,10 +7,10 @@ package moe.nea.firmament.events -import org.joml.Matrix4f import net.minecraft.client.render.Camera import net.minecraft.client.render.GameRenderer import net.minecraft.client.render.LightmapTextureManager +import net.minecraft.client.render.RenderTickCounter import net.minecraft.client.render.VertexConsumerProvider import net.minecraft.client.util.math.MatrixStack import net.minecraft.util.math.Position @@ -21,7 +21,7 @@ import net.minecraft.util.math.Vec3d */ data class WorldRenderLastEvent( val matrices: MatrixStack, - val tickDelta: Float, + val tickCounter: RenderTickCounter, val renderBlockOutline: Boolean, val camera: Camera, val gameRenderer: GameRenderer, @@ -29,8 +29,4 @@ data class WorldRenderLastEvent( val vertexConsumers: VertexConsumerProvider.Immediate, ) : FirmamentEvent() { companion object : FirmamentEventBus<WorldRenderLastEvent>() - data class TextRenderCall(val string: String, val position: Position) - - val toRender = mutableListOf<TextRenderCall>(TextRenderCall("Test String", Vec3d(0.0, 0.0, 0.0))) - } |