Collission Changes
This commit is contained in:
parent
00665eb677
commit
f91a016c1d
3 changed files with 9 additions and 4 deletions
|
@ -140,8 +140,11 @@ public class LakePiece extends BasePiece {
|
|||
world,
|
||||
worldPos
|
||||
)) {
|
||||
state = chunk.getBlockState(mut.above());
|
||||
if (state.isAir()) {
|
||||
state = chunk.getBlockState(mut.above(3));
|
||||
final BlockState stateAbove = chunk.getBlockState(mut.above());
|
||||
if (stateAbove.isAir() && state.isAir()) {
|
||||
state = random.nextInt(10) == 0 ? ENDSTONE : EndBiome.findTopMaterial(world, worldPos);
|
||||
} else if (stateAbove.isAir()) {
|
||||
state = random.nextBoolean() ? ENDSTONE : EndBiome.findTopMaterial(world, worldPos);
|
||||
} else {
|
||||
state = state.getFluidState().isEmpty()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue