blob: 098912a6ff91982e52f6df508d2e696c698e8912 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package moe.nea.ledger.events
import net.minecraft.client.gui.GuiScreen
import net.minecraft.client.gui.inventory.GuiChest
import net.minecraft.inventory.ContainerChest
import net.minecraftforge.fml.common.eventhandler.Event
data class BeforeGuiAction(val gui: GuiScreen) : Event() {
val chest = gui as? GuiChest
val chestSlots = chest?.inventorySlots as ContainerChest?
}
|