aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/ScreenChangeEvent.kt
blob: 489e4873db5f3f50d1ce8250be6a1112d59f2a85 (plain)
1
2
3
4
5
6
7
8
9
10
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>()
}