Botany Pots

Botany Pots

33M Downloads

Massive lag with IntegratedDynamics/Tunnels

Wyrrrd opened this issue ยท 1 comments

commented

Minecraft Version

1.20.1

Mod Version

13.0.22

Mod Loaders

  • Forge
  • NeoForge
  • Fabric
  • Quilt
  • Other / Don't Know

What environment are you running the mod in?

Dedicated Server

Issue Description

Pumping out a hopper botany pot with an item importer from IntegratedTunnels from below adds massive lag to the server. Just 10 of those were enough to make my average setup unplayable.

As of the issue CyclopsMC/IntegratedTunnels#285, this is caused by BotanyPots using a slot-based item handler interface. This causes the pot to iterate over all slots of the inventory below, which is quite a lot when using a large ID/IT network.

Steps to reproduce the problem:

  1. Put an item importer pointing at the bottom of a hopper botany pot.
  2. Add plant and soil to the pot.
  3. Add a boolean "true" variable card to the importer.
  4. Repeat 1.-3. some more
  5. Connect a big ID/IT network with lots of inventories

Spark profile

commented

Thanks for letting me know about this issue. It sounds like this would require hardcoded support for their custom inventory system which which I am not too excited about doing, but I will reach out to them and see what we can do about this.