All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.level.generator.populator.helper.EnsureBelow Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
package cn.nukkit.level.generator.populator.helper;

import cn.nukkit.level.format.FullChunk;

/**
 * @author DaPorkchop_
 */
public interface EnsureBelow {
    static boolean ensureBelow(int x, int y, int z, int id, FullChunk chunk) {
        return chunk.getBlockId(x, y - 1, z) == id;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy