Examples of takeAsMain()


Examples of buildcraft.core.robots.DockingStation.takeAsMain()

              float px = x + 0.5F + rayTraceResult.sideHit.offsetX * 0.5F;
              float py = y + 0.5F + rayTraceResult.sideHit.offsetY * 0.5F;
              float pz = z + 0.5F + rayTraceResult.sideHit.offsetZ * 0.5F;
             
              robot.setPosition(px, py, pz);
              station.takeAsMain(robot);
              robot.dock(robot.getLinkedStation());
              world.spawnEntityInWorld(robot);
             
              if(!player.capabilities.isCreativeMode) {
                player.getCurrentEquippedItem().stackSize--;
View Full Code Here

Examples of buildcraft.core.robots.DockingStation.takeAsMain()

                float px = x + 0.5F + rayTraceResult.sideHit.offsetX * 0.5F;
                float py = y + 0.5F + rayTraceResult.sideHit.offsetY * 0.5F;
                float pz = z + 0.5F + rayTraceResult.sideHit.offsetZ * 0.5F;
 
                robot.setPosition(px, py, pz);
                station.takeAsMain(robot);
                robot.dock(robot.getLinkedStation());
                world.spawnEntityInWorld(robot);
 
                if (!player.capabilities.isCreativeMode) {
                  player.getCurrentEquippedItem().stackSize--;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.