cn.nukkit.block.BlockMud Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.item.ItemTool;
import cn.nukkit.utils.BlockColor;
public class BlockMud extends BlockSolid {
public BlockMud() {
}
@Override
public String getName() {
return "Mud";
}
@Override
public int getId() {
return MUD;
}
@Override
public double getHardness() {
return 0.5;
}
@Override
public double getResistance() {
return 0.5;
}
@Override
public int getToolType() {
return ItemTool.TYPE_SHOVEL;
}
@Override
@PowerNukkitOnly
public int getToolTier() {
return ItemTool.TIER_WOODEN;
}
@Override
public BlockColor getColor() {
return BlockColor.BLACK_BLOCK_COLOR;
}
}