Refractored Code

+added Solar Factory
-removed unnessecary solar and essentia generator classes
+started gtnh researches
+added tooltip clearance on solars (maximal output)

Signed-off-by: bartimaeusnek <[email protected]>
This commit is contained in:
bartimaeusnek committed 2019-03-18 18:39:23 +01:00
1 parent 980df8516a
commit 0fecf28b65
397 files changed
+8693 -9288

No files matched your search

+15 -15
View File
@@ -5,21 +5,21 @@ import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public abstract class BlockBase extends Block {
public final String name;
public final String name;
public BlockBase(String unlocName, Material material, String textureName, SoundType soundType, float hardness) {
super(material);
name = unlocName;
setBlockName(EMT.MOD_ID + ".block." + unlocName);
if (textureName != null) {
setBlockTextureName(EMT.TEXTURE_PATH + ":" + textureName);
}
setCreativeTab(EMT.TAB);
setStepSound(soundType);
setHardness(hardness);
}
public BlockBase(String unlocName, Material material, String textureName, SoundType soundType, float hardness) {
super(material);
name = unlocName;
setBlockName(EMT.MOD_ID + ".block." + unlocName);
if (textureName != null) {
setBlockTextureName(EMT.TEXTURE_PATH + ":" + textureName);
}
setCreativeTab(EMT.TAB);
setStepSound(soundType);
setHardness(hardness);
}
public BlockBase(String unlocName, Material material, SoundType soundType, float hardness) {
this(unlocName, material, null, soundType, hardness);
}
public BlockBase(String unlocName, Material material, SoundType soundType, float hardness) {
this(unlocName, material, null, soundType, hardness);
}
}