cn.nukkit.block.BlockGold Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.item.ItemTool;
import cn.nukkit.utils.BlockColor;
/**
* @author Angelic47 (Nukkit Project)
*/
public class BlockGold extends BlockSolid {
public BlockGold() {
}
@Override
public int getId() {
return GOLD_BLOCK;
}
@Override
public String getName() {
return "Gold Block";
}
@Override
public int getToolType() {
return ItemTool.TYPE_PICKAXE;
}
@Override
public double getHardness() {
return 3;
}
@Override
public double getResistance() {
return 30;
}
@Override
@PowerNukkitOnly
public int getToolTier() {
return ItemTool.TIER_IRON;
}
@Override
public BlockColor getColor() {
return BlockColor.GOLD_BLOCK_COLOR;
}
@Override
public boolean canHarvestWithHand() {
return false;
}
}