aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events/ItemTooltipEvent.kt
blob: ba597cd706a1aa4d6464e088da8975c886817a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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.item.TooltipContext
import net.minecraft.item.ItemStack
import net.minecraft.text.Text

data class ItemTooltipEvent(
    val stack: ItemStack, val context: TooltipContext, val lines: MutableList<Text>
) : FirmamentEvent() {
    companion object : FirmamentEventBus<ItemTooltipEvent>()
}