top of page

MineCraft Elevator
February 2013

Please note: This script requires certain mods installed in Minecraft in order to work.

These Mods may or may not still be available. Please test at your own risk.

Elevator Controller
Elevator Slave

The

Challenge

After getting established in a new Minecraft world, I decided to make a multi-story house with the intention of figuring out how I could design an elevator that could move me between floors. I happened to be running a modpack at the time that included wireless redstone, moveable frames, and computers. I decided I could combine all three mods into one system.

 

ComputerCraft programs in Minecraft are coded using LUA, but also feature a significant amount of integration with other mods making the hardware task of this project fairly straightforward. Once I designed the basic hardware of the elevator, I embarked on the task of programming the elevator. I ended up designing a master/slave system where the main controller would handle communication with other floors as well as output signals to activate the elevator. The slaves primarily functioned as secondary terminals that could request the elevator if it is not already at their floor.

​

The biggest challenge for me was how to synchronize all the components through both normal operation, and faulty operation. I ended up performing wireless communication using addressing to ensure only relevant components were active in a task. I also defined a reset procedure in case something went wrong. Initially, a server hiccup would result in the elevator losing count of how high or low it needed to move, but by synchronizing the components, I could eliminate this problem.

bottom of page