Made vanilla electric furnace a universal tile

This commit is contained in:
Calclavia 2013-12-23 23:57:30 +08:00
parent b4dba9b6d5
commit 1369a9af98
2 changed files with 4 additions and 2 deletions

@ -1 +1 @@
Subproject commit 88c56d5cd5c6d0593372623f50c73a74f2ec03f4
Subproject commit b53c78b488458354dc7f0cdb9421f19865458e24

View file

@ -7,6 +7,7 @@ import net.minecraft.tileentity.TileEntityFurnace;
import net.minecraftforge.common.ForgeDirection;
import resonantinduction.ResonantInduction;
import universalelectricity.api.CompatibilityModule;
import universalelectricity.api.UniversalClass;
import universalelectricity.api.energy.IEnergyInterface;
import universalelectricity.api.vector.Vector3;
import calclavia.lib.tile.EnergyStorage;
@ -17,6 +18,7 @@ import calclavia.lib.tile.EnergyStorage;
* @author Calclavia
*
*/
@UniversalClass
public class TileAdvancedFurnace extends TileEntityFurnace implements IEnergyInterface
{
private static final float WATTAGE = 5;
@ -127,7 +129,7 @@ public class TileAdvancedFurnace extends TileEntityFurnace implements IEnergyInt
// TODO: Send descript packet.
this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
}
this.produce();
}
}