From 2fc8343b9cac0bbcab1a7388cfdd9e960e95865e Mon Sep 17 00:00:00 2001 From: 17146 <1714673995@qq.com> Date: Thu, 19 Jun 2025 20:35:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=95=E9=9B=BE=E8=8A=B1?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=9B=BE=E6=A0=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../superbwarfare/item/gun/handgun/Trachelium.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/com/atsuishio/superbwarfare/item/gun/handgun/Trachelium.java b/src/main/java/com/atsuishio/superbwarfare/item/gun/handgun/Trachelium.java index 1d8d9bd16..0741ddbd8 100644 --- a/src/main/java/com/atsuishio/superbwarfare/item/gun/handgun/Trachelium.java +++ b/src/main/java/com/atsuishio/superbwarfare/item/gun/handgun/Trachelium.java @@ -1,5 +1,6 @@ package com.atsuishio.superbwarfare.item.gun.handgun; +import com.atsuishio.superbwarfare.Mod; import com.atsuishio.superbwarfare.client.ClickHandler; import com.atsuishio.superbwarfare.client.TooltipTool; import com.atsuishio.superbwarfare.client.renderer.gun.TracheliumItemRenderer; @@ -14,6 +15,7 @@ import net.minecraft.client.Minecraft; import net.minecraft.client.player.LocalPlayer; import net.minecraft.network.chat.Component; import net.minecraft.network.chat.Style; +import net.minecraft.resources.ResourceLocation; import net.minecraft.sounds.SoundEvent; import net.minecraft.world.entity.Entity; import net.minecraft.world.item.*; @@ -310,4 +312,9 @@ public class Trachelium extends GunItem { public boolean hasCustomStock(ItemStack stack) { return true; } + + @Override + public ResourceLocation getGunIcon() { + return Mod.loc("textures/gun_icon/trachelium_icon.png"); + } } \ No newline at end of file