blob: b80951348273af2a22d9c8772b882aee05eb039d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package moe.nea.firmament.events
import me.shedaniel.math.Rectangle
import net.minecraft.client.gui.screen.ingame.HandledScreen
data class HandledScreenPushREIEvent(
val screen: HandledScreen<*>,
val rectangles: MutableList<Rectangle> = mutableListOf()
) : FirmamentEvent() {
fun block(rectangle: Rectangle) {
rectangles.add(rectangle)
}
companion object : FirmamentEventBus<HandledScreenPushREIEvent>()
}
|