mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-18 19:29:29 +00:00
texture
This commit is contained in:
1 parent
3aef354b3a
commit
c2dee6e1c1
55 files changed
+287
-287
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user