cn.nukkit.block.BlockCobblestone Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.item.ItemTool;
/**
* @author Angelic47 (Nukkit Project)
*/
public class BlockCobblestone extends BlockSolid {
public BlockCobblestone() {
}
@Override
public int getId() {
return COBBLESTONE;
}
@Override
public double getHardness() {
return 2;
}
@Override
public double getResistance() {
return 30;
}
@Override
public int getToolType() {
return ItemTool.TYPE_PICKAXE;
}
@Override
public String getName() {
return "Cobblestone";
}
@Override
@PowerNukkitOnly
public int getToolTier() {
return ItemTool.TIER_WOODEN;
}
@Override
public boolean canHarvestWithHand() {
return false;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy