#Transfer API and Entities

4 messages · Page 1 of 1 (latest)

marble ledge
#

Hello!
I am currently working a train mod and am trying to allow hoppers and modded equivalents to work with the SidedInventory my train wagons have.
However it seems there is no ItemStorage.SIDED.registerForEntity option.

What is the best practice for mod friendly entity inventory support?

Thanks

#

(Fabric 1.20.1)

latent jewel
#

There should be a separate constant in ItemStorage for entities

#

There is actually nothing like that. I think you should just implement Inventory on your entity directly