Fixed Belt network
This commit is contained in:
parent
e5811d09a7
commit
e2446f4611
4 changed files with 15 additions and 14 deletions
|
@ -465,13 +465,13 @@ public class TileEntityArmbot extends TileEntityAssembly implements IMultiBlock,
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double getWattLoad()
|
public int getWattLoad()
|
||||||
{
|
{
|
||||||
if (this.hasTask)
|
if (this.hasTask)
|
||||||
{
|
{
|
||||||
return .4;//400w
|
return 40;
|
||||||
}
|
}
|
||||||
return .03;//30w
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -136,20 +136,21 @@ public abstract class TileEntityAssembly extends TileEntityEnergyMachine impleme
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Amount of energy this tile runs on per tick */
|
/** Amount of energy this tile runs on per tick */
|
||||||
public double getWattLoad()
|
public int getWattLoad()
|
||||||
{
|
{
|
||||||
return .001;//1J/t or 20J/t
|
return 1;//1J/t or 20J/t
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getExtraLoad()
|
public int getExtraLoad()
|
||||||
{
|
{
|
||||||
return .001;//1J/t or 20J/t
|
return 1;//1J/t or 20J/t
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void togglePowerMode()
|
public void togglePowerMode()
|
||||||
{
|
{
|
||||||
((NetworkSharedPower) this.getTileNetwork()).setPowerLess(this.runPowerLess());
|
super.togglePowerMode();
|
||||||
|
((NetworkSharedPower) this.getTileNetwork()).setPowerLess(!this.runPowerLess());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -271,8 +271,8 @@ public class TileEntityManipulator extends TileEntityFilterable implements IRota
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double getExtraLoad()
|
public int getExtraLoad()
|
||||||
{
|
{
|
||||||
return .01;//1J/t or 20J/t
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -247,9 +247,9 @@ public class TileEntityConveyorBelt extends TileEntityAssembly implements IBelt,
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double getWattLoad()
|
public int getWattLoad()
|
||||||
{
|
{
|
||||||
return 0.05 + (0.01 * this.getAffectedEntities().size());//50w + (10w * loadSize)
|
return 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue