Skip to content

Releases: tiktop101/CC-LiftLink

CC:LiftLink 1.0.3

Choose a tag to compare

@tiktop101 tiktop101 released this 17 Apr 05:29
b504598

"Added a "arg" to callToY(Y) so you can do callToY(-53) for secret floor's or if you have more than one redstone contact for your elevator" "NeoForge 1.21.1 portttt"

CC:LiftLink 1.0.2

Choose a tag to compare

@tiktop101 tiktop101 released this 15 Apr 12:42

CC:LiftLink adds ComputerCraft support for Create elevators
using just one connected redstone contact from the elevator column.

Built for Create 1.20.1-6.0.8 and CC: Tweaked 1.20.1 Forge 1.116.1.

Setup


  1. Build and test your Create elevator normally.
    
  2. Connect a ComputerCraft computer to any one redstone contact from that elevator column.
    
  3. Get the peripheral with: peripheral.find("create_elevator")
    
    Functions
    
    listFloors() Returns all floors in the column.
    callToFloor(name) Calls the elevator to a named floor.
    callToY(y) Calls the elevator to a floor by Y level.
    getState() Returns the main elevator state table.
    getFloors() Returns floor names mapped to Y levels.
    getCurrentLevel() Returns current elevator Y level.
    getTargetLevel() Returns target Y level.
    getTargetY() Returns target Y level.
    isMoving() Returns true if the elevator is moving.
    isActive() Returns true if the elevator is active.
    getCabY() Returns cab Y position.
    getSpeed() Returns current speed.
    getDirection() Returns "up", "down", or "idle".
    getColumnInfo() Returns combined floor and state info.
    getCurrentFloor() Returns the exact current floor name and Y.
    getNearestFloor() Returns the nearest floor name and Y.
    hasFloor(name) Checks if a floor exists.
    isAtFloor(name) Checks if the elevator is at that floor.
    
    Notes
    
    You do not need to connect to the pulley. One redstone contact is enough.