![minecraft forge build inventory minecraft forge build inventory](https://media.forgecdn.net/attachments/266/11/2019-10-17_01.png)
IntelliJ optimization: Reducing background tasks in IntelliJ by removing unneeded plugins. The createMenu method contains three parameter: the container id of the menu, the inventory of the player who opened the menu, and the player who opened the menu.That is 3h20m you could be spending with your loved ones and doing stuff you love instead of staring at the fucking loading screen. If you save 1 minute waiting for the mod to load and you are repeating this task 10x per day, 5 days a week, that is 50 minutes a week, which is 200 minutes per month. Now I cant override the Container::detectAndSendChanges method since it uses said private field of listeners making it inaccessible for child classes.Īlso, when I call above function setActiveInventory from my Screen class, does that even solve the whole sync issue? Or is there a standard way of doing this? Since opening the GUI creates a new Container every time and I cant access that from anywhere.Since a lot of you are using Windows and it’s one of the least optimized operating systems, I’ll be showing you how to make sure your computer is running at its peak to reduce waiting for compilation times, improve FPS and overall modding experience. Of course I could set a maximum size for the inventory and just clear all slots before refilling them. Reason being that I would like to be able to support custom sized inventories.
![minecraft forge build inventory minecraft forge build inventory](https://vignette.wikia.nocookie.net/minecraftdungeons/images/e/e4/FieryForge.jpeg)
![minecraft forge build inventory minecraft forge build inventory](https://i.ytimg.com/vi/uBXvZaVz8C4/maxresdefault.jpg)
You see I am resetting the slots and recreate them for the new Inventory which makes the vanilla method unable to detect any changes. Public void setActiveInventory ( BlockPos pos )