TripleTerrain (WIP)
This commit is contained in:
parent
311e5f3e4b
commit
9b464bcc06
12 changed files with 148 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue