Commits
md_5 authored b75b792ec3d
1289 1289 | return world.getChunkSource().spawnEnemies; |
1290 1290 | } |
1291 1291 | |
1292 1292 | |
1293 1293 | public int getMinHeight() { |
1294 1294 | return world.getMinY(); |
1295 1295 | } |
1296 1296 | |
1297 1297 | |
1298 1298 | public int getMaxHeight() { |
1299 - | return world.getMaxY(); |
1299 + | return world.getMaxY() + 1; |
1300 1300 | } |
1301 1301 | |
1302 1302 | |
1303 1303 | public int getLogicalHeight() { |
1304 1304 | return world.dimensionType().logicalHeight(); |
1305 1305 | } |
1306 1306 | |
1307 1307 | |
1308 1308 | public boolean isNatural() { |
1309 1309 | return world.dimensionType().natural(); |