5a0fd88182
Most of it is working just need some more work before can be call Updated. Still have to fix model rotations, Add new steam engine, Add Eletric motor block, Add crank Shaft, Fix all models to fit to pipes, Re do pipes to look nicer. Most likely i need to fix both steam engine and boiler's share resources methods, and Generation methods
29 lines
519 B
Java
29 lines
519 B
Java
package EUI.SteamPower;
|
|
|
|
import net.minecraftforge.common.ForgeDirection;
|
|
import universalelectricity.extend.IElectricUnit;
|
|
|
|
public class TileEntityNuller extends TileEntityMachine implements IElectricUnit {
|
|
|
|
public float electricityRequest()
|
|
{
|
|
return 100;
|
|
}
|
|
@Override
|
|
public boolean canReceiveFromSide(ForgeDirection side)
|
|
{
|
|
return true;
|
|
}
|
|
public float getVoltage()
|
|
{
|
|
return 1000;
|
|
}
|
|
public int getTickInterval()
|
|
{
|
|
return 1;
|
|
}
|
|
public boolean canConnect(ForgeDirection side)
|
|
{
|
|
return true;
|
|
}
|
|
}
|