Applied-Energistics-2-tiler.../parts/misc/PartInvertedToggleBus.java

23 lines
424 B
Java
Raw Normal View History

package appeng.parts.misc;
import net.minecraft.item.ItemStack;
public class PartInvertedToggleBus extends PartToggleBus
{
public PartInvertedToggleBus(ItemStack is) {
super( PartInvertedToggleBus.class, is );
proxy.setIdlePowerUsage( 0.0 );
outerProxy.setIdlePowerUsage( 0.0 );
2014-04-07 18:27:00 +02:00
proxy.setFlags();
outerProxy.setFlags();
}
@Override
protected boolean getIntention()
{
return !super.getIntention();
}
}