Posted June 12, 20196 yr I am using forge 1.14.2-26.0.21 mappings 20190612 I was updating one of my 1.12.2 mods to 1.14.2, and I came across some strange behavior with my container. It duplicates when you move items around and when you try to grab an item from the player's hotbar, the gameHere is a video of it 6-12-2019-1.mp4 Here are the logs: https://pastebin.com/em2KhqtR Here is the code on GitHub (the 1.14.2 folder is the mod folder) https://github.com/KingParity/BetterPets I didn't register the container because this container is just like the horse's container, which was never registered. Edited June 12, 20196 yr by KingIceCream
June 18, 20196 yr Author So I solved the issue. I HAD to register the container and bind the GUI, which was a pain since I needed the entity's inventory and the entity itself in the container class, and I needed the entity in my GUI class. I still don't understand why it gave me this strange behavior in the first place though.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.