blob: 061e66d9c5f5983b7a2123a7dc55ded2e3790632 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package miscutil.core.block;
import miscutil.core.creative.AddToCreativeTab;
import miscutil.core.lib.CORE;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public class BasicBlock extends Block {
protected BasicBlock(String unlocalizedName, Material material) {
super(material);
this.setBlockName(unlocalizedName);
this.setBlockTextureName(CORE.MODID + ":" + unlocalizedName);
this.setCreativeTab(AddToCreativeTab.tabBlock);
this.setHardness(2.0F);
this.setResistance(6.0F);
this.setLightLevel(0.0F);
this.setHarvestLevel("pickaxe", 2);
this.setStepSound(soundTypeMetal);
}
}
|