blob: c70f6862a9cdef6b93c5fe9d354299450e3f630d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package cc.polyfrost.oneconfig.utils.dsl
import cc.polyfrost.oneconfig.utils.gui.GuiUtils
import net.minecraft.client.gui.GuiScreen
/**
* Displays a screen after the specified amount of ticks.
*
* @param ticks the amount of ticks to wait for before displaying the screen.
*/
fun GuiScreen.openScreen(ticks: Int = 1) = GuiUtils.displayScreen(this, ticks)
|