Update SafeBlockGetter for 1.18 world height

This commit is contained in:
embeddedt 2023-08-13 13:41:36 -04:00
parent ca51ceba6a
commit 0aef731a79
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -47,6 +47,16 @@ public class SafeBlockGetter implements BlockGetter {
return this.wrapped.getMaxLightLevel();
}
@Override
public int getMinBuildHeight() {
return this.wrapped.getMinBuildHeight();
}
@Override
public int getHeight() {
return this.wrapped.getHeight();
}
@Nullable
@Override
public BlockEntity getBlockEntity(BlockPos pos) {