Serpulo naval wave support

This commit is contained in:
Anuken
2021-09-30 18:22:50 -04:00
parent 9939d6065a
commit 0483e3f900
5 changed files with 139 additions and 27 deletions
@@ -48,6 +48,8 @@ public class Floor extends Block{
public float liquidMultiplier = 1f;
/** whether this block is liquid. */
public boolean isLiquid;
/** shallow water flag used for generation */
public boolean shallow = false;
/** if true, this block cannot be mined by players. useful for annoying things like sand. */
public boolean playerUnmineable = false;
/** Group of blocks that this block does not draw edges on. */
@@ -24,5 +24,6 @@ public class ShallowLiquid extends Floor{
status = liquidBase.status;
liquidDrop = liquidBase.liquidDrop;
cacheLayer = liquidBase.cacheLayer;
shallow = true;
}
}