aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events')
-rw-r--r--src/main/kotlin/moe/nea/firmament/events/SlotRenderEvents.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/SlotRenderEvents.kt b/src/main/kotlin/moe/nea/firmament/events/SlotRenderEvents.kt
index 695d9c2..c4b0a3d 100644
--- a/src/main/kotlin/moe/nea/firmament/events/SlotRenderEvents.kt
+++ b/src/main/kotlin/moe/nea/firmament/events/SlotRenderEvents.kt
@@ -18,18 +18,18 @@
package moe.nea.firmament.events
-import net.minecraft.client.util.math.MatrixStack
+import net.minecraft.client.gui.DrawContext
import net.minecraft.screen.slot.Slot
interface SlotRenderEvents {
- val matrices: MatrixStack
+ val context: DrawContext
val slot: Slot
val mouseX: Int
val mouseY: Int
val delta: Float
data class Before(
- override val matrices: MatrixStack, override val slot: Slot,
+ override val context: DrawContext, override val slot: Slot,
override val mouseX: Int,
override val mouseY: Int,
override val delta: Float
@@ -39,7 +39,7 @@ interface SlotRenderEvents {
}
data class After(
- override val matrices: MatrixStack, override val slot: Slot,
+ override val context: DrawContext, override val slot: Slot,
override val mouseX: Int,
override val mouseY: Int,
override val delta: Float