Applied Energistics 2

Applied Energistics 2

137M Downloads

Cannot craft fluid buckets (reliably)

mnsnownutt opened this issue ยท 7 comments

commented

Describe the bug

Fabric version - 10.1.0-beta.2
Other relevant mod TechReborn - 5.1.0-beta.5

I have a ME fluid drive with water on it and tried crafting water buckets, but could not. Evidently, you cannot autocraft them from the drive itself using a process pattern in a pattern provider. I then set up a system using a Tech Reborn tank, to insert buckets into it (see photo) and it works, but only for awhile. Eventually, it stops working and the only way to get it working again is to break the tank and the pattern provider and place them down again. It will then craft buckets for an indeterminate amount of time and then stop again.
2022-02-12_11 35 21

How to reproduce the bug

Above

Expected behavior

Expect to be able to autocraft water buckets when needed without having to break everything to reset it.

Additional details

No response

Which minecraft version are you using?

1.18

On which mod loaders does it happen?

Fabric

Crash log

https://pastebin.com/SjV06uHT

commented

Sorry for sortof necro-ing this ticket, but i also have experienced this a couple times in the past (on 1.12 (most recently using AE2 rv6-stable-7 ) when filling buckets using a pattern as such: input: 1x empty bucket; output: 1x filled bucket (using a thermal expension fluid transposer)
The reason i am writing a comment instead of a new ticket is that a) i haven't had the time to make a clean install with just AE2 (as we are running with wireless crafting terminal right now), and b) this issue is likely related

It appears that AE2 is re-using intermediate buckets (which is very nice), but there appears to be a bug when a recipe uses two water buckets. (Assume there are no buckets nor water buckets in the system) and you want to craft a few blocks, each of which using two water buckets (such as nuclearcraft infinite water sources).
If there are no water buckets nor empty buckets available, one bucket will be crafted. Crafting gets stuck
If there is one empty bucket only, no extra bucket will be crafted, Crafting gets stuck
If there is one empty and one water bucket (or two empty buckets), no extra bucket will be crafted, but crafting will succeed

So i think what the issue comes down to is the fact that AE2 only crafts a single empty bucket no matter how many buckets are required, when it really should craft as many buckets as needed (essentially the total number of buckets in a single recipe, minus the number of filled buckets in the system, minus the number of empty buckets that are already available)
I attached a few screenshots in sequential order, to visualize whats happening

Case: No buckets at all

Initial state
image

Recipe
image

Appears to be crafting, but is already stuck on the buckets essentially
image

Final stuck state
image

Items, while the task was still running (Still had the one water bucket locked)
image

Items after cancelling the task
image

Case: 1 Water bucket, No empty

This is exactly the state we are in after running the case above, and it actually just is stuck immediately as it does not craft any extra buckets. (Same screenshot outcome as the last crafting-view screenshot in the first case)


Case: 1 Water bucket, 1 empty

Initial state
image

Crafting plan
image

Crafting status
image

The bucket-job is just always green until its done, so yes, in this case it does work as intended.

A good workaround for now seems to be keeping a large stock of buckets.
I want to point out again that Wireless Crafting Terminal is installed, but i think you should be able to reproduce the issues.

commented

I will close this issue. I discovered that if you remove the water as a crafting ingredient, it then crafts the water buckets using the tank. Not sure why that worked, but it did.

commented

Is this specific to 10.1.0-beta.2? Or do you have the same problem with 10.1.0-beta.1?

commented

Happened with both. I went to file the bug report for beta.1 and noticed there was a beta.2, so I updated and tried it and had the same results.

commented

Ah, thank you for testing with both.

What exactly do you mean by "stops working"? Does it fail to start the craft, fail to send items back to the network once they enter the pattern provider, something else? More details could help us figure out the issue. :)

commented

Does not craft at all, just hangs in the computer.

commented

Please don't necro issues, and in any case we don't provide support for 1.12 anymore.