cn.nukkit.block.BlockSolid Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.api.Since;
import cn.nukkit.math.BlockFace;
/**
* @author MagicDroidX (Nukkit Project)
*/
public abstract class BlockSolid extends Block {
protected BlockSolid() {
}
@Override
public boolean isSolid() {
return true;
}
@Since("1.3.0.0-PN")
@PowerNukkitOnly
@Override
public boolean isSolid(BlockFace side) {
return true;
}
}