Refactor: getVersionMin/MaxY -> versionMin/MaxY

This commit is contained in:
dordsor21
2021-12-29 16:44:41 +00:00
parent f505828af1
commit 9e8f0e7325
15 changed files with 30 additions and 30 deletions

View File

@ -171,12 +171,12 @@ class CLIPlatform extends AbstractPlatform {
}
@Override
public int getVersionMinY() {
public int versionMinY() {
return dataVersion >= Constants.DATA_VERSION_MC_1_18 ? -64 : 0;
}
@Override
public int getVersionMaxY() {
public int versionMaxY() {
return dataVersion >= Constants.DATA_VERSION_MC_1_18 ? 319 : 255;
}