Introduce compat source sets and move all kotlin sources to the main directory [no changelog]
19 lines
440 B
Kotlin
19 lines
440 B
Kotlin
|
|
|
|
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>()
|
|
}
|