From 520ed42e085d80e6195c00181b495d4bffbb5cef Mon Sep 17 00:00:00 2001 From: Light_Quanta Date: Tue, 8 Apr 2025 11:40:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=B5=8B=E8=AF=95=E7=94=A8Hi?= =?UTF-8?q?ghlightTip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../superbwarfare/item/ContainerBlockItem.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/item/ContainerBlockItem.java b/src/main/java/com/atsuishio/superbwarfare/item/ContainerBlockItem.java index ab59d34ea..4048177db 100644 --- a/src/main/java/com/atsuishio/superbwarfare/item/ContainerBlockItem.java +++ b/src/main/java/com/atsuishio/superbwarfare/item/ContainerBlockItem.java @@ -9,7 +9,6 @@ import com.atsuishio.superbwarfare.init.ModItems; import net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer; import net.minecraft.core.component.DataComponents; import net.minecraft.nbt.CompoundTag; -import net.minecraft.network.chat.Component; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.InteractionResultHolder; @@ -187,15 +186,4 @@ public class ContainerBlockItem extends BlockItem implements GeoItem { return stack; } - - @Override - public @NotNull Component getHighlightTip(@NotNull ItemStack item, @NotNull Component displayName) { -// var tag = item.getOrDefault(DataComponents.CUSTOM_DATA, CustomData.EMPTY).copyTag(); -// String entityTranslationKey = getEntityTranslationKey(tag.getString("EntityType")); -// -// super.getHighlightTip(item, displayName). -// -// tooltipComponents.add(Component.translatable(entityTranslationKey == null ? "des.superbwarfare.container.empty" : s).withStyle(ChatFormatting.GRAY)); - return Component.literal("tesjlktkjesjlktlejk"); - } }