Roughly Enough Items Forge (Unused CF Project, Use the Merged One)

Roughly Enough Items Forge (Unused CF Project, Use the Merged One)

352k Downloads

[Bug] Custom TransferHandlers do not transfer items

MarcusElg opened this issue ยท 0 comments

commented

What happened?

In my class implementing REIClientPlugin I have registered a transfer handler for my block:

@Override public void registerTransferHandlers(TransferHandlerRegistry registry) { registry.register(SimpleTransferHandler.create(SlimeEvaporatorGui.class, EVAPORATION, new SimpleTransferHandler.IntRange(SlimeEvaporatorBlockEntity.INPUT_SLOT_INDEX, SlimeEvaporatorBlockEntity.INPUT_SLOT_INDEX + 1))); }

This makes the plus button clickable when viewing an evaporation recipe, however nothing happens when clicking on it. This code follows the documentation on the wiki: https://chicken-fetch-ve7.craft.me/qj8mHyTVd7qkOZ/b/99D93A94-528A-44A9-A467-770DAD6AB213/Transfer-Handlers-(Client)

What mod loaders are you seeing the problem on?

Fabric

What do you think this bug is of?

  • Visual
  • Recipe Lookup
  • Cheat Mode
  • Plugin Integration / JEI Plugin Compatibility
  • Others

Relevant log output

-

Anything else?

No response

By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.

  • Yes, and I did not use any paste services other than GitHub Gists.

By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.

  • Yes