aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/compatibility/emi
diff options
context:
space:
mode:
authorRime <81419447+Emirlol@users.noreply.github.com>2024-06-21 07:38:03 +0300
committerKevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>2024-07-22 14:21:56 +0800
commit8f540ffc0f2e6dc90f8c9a1ac249ff9185243d3c (patch)
tree31866cf4f5a1723e092f0cbebe7dbbcca2209dba /src/main/java/de/hysky/skyblocker/compatibility/emi
parent4c398333b9802a9000cc65d50ae4a2d13f300ca8 (diff)
downloadSkyblocker-8f540ffc0f2e6dc90f8c9a1ac249ff9185243d3c.tar.gz
Skyblocker-8f540ffc0f2e6dc90f8c9a1ac249ff9185243d3c.tar.bz2
Skyblocker-8f540ffc0f2e6dc90f8c9a1ac249ff9185243d3c.zip
A lot of stuff.
- Refactored SlotTextAdders to take in ItemStack and int slotId rather than Slot - Refactored the renderSlotText method from HandledScreenMixin into SlotTextManager and added an overloading function that takes in the itemstack, slot id, x and y and the previous function with the Slot parameter just delegates to it with the relevant fields from that Slot object - As a result of the above 2 changes the logic in CommunityShopAdder had to be changed too, now it figures out the screen from the method calls to `getText` rather than the Slot's inventory. - Fixed slot text not being rendered in backpack preview - Added private constructor for BackpackPreview (because it's all static methods anyway)
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/compatibility/emi')
0 files changed, 0 insertions, 0 deletions