mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 17:57:34 +01:00
Add dimension setting getters to World
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
72591f6038
commit
6d08059769
@ -1876,6 +1876,51 @@ public class CraftWorld implements World {
|
||||
return world.getMaxBuildHeight();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getLogicalHeight() {
|
||||
return world.getDimensionManager().getLogicalHeight();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNatural() {
|
||||
return world.getDimensionManager().isNatural();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isBedWorks() {
|
||||
return world.getDimensionManager().isBedWorks();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasSkyLight() {
|
||||
return world.getDimensionManager().hasSkyLight();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasCeiling() {
|
||||
return world.getDimensionManager().hasCeiling();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPiglinSafe() {
|
||||
return world.getDimensionManager().isPiglinSafe();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isRespawnAnchorWorks() {
|
||||
return world.getDimensionManager().isRespawnAnchorWorks();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasRaids() {
|
||||
return world.getDimensionManager().hasRaids();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUltraWarm() {
|
||||
return world.getDimensionManager().isNether();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSeaLevel() {
|
||||
return world.getSeaLevel();
|
||||
|
Loading…
Reference in New Issue
Block a user