cn.nukkit.block.BlockGlass Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.item.Item;
import cn.nukkit.utils.BlockColor;
/**
* @author Angelic47 (Nukkit Project)
*/
public class BlockGlass extends BlockTransparent {
public BlockGlass() {
}
@Override
public int getId() {
return GLASS;
}
@Override
public String getName() {
return "Glass";
}
@Override
public double getResistance() {
return 0.3;
}
@Override
public double getHardness() {
return 0.3;
}
@Override
public Item[] getDrops(Item item) {
return Item.EMPTY_ARRAY;
}
@Override
public boolean canSilkTouch() {
return true;
}
@Override
public BlockColor getColor() {
return BlockColor.AIR_BLOCK_COLOR;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy