blob: ade6ce835b14d0ae7b44d5f95a5f9d5502c43c08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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 Post(
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)
}
}
|