Natural Progression

Natural Progression

229k Downloads

Pebbles sometimes not waterlogging properly

PDallora opened this issue ยท 2 comments

commented

Some of the pebbles at the bottom of rivers and oceans are not waterlogged and create a pocket of water around them, while other pebbles are working fine.
At times i also find them spawning at the bottom of tall grass blocks.

commented

I've reworked some code for the next update that should hopefully solve this. If not, the only other thing I can do at this point is make pebbles "Tick" (like redstone ore or crops), which just seems a bit overkill.

commented

At times i also find them spawning at the bottom of tall grass blocks.

I have no idea how. I literally clear the block above the place I place the sample:

if (reader.setBlockState(pebblePos, stateToPlace, 2 | 16)) {
if (Utils.canReplace(reader.getBlockState(pebblePos.up()), reader,
pebblePos.up())) {
reader.destroyBlock(pos.up(), false);
Utils.fixSnowyBlock(reader, pebblePos);