GregTechCEu / GregTech-Modern

GregTech CE Unofficial for modern versions
GNU Lesser General Public License v3.0
287 stars 170 forks source link

Right click on barrel with bucket consumes bucket and 1B fluid #290

Closed klugemonkey closed 1 year ago

klugemonkey commented 1 year ago

GregTech CEu Version

1.0.10

Recipe Viewer Installed

None

Environment

Multiplayer

Cross-Mod Interaction

Unsure

Expected Behavior

Either return the bucket to player with fluid or do not allow bucket to interact

Actual Behavior

Iron bucket was consumed and 1B of fluid (creosote) was subtracted from barrel, player was not given bucket of creosote.

Steps to Reproduce

Make Coke Oven with hatch output, make barrel, connect with copper pipe, smelt wood into charcoal, creating creosote, creosote fills the barrel, right click on the barrel with empty iron bucket in hand.

Additional Information

No response

klugemonkey commented 1 year ago

Also, Create is installed, but bucket consumption happens irregardless of whether Create is installed or not

Yefancy commented 1 year ago

version? 1.19?1.20?fabric?forge? I cant reproduce it in the fabric 1.19

BobVonBob commented 1 year ago

I can reproduce this and add a bit more info. (1.20.1 GT1.0.11a Forge)

Affects both drums and super tanks.

Inserting fluid into a tank using buckets is fine. Extracting fluid with buckets is also fine unless doing so would empty the drum/tank, then the fluid and the bucket get deleted.

The same thing happens with handheld tanks that contain more than one bucket of fluid, the final bit of fluid empties the drum/tank and deletes the held item.