Note: This code is untested (because the tests and server can't be run currently).
Waterlogging
I let blocks get waterlogged where air or water would have become a water source block. Additionally, all the functionality that deals with water in the class now treats waterlogged blocks as water source blocks (using isLiquid, getType, and getStrength).
Bubble columns
Magma and soul sand create bubble columns, and water propagates or ends them.
Since blockdata hasn't been implemented for 1.13, I wrote print statements where the blockdata should be updated.
Note: This code is untested (because the tests and server can't be run currently).
Waterlogging
I let blocks get waterlogged where air or water would have become a water source block. Additionally, all the functionality that deals with water in the class now treats waterlogged blocks as water source blocks (using
isLiquid
,getType
, andgetStrength
).Bubble columns
Magma and soul sand create bubble columns, and water propagates or ends them.
Since blockdata hasn't been implemented for 1.13, I wrote print statements where the blockdata should be updated.