codetaylor / pyrotech-1.12

An early game mod with new primitive devices, combustion machines, smelting mechanics, storage options, tools, torches, advancements, and absolutely zero GUIs -- with exception to the substantially complete, mostly illustrated, and charred guidebook.
https://pyrotech.readthedocs.io/en/latest/
Other
52 stars 19 forks source link

Pyrotech buckets deletes objects when placing water #375

Closed IC-Dyllac closed 2 years ago

IC-Dyllac commented 2 years ago

Issue Description

When placing water with pyrotech's buckets on some placed items, the water gets placed but the item gets deleted

What Happens

What You Expect to Happen

Water block should be placed correctly and the item should drop if it was breakable by water (pretty much same behaviour of a regular bucket)

Affected Versions

Only other mod installed was JEI

IC-Dyllac commented 2 years ago

As a side note, I found this issue while experimenting with this mod and Better With Mods with the HardCore Buckets module. But I suspect this issue is the culprit of the weird interaction between the two.

codetaylor commented 2 years ago

Fixed in 1.12.2-1.5.21 in tandem with Athenaeum 1.12.2-1.19.5

codetaylor commented 2 years ago

Pyrotech's buckets deferred the in-world fluid placement to Forge's FluidUtil class which doesn't break replaceable blocks before placing the fluid. I've created a workaround in Athenaeum's FluidUtilFix class.