aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events/ScreenChangeEvent.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-10 01:34:37 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-10 03:14:55 +0200
commit986ce538f123cdec7e0da12ed89ba7225539df0a (patch)
treedd4a3448878c2af26be3bca81bbc8aa710bdc112 /src/main/kotlin/moe/nea/firmament/events/ScreenChangeEvent.kt
parent4e1cda1d64ce60719f6ff6e60c6af4881d81fdd2 (diff)
downloadFirmament-986ce538f123cdec7e0da12ed89ba7225539df0a.tar.gz
Firmament-986ce538f123cdec7e0da12ed89ba7225539df0a.tar.bz2
Firmament-986ce538f123cdec7e0da12ed89ba7225539df0a.zip
Add interactive storage overlay
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events/ScreenChangeEvent.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/events/ScreenChangeEvent.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/ScreenChangeEvent.kt b/src/main/kotlin/moe/nea/firmament/events/ScreenChangeEvent.kt
index c6b0a7f..4683fac 100644
--- a/src/main/kotlin/moe/nea/firmament/events/ScreenChangeEvent.kt
+++ b/src/main/kotlin/moe/nea/firmament/events/ScreenChangeEvent.kt
@@ -1,5 +1,6 @@
/*
* SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ * SPDX-FileCopyrightText: 2024 Linnea Gräf <nea@nea.moe>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
@@ -9,5 +10,6 @@ package moe.nea.firmament.events
import net.minecraft.client.gui.screen.Screen
data class ScreenChangeEvent(val old: Screen?, val new: Screen?) : FirmamentEvent.Cancellable() {
+ var overrideScreen: Screen? = null
companion object : FirmamentEventBus<ScreenChangeEvent>()
}