Posted July 8, 20205 yr so im having an issue in making a bag. i want to right click on the bag and it opens. yet i cant find a way to make a inventory without a tile entity and i cant link a tile entity to a item https://pastebin.com/LwuCxSfK (this is my container class) how would i link that to say CharmBagItem? https://pastebin.com/Z9eYX2TC (registry)
July 8, 20205 yr There this wonderful magical thing called Capabilities that ItemStacks are allowed to have. https://mcforge.readthedocs.io/en/1.15.x/datastorage/capabilities/ Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
July 9, 20205 yr Here's a working example of an Item which is also a container https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe32_inventory_item Cheers TGG
July 14, 20205 yr On 7/9/2020 at 9:23 PM, TheGreyGhost said: Here's a working example of an Item which is also a container Is there an example of 1.12.2?Forge rewrittes in 1.13.
July 14, 20205 yr 1.12 is no longer supported. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.