
xt9
Members-
Content Count
3 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout xt9
-
Rank
Tree Puncher
-
Container not pulling items from their corresponding spots.
xt9 replied to xt9's topic in Modder Support
Wow, how did that get in there, I'm amazed I didn't catch that. Thanks a bunch. -
Container not pulling items from their corresponding spots.
xt9 replied to xt9's topic in Modder Support
Yeah an offset was what I was thinking as well but I don't know where to apply it since I don't know which function uses the inventoryslots in ContainerPlayer. I've used breakpoints in most of the functions in the Container class but came up empty handed. Thank you for your input. -
Video demonstration of the problem: https://www.youtube.com/watch?time_continue=14&v=f7BUdXHRMqQ Github repo I've tried a bunch of stuff to resolve this issue, and check what getSlot and slotClick returns, and they seem fine (if i click on a dirt block in my container both of them return that the itemstack contains dirt) But after those functions get called it grabs from ContainerPlayers inventorySlots, and there the first 9 slots are for armor and crafting, and I'm clueless to the flow and why this is happening. Container class Proxy