Dust Wastelands & Megalakes
This commit is contained in:
parent
ac6901c924
commit
6b846b5bb7
11 changed files with 291 additions and 1 deletions
|
@ -160,7 +160,18 @@ public class BlocksHelper {
|
|||
}
|
||||
else {
|
||||
POS.setY(y);
|
||||
BlocksHelper.setWithoutUpdate(world, POS, AIR);
|
||||
boolean place = true;
|
||||
for (Direction dir: HORIZONTAL) {
|
||||
state = world.getBlockState(POS.offset(dir));
|
||||
if (!state.getFluidState().isEmpty()) {
|
||||
BlocksHelper.setWithoutUpdate(world, POS, state);
|
||||
place = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (place) {
|
||||
BlocksHelper.setWithoutUpdate(world, POS, AIR);
|
||||
}
|
||||
|
||||
POS.setY(y - ray);
|
||||
BlocksHelper.setWithoutUpdate(world, POS, falling);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue