aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/utils/container
AgeCommit message (Collapse)Author
2024-07-25Make ChocolateFactorySolver a singleton to fix tooltip not working (#863)Rime
h
2024-07-24Rename slot text option to slotTextModeKevinthegreat
2024-07-22Code review part 1Kevinthegreat
2024-07-22Clean up rebased codeKevinthegreat
2024-07-22Change tooltip manager to allow adding tooltips on non-handled screensRime
2024-07-22Rebase onto masterRime
2024-07-22Change slot text to have multiple statesRime
The enum SlotTextState is very self-descriptive if you wonder what the states are
2024-07-22Oops, missed a fewRime
2024-07-22Rename AbstractContainerMatcher and its extending interfaces to remove the ↵Rime
`Abstract` prefix and rename simple implementations with a `Simple` prefix
2024-07-22A lot of stuff.Rime
- 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)
2024-07-22Refactor container matcher implementations into interfacesRime