From 189526f2d6d96cce6086af6947b4e752c13944e2 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Fri, 12 Aug 2022 19:37:53 -0400 Subject: Display trophy fish completion behind chat and tab Works for SBA custom tab and ST custom chat as well --- src/main/java/me/Danker/features/loot/TrophyFishTracker.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/main/java/me/Danker/features/loot/TrophyFishTracker.java') diff --git a/src/main/java/me/Danker/features/loot/TrophyFishTracker.java b/src/main/java/me/Danker/features/loot/TrophyFishTracker.java index f9936f0..1098e4b 100644 --- a/src/main/java/me/Danker/features/loot/TrophyFishTracker.java +++ b/src/main/java/me/Danker/features/loot/TrophyFishTracker.java @@ -140,10 +140,11 @@ public class TrophyFishTracker { ItemStack goldComplete = new ItemStack(Items.gold_ingot); ItemStack diamondComplete = new ItemStack(Items.diamond); - RenderUtils.renderItem(bronze ? bronzeComplete : incomplete, x, y - 2, scale / 1.3D); - RenderUtils.renderItem(silver ? silverComplete : incomplete, x + 15, y - 2, scale / 1.3D); - RenderUtils.renderItem(gold ? goldComplete : incomplete, x + 30, y - 2, scale / 1.3D); - RenderUtils.renderItem(diamond ? diamondComplete : incomplete, x + 45, y - 2, scale / 1.3D); + // -116 hides behind chat + tab + RenderUtils.renderItem(bronze ? bronzeComplete : incomplete, x, y - 2, -116, scale / 1.3D); + RenderUtils.renderItem(silver ? silverComplete : incomplete, x + 15, y - 2, -116, scale / 1.3D); + RenderUtils.renderItem(gold ? goldComplete : incomplete, x + 30, y - 2, -116, scale / 1.3D); + RenderUtils.renderItem(diamond ? diamondComplete : incomplete, x + 45, y - 2, -116, scale / 1.3D); } } -- cgit