Compost

Compost

30k Downloads

Questions about Composter and hopper interactions (Minecraft 1.21.1, NeoForge: 21.1.64, Composter: 1.4.0)

DatrixTheHybridShadowWolf opened this issue ยท 4 comments

commented

Hi there,

When I uses hoppers on a composter isn't it suppose to feed items into a composter when using compostable items? For some reason the items will go into a hopper, but when a composter is present underneath, the items just get stuck in the hopper and won't feed through into the composter. Is that suppose to happen?

commented

Are you using modded hoppers? The NeoForge hopper eject hook is disabled presently because it causes vanilla hoppers to not pull out of the modified composter. This was also an issue in the past with the Forge version and the same analogue was disabled until the fix was found. However, despite NeoForge being a branch of Forge, the this issue came back up from some other unknown cause. Until that is discovered, this hook is being disabled by Compost.

Testing that latest build of NeoForge, it seems to at least still be functional with vanilla hoppers in my testing.

commented

I used modded hoppers at first, then tried regular hoppers and neither one worked. Now I understand what happened is NeoForge's error, I was wondering why I was also having these issue on Fabric on 1.20.4. Oh well thanks for the response.

commented

Well it isn't that NeoForge is broken, but the way it handles item transfer is different. The hooks themselves are the same pretty much, but it seems it comes down to the differences between Forge's getItemHandler and NeoForge's getItemHandlerAt, which work a little differently.

Now when it came to Forge, I think the fix was ultimately in that the blockentity did not override one of the transfer logic methods. I don't know why it doesn't work with NF though.

commented

Your guess is as good as mine then. Anyway thanks again for the explanation.