TripleTerrain (WIP)

This commit is contained in:
paulevsGitch 2021-03-11 03:55:14 +03:00
parent 311e5f3e4b
commit 9b464bcc06
12 changed files with 148 additions and 2 deletions

View file

@ -79,7 +79,7 @@ public class EndTerrainBlock extends BlockBase {
}
}
public static boolean canSurvive(BlockState state, WorldView worldView, BlockPos pos) {
protected boolean canSurvive(BlockState state, WorldView worldView, BlockPos pos) {
BlockPos blockPos = pos.up();
BlockState blockState = worldView.getBlockState(blockPos);
if (blockState.isOf(Blocks.SNOW) && (Integer) blockState.get(SnowBlock.LAYERS) == 1) {