mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-22 04:52:18 +00:00
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:
1 parent
980df8516a
commit
0fecf28b65
397 files changed
+8693
-9288
No files matched your search
@@ -8,20 +8,20 @@ import net.minecraft.util.StatCollector;
|
||||
|
||||
public class ItemBase extends Item {
|
||||
|
||||
public ItemBase(String unlocName, String textureName) {
|
||||
super();
|
||||
setUnlocalizedName(EMT.MOD_ID + unlocName);
|
||||
setTextureName(EMT.TEXTURE_PATH + ":" + textureName);
|
||||
setCreativeTab(EMT.TAB);
|
||||
}
|
||||
public ItemBase(String unlocName, String textureName) {
|
||||
super();
|
||||
setUnlocalizedName(EMT.MOD_ID + unlocName);
|
||||
setTextureName(EMT.TEXTURE_PATH + ":" + textureName);
|
||||
setCreativeTab(EMT.TAB);
|
||||
}
|
||||
|
||||
public ItemBase(String unlocName) {
|
||||
super();
|
||||
setUnlocalizedName(EMT.MOD_ID + ".item." + unlocName);
|
||||
setCreativeTab(EMT.TAB);
|
||||
}
|
||||
public ItemBase(String unlocName) {
|
||||
super();
|
||||
setUnlocalizedName(EMT.MOD_ID + ".item." + unlocName);
|
||||
setCreativeTab(EMT.TAB);
|
||||
}
|
||||
|
||||
public String getItemStackDisplayName(ItemStack stack) {
|
||||
return (EMTTextHelper.GREEN + StatCollector.translateToLocal(this.getUnlocalizedNameInefficiently(stack) + ".name")).trim();
|
||||
}
|
||||
public String getItemStackDisplayName(ItemStack stack) {
|
||||
return (EMTTextHelper.GREEN + StatCollector.translateToLocal(this.getUnlocalizedNameInefficiently(stack) + ".name")).trim();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user