2021-02-10 23:55:49 +00:00
|
|
|
package net.shadowfacts.phycon.init
|
|
|
|
|
|
|
|
import net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry
|
2021-02-14 02:37:39 +00:00
|
|
|
import net.minecraft.screen.ScreenHandlerType
|
2021-02-10 23:55:49 +00:00
|
|
|
import net.minecraft.util.Identifier
|
|
|
|
import net.shadowfacts.phycon.PhysicalConnectivity
|
2021-02-14 02:37:39 +00:00
|
|
|
import net.shadowfacts.phycon.network.block.terminal.TerminalScreenHandler
|
2021-02-10 23:55:49 +00:00
|
|
|
|
|
|
|
object PhyScreens {
|
|
|
|
|
2021-02-14 02:37:39 +00:00
|
|
|
lateinit var TERMINAL_SCREEN_HANDLER: ScreenHandlerType<TerminalScreenHandler>
|
|
|
|
private set
|
|
|
|
|
|
|
|
fun init() {
|
|
|
|
TERMINAL_SCREEN_HANDLER = ScreenHandlerRegistry.registerExtended(Identifier(PhysicalConnectivity.MODID, "terminal"), ::TerminalScreenHandler)
|
|
|
|
}
|
2021-02-10 23:55:49 +00:00
|
|
|
|
|
|
|
}
|