diff options
author | Rime <81419447+Emirlol@users.noreply.github.com> | 2024-06-21 07:38:03 +0300 |
---|---|---|
committer | Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com> | 2024-07-22 14:21:56 +0800 |
commit | 8f540ffc0f2e6dc90f8c9a1ac249ff9185243d3c (patch) | |
tree | 31866cf4f5a1723e092f0cbebe7dbbcca2209dba /src/main/java/de/hysky/skyblocker/utils/NEURepoManager.java | |
parent | 4c398333b9802a9000cc65d50ae4a2d13f300ca8 (diff) | |
download | Skyblocker-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/utils/NEURepoManager.java')
0 files changed, 0 insertions, 0 deletions