Skip to content

DatRatVS/inert-elevator

Repository files navigation

   ___       __  ___       __    __      _                       ___
  / _ \___ _/ /_/ _ \___ _/ /_  / /_____(_)__ ___   _______  ___/ (_)__  ___ _
 / // / _ `/ __/ , _/ _ `/ __/ / __/ __/ / -_|_-<  / __/ _ \/ _  / / _ \/ _ `/
/____/\_,_/\__/_/|_|\_,_/\__/  \__/_/ /_/\__/___/  \__/\___/\_,_/_/_//_/\_, /
                                                                       /___/

Forge 1.7.10

Features · Mimic Support · Build Instructions

Inert Elevator Mod

A Minecraft mod that adds inert elevator blocks with mimic support, compatible with OpenBlocks elevators.

Features

  • Inert Elevator Block: inertelevator:inertelevator block that mimics OpenBlocks elevators but remains inert.
  • Creative Subtypes: Creative-visible items for all 16 color variants.
  • OpenBlocks Integration: Mixin for redstone-powered conversion between inert and active elevators.
  • Metadata Preservation: Swaps between inert and active elevators while preserving metadata.
  • Non-Interactive: Inert blocks do not implement IElevatorBlock, so OpenBlocks ignores them for elevator travel.
  • Drop Behavior: Inert blocks drop the normal OpenBlocks elevator item with matching metadata.

Mimic Support

Powered inert elevators now support mimicking other blocks:

  • Tile Entity: Stores mimic block and metadata.
  • Setting Mimic: Right-click a powered inert elevator with a block item to set its mimic.
  • Clearing Mimic: Sneak-right-click with an empty hand to clear the mimic.
  • Persistence: Mimic state is saved by world position when converting back to OpenBlocks elevator.
  • Restoration: When the same position becomes inert again, it restores the saved mimic.
  • Behavior: The inert block still does not implement OpenBlocks elevator behavior.

Build Instructions

To build the mod:

./gradlew --no-daemon clean build

The built JAR will be located in build/libs/.

About

For 1.7.10: Deactivate and mimic OpenBlocks' elevators with redstone power. Requires UniMixins.

Resources

License

Stars

Watchers

Forks

Contributors

Languages