[SOLVED] Upgrading from IInventory to Capabilities - IInventoryChangedListener?
By
logalu,
in Modder Support
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By diesieben07 · Posted
Not necessary when you only need the inventory in the container. Only sync to the client what is necessary, not the whole TE data. Use TileEntity#getBlockState instead. It's fine to use IInventory if you really want to. But you do need to implement getCapability and provide the IItemHandler capability if you want automation to work with your inventory. The problem is most likely that you must do the setItem stuff on the server only. -
By diesieben07 · Posted
They are in the client-extra.jar. I would advise you to use your IDE to find files instead of searching for them manually. -
By diesieben07 · Posted
Refer to this information please: https://gist.github.com/SizableShrimp/66b22f1b24c255e1491c8d98d3f11f83 -
By diesieben07 · Posted
This something you need to to on the server. -
By diesieben07 · Posted
This forum is for Forge, not Fabric.
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
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.