mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-18 03:15:23 +00:00
Essentia gen rework (#6)
+Added GUI for Essentia Gens +Added Essentia Pipe Support for Essentia Gens +Added Tooltip for Essentia Gens +Added CFG for Essentia Gen EU Storage +Added Lucrum Gen with Infusion Recipe, Thaumonomicon Entry etc. +Updated ru_RU.lang (ty Cinobi) +Added WiP de_DE.lang +Removed unused .java +Added Essentia Storage for Essentia Gens +Rescaled Ticktime for Essentia Gens to 20Ticks(was 30Tick before) +Version number increase
This commit is contained in:
1 parent
a97a032210
commit
9a1a1bbf3f
27 files changed
+1071
-55
No files matched your search
@@ -2,11 +2,14 @@ package emt.proxy;
|
||||
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
import emt.client.gui.GuiEtherealMacerator;
|
||||
import emt.client.gui.GuiGenerator;
|
||||
import emt.client.gui.GuiIndustrialWandRecharger;
|
||||
import emt.client.gui.container.ConainerGenerator;
|
||||
import emt.client.gui.container.ContainerEtheralMacerator;
|
||||
import emt.client.gui.container.ContainerIndustrialWandRecharge;
|
||||
import emt.tile.TileEntityEtherealMacerator;
|
||||
import emt.tile.TileEntityIndustrialWandRecharge;
|
||||
import emt.tile.generator.TileEntityBaseGenerator;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
@@ -34,6 +37,9 @@ public class CommonProxy implements IGuiHandler {
|
||||
if (entity != null && entity instanceof TileEntityEtherealMacerator) {
|
||||
return new ContainerEtheralMacerator(player.inventory, (TileEntityEtherealMacerator) entity);
|
||||
}
|
||||
else if (entity != null && entity instanceof TileEntityBaseGenerator) {
|
||||
return new ConainerGenerator(player.inventory, (TileEntityBaseGenerator) entity);
|
||||
}
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
@@ -52,6 +58,9 @@ public class CommonProxy implements IGuiHandler {
|
||||
if (entity != null && entity instanceof TileEntityEtherealMacerator) {
|
||||
return new GuiEtherealMacerator(player.inventory, (TileEntityEtherealMacerator) entity);
|
||||
}
|
||||
else if (entity != null && entity instanceof TileEntityBaseGenerator) {
|
||||
return new GuiGenerator(player.inventory, (TileEntityBaseGenerator) entity);
|
||||
}
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user