Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bigchunguspng/railway-switch-paper

Adds railway switches (paper plugin)
https://github.com/bigchunguspng/railway-switch-paper

minecraft minecraft-plugin minecraft-rail paper-plugin

Last synced: 27 days ago
JSON representation

Adds railway switches (paper plugin)

Awesome Lists containing this project

README

        

# railwaeswitch 🛒

![ohio](https://img.shields.io/badge/only_in-OHIO-black)
![minecraft](https://img.shields.io/badge/Minecraft_version-1.17-green)

Adds **automatic railway switches** to Minecraft JE Paper Server.

## How to use 🤔

1. Place an **Activator Rail** ![ar](https://minecraft.wiki/images/BlockSprite_activator-rail.png?2b983) on top of **Oak Log** ![log](https://minecraft.wiki/images/BlockSprite_oak-log.png?f9c90) or **Iron Block** ![iron](https://minecraft.wiki/images/BlockSprite_block-of-iron.png?9b11a)
![1](https://github.com/bigchunguspng/railway-switch-paper/assets/70759405/dab8f887-8882-4b6a-be51-b45d2957dfbf)
2. Place a block of regular **Rails** ![rail](https://minecraft.wiki/images/BlockSprite_rail.png?d98fc) after it (it will be used to change cart direction).
![2](https://github.com/bigchunguspng/railway-switch-paper/assets/70759405/7dc3fede-caa3-4fdd-ae40-a9f515ab475f)
3. Lay out up to 3 other tracks, starting with any type of rails.
![3](https://github.com/bigchunguspng/railway-switch-paper/assets/70759405/d25f87f2-1a39-4281-99c8-ead979545cb3)
4. Turn your camera towards the desired direction while passing over **Activator Rail** ![ar](https://minecraft.wiki/images/BlockSprite_activator-rail.png?2b983).
![4](https://github.com/bigchunguspng/railway-switch-paper/assets/70759405/b2771df2-bbae-4d4a-8055-09ea4dad39a9)

**Turn direction** is being selected based on the **Cart** ![cart](https://minecraft.wiki/images/ItemSprite_minecart.png?abcb4) passenger's yaw. And only between ones with rails placed, to prevent derailing.

## Video example đŸ“Ŋī¸

âŦ†ī¸ Going straight:

![straight](https://github.com/bigchunguspng/railway-switch-paper/assets/70759405/afc83f37-f62f-4f14-9701-e87648d118a9)

↖ī¸ Turning:

![turn](https://github.com/bigchunguspng/railway-switch-paper/assets/70759405/cffe35cc-4cba-4a8d-8430-8653a0dfec23)

↩ī¸ Going back:

![180](https://github.com/bigchunguspng/railway-switch-paper/assets/70759405/af51d714-8df6-4c35-a2ca-85027b493f09)

## Interesting facts 📖

1. I have ported this to [Fabric 1.16.5](https://github.com/bigchunguspng/funny-rails-fabric).
2. Works with animals:

![XD](https://github.com/bigchunguspng/railway-switch-paper/assets/70759405/b9ce349d-0ea2-4aed-b69b-ea7e65cc4625)