Package appeng.api.config

Examples of appeng.api.config.RedstoneMode


  private boolean isEnabled()
  {
    if ( getInstalledUpgrades( Upgrades.REDSTONE ) == 0 )
      return true;

    RedstoneMode rs = (RedstoneMode) cm.getSetting( Settings.REDSTONE_CONTROLLED );
    if ( rs == RedstoneMode.HIGH_SIGNAL )
      return getRedstoneState();
    return !getRedstoneState();
  }
View Full Code Here

TOP

Related Classes of appeng.api.config.RedstoneMode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.