Examples of goToFloor()


Examples of pneumaticCraft.common.tileentity.TileEntityElevatorBase.goToFloor()

    private void setSurroundingElevators(World world, int x, int y, int z, int floor){
        for(ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS) {
            if(dir != ForgeDirection.UP && dir != ForgeDirection.DOWN) {
                TileEntityElevatorBase elevator = getElevatorBase(world, x + dir.offsetX, y - 2, z + dir.offsetZ);
                if(elevator != null) {
                    elevator.goToFloor(floor);
                }
            }
        }
    }
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.