1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package at.hannibal2.skyhanni.events
import net.minecraft.client.gui.FontRenderer
import net.minecraft.item.ItemStack
abstract class GuiRenderItemEvent : LorenzEvent() {
abstract class RenderOverlayEvent(
open val fontRenderer: FontRenderer,
open val stack: ItemStack?,
open val x: Int,
open val y: Int,
open val text: String?,
) : GuiRenderItemEvent() {
data class GuiRenderItemPost(
override val fontRenderer: FontRenderer,
override val stack: ItemStack?,
override val x: Int,
override val y: Int,
override val text: String?,
) :
RenderOverlayEvent(fontRenderer, stack, x, y, text)
}
}
|