From 7e0151569477df63601be50c82177ecfd21e5deb Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 26 Apr 2024 18:04:45 +0200 Subject: Bump to 1.20.5 --- src/main/kotlin/moe/nea/firmament/events/ItemTooltipEvent.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/moe/nea/firmament/events/ItemTooltipEvent.kt') diff --git a/src/main/kotlin/moe/nea/firmament/events/ItemTooltipEvent.kt b/src/main/kotlin/moe/nea/firmament/events/ItemTooltipEvent.kt index ba597cd..94a1678 100644 --- a/src/main/kotlin/moe/nea/firmament/events/ItemTooltipEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/ItemTooltipEvent.kt @@ -1,17 +1,19 @@ /* * SPDX-FileCopyrightText: 2023 Linnea Gräf + * SPDX-FileCopyrightText: 2024 Linnea Gräf * * SPDX-License-Identifier: GPL-3.0-or-later */ package moe.nea.firmament.events -import net.minecraft.client.item.TooltipContext +import net.minecraft.client.item.TooltipType +import net.minecraft.item.Item.TooltipContext import net.minecraft.item.ItemStack import net.minecraft.text.Text data class ItemTooltipEvent( - val stack: ItemStack, val context: TooltipContext, val lines: MutableList + val stack: ItemStack, val context: TooltipContext, val type: TooltipType, val lines: MutableList ) : FirmamentEvent() { companion object : FirmamentEventBus() } -- cgit