diff options
author | bowser0000 <bowser0000@gmail.com> | 2022-08-12 19:37:53 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2022-08-12 19:37:53 -0400 |
commit | 189526f2d6d96cce6086af6947b4e752c13944e2 (patch) | |
tree | 29a3ed9a89e0a7791c0a8210666e528e55e050fd /src/main/java/me/Danker/features/loot/TrophyFishTracker.java | |
parent | 8e4810bdaff443866f7c5a1346ba919bc8083899 (diff) | |
download | SkyblockMod-189526f2d6d96cce6086af6947b4e752c13944e2.tar.gz SkyblockMod-189526f2d6d96cce6086af6947b4e752c13944e2.tar.bz2 SkyblockMod-189526f2d6d96cce6086af6947b4e752c13944e2.zip |
Display trophy fish completion behind chat and tab
Works for SBA custom tab and ST custom chat as well
Diffstat (limited to 'src/main/java/me/Danker/features/loot/TrophyFishTracker.java')
-rw-r--r-- | src/main/java/me/Danker/features/loot/TrophyFishTracker.java | 9 |
1 files changed, 5 insertions, 4 deletions
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); } } |