[Mod] Portal API and Scroll of bedportal

Post Reply
corasTenthTry
Member
Posts: 125
Joined: Sat Jan 02, 2021 13:58
GitHub: corarona
IRC: cora
In-game: cora
Contact:

[Mod] Portal API and Scroll of bedportal

by corasTenthTry » Post

Replicating the "townportal" mechanic of a certain commercial game this adds a usable scroll that will open a portal to your bed. Once you're there a portal back to your starting location will appear above your bed. So you can stash your things and immediately go back exploring.

Works with mtg and mcl2 beds.

Textures and behavior will be improved upon but the basic principle works.

https://codeberg.org/cora/cn_portals - portal API - doesn't add anything by itsself, it does allow the technically inclined to add their own portals leading to wherever in the world they like - see API.md for some help.
https://codeberg.org/cora/cn_bedportal - the scroll of bedportal ( /giveme cn_bedportal:scroll - haven't thought of a crafting recipe yet)

EDIT: moved to codeberg

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests