Package buildcraft.core.robots

Examples of buildcraft.core.robots.EntityRobot.dock()


              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


                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.