This commit is contained in:
fewizz committed 2016-04-10 13:45:07 +03:00
1 parent 3aef354b3a
commit c2dee6e1c1
55 files changed
+287 -287

No files matched your search

+3 -3
View File
@@ -11,11 +11,11 @@ public abstract class BlockBase extends Block {
public BlockBase(String unlocName, Material material, String textureName, SoundType soundType, float hardness) {
super(material);
name = unlocName;
setBlockName(ModInformation.modid + ".block." + unlocName);
setBlockName(ModInformation.MODID + ".block." + unlocName);
if (textureName != null) {
setBlockTextureName(ModInformation.texturePath + ":" + textureName);
setBlockTextureName(ModInformation.TEXTURE_PATH + ":" + textureName);
}
setCreativeTab(ElectroMagicTools.tabEMT);
setCreativeTab(ElectroMagicTools.TAB);
setStepSound(soundType);
setHardness(hardness);
}