cn.nukkit.block.BlockClay Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.item.Item;
import cn.nukkit.item.ItemClay;
import cn.nukkit.item.ItemTool;
/**
* @author Nukkit Project Team
*/
public class BlockClay extends BlockSolid {
public BlockClay() {
}
@Override
public double getHardness() {
return 0.6;
}
@Override
public double getResistance() {
return 3;
}
@Override
public int getToolType() {
return ItemTool.TYPE_SHOVEL;
}
@Override
public int getId() {
return CLAY_BLOCK;
}
@Override
public String getName() {
return "Clay Block";
}
@Override
public Item[] getDrops(Item item) {
return new Item[]{
new ItemClay(0, 4)
};
}
@Override
public boolean canSilkTouch() {
return true;
}
}