Package appeng.api.implementations

Examples of appeng.api.implementations.TransitionResult


        StorageHelper.getInstance()
            .swapRegions( w, dest, min.x + 1, min.y + 1, min.z + 1, 1, floorBuffer + 1, 1, targetX - 1, targetY - 1, targetZ - 1 );
        setStoredSize( is, targetX, targetY, targetZ );

        return new TransitionResult( true, 0 );
      }
    }

    return new TransitionResult( false, 0 );
  }
View Full Code Here


        if ( Math.abs( pr - req ) < req * 0.001 )
        {
          MENetworkEvent res = gi.postEvent( new MENetworkSpatialEvent( this, req ) );
          if ( !res.isCanceled() )
          {
            TransitionResult tr = sc.doSpatialTransition( cell, worldObj, spc.getMin(), spc.getMax(), true );
            if ( tr.success )
            {
              energy.extractAEPower( req, Actionable.MODULATE, PowerMultiplier.CONFIG );
              setInventorySlotContents( 0, null );
              setInventorySlotContents( 1, cell );
View Full Code Here

TOP

Related Classes of appeng.api.implementations.TransitionResult

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.