Skip to content

ME bridge importFluid method can only import from first slot #794

@programmer3481

Description

@programmer3481

Describe

the ME bridge peripheral importFluid method (and the importFluidFromPeripheral method) can only import fluids from the first slot in the source tank.

An exception seems to be when the first slot is filled, and there are other slots filled with the same fluid as the first slot, and that fluid is imported; they are able to be imported at once.

The bug is in latest versions of AP in both 1.20.1 and 1.21.1.

The issue is probably not mod fluid storage specific, as the same bugged behavior could be seen using :
ME Ingredient Buffer (from ExtendedAE)
Basin (from Create, the 2 'input' fluid storages it has seems to be in slots 3 and 4, making it seem like importing from basins never work)
various Gregtech machines

Steps to reproduce

(written for 1.20.1)

  1. Connect an ME bridge (connected to an me system with storage space) and a tank with multiple slots to a computer.
  2. Fill the tank with fluid, in a non-first slot. (ex. water in second slot)
  3. Try to import fluids from the tank to the ME system. (ex. bridge.importFluidFromPeripheral({name="minecraft:water", count=1000}, "top"))
    note: the name in the filter is necessary in 1.20.1, due to another bug : ME bridge importFluid/importFluidFromPeripheral method throws a java error when an empty item filter is supplied #793
  4. The function returns zero and no fluid is moved.

Multiplayer?

No

Version

1.20.1-0.7.45r (Latest 1.20.1)

Minecraft, Forge and maybe other related mods versions

forge 47.4.6 minecraft 1.20.1

Screenshots or Videos

No response

Crashlog/log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.21.1bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions