package ru.nord.common.blocks;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.PropertyEnum;
import ru.nord.common.utils.Version;
import ru.nord.common.utils.enums.EnumWhiteStone;
import ru.nord_core.common.blocks.BlockMetadata;
public class BlockWhiteStone extends BlockMetadata {
public static final PropertyEnum TYPE = PropertyEnum.create("type", EnumWhiteStone.class);
public BlockWhiteStone(String[] names) {
super(Material.iron, names, Version.MODID);
this.setHardness(3F);
this.setHarvestLevel("pickaxe", 1);
}
@Override
public PropertyEnum getVariant() {
return TYPE;
}
@Override
public Comparable getEnumByMetadata(int meta) {
return EnumWhiteStone.byMetadata(meta);
}
}