Jump to content

Recommended Posts

Posted (edited)

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

 

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 by KingIceCream
Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.