diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events/HotbarItemRenderEvent.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/events/HotbarItemRenderEvent.kt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/HotbarItemRenderEvent.kt b/src/main/kotlin/moe/nea/firmament/events/HotbarItemRenderEvent.kt index 59660ce..d105737 100644 --- a/src/main/kotlin/moe/nea/firmament/events/HotbarItemRenderEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/HotbarItemRenderEvent.kt @@ -7,14 +7,15 @@ package moe.nea.firmament.events import net.minecraft.client.gui.DrawContext +import net.minecraft.client.render.RenderTickCounter import net.minecraft.item.ItemStack data class HotbarItemRenderEvent( - val item: ItemStack, - val context: DrawContext, - val x: Int, - val y: Int, - val tickDelta: Float, + val item: ItemStack, + val context: DrawContext, + val x: Int, + val y: Int, + val tickDelta: RenderTickCounter, ) : FirmamentEvent() { companion object : FirmamentEventBus<HotbarItemRenderEvent>() } |