Add item rarity backgrounds

This commit is contained in:
nea
2023-09-30 00:09:40 +02:00
parent f89135db7e
commit 040dbca014
9 changed files with 119 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
package moe.nea.firmament.events
import net.minecraft.client.gui.DrawContext
import net.minecraft.item.ItemStack
data class HotbarItemRenderEvent(
val item: ItemStack,
val context: DrawContext,
val x: Int,
val y: Int,
val tickDelta: Float,
) : FirmamentEvent() {
companion object : FirmamentEventBus<HotbarItemRenderEvent>()
}