Euclidean Portals icon

Euclidean Portals -----

Adds a new maths-based way of transportation.



Tired of using tons of fireworks or travelling through a never-ending nether railway ?

This plugin adds a simple, unique, fun to play with, way of transportation.

That is: Portals! But not any portals, to create those you will need to do a bit of maths if you want to end up in the right place ;)

First, you need to create the base of a portal:
upload_2023-5-6_15-51-18.png

Notice it's made out of candles, which is really important for what's coming next.

The green framed candles needs to be regular candles (not dyed).

The orange framed candles can be any type of candles, following this logic:
  • Pink Candles = 1 block
  • Orange Candles = 5 blocks
  • Red Candles = 10 blocks
  • Light Blue Candles = 50 blocks
  • Blue Candles = 100 blocks
  • Cyan Candles = 500 blocks
  • Light Gray Candles = 1000 blocks
  • Gray Candles = 5000 blocks
  • Black Candles = 10000 blocks
Any other type of candles (including regular ones) = 0 blocks.

Every candle placed in a certain direction will add their value to the corresponding direction.

The portal's destination is calculated by adding every candle's value to their matching direction.

Stacking multiple candles on the same block works and multiplies the candle's value.

Here is a simple example:
upload_2023-5-6_15-51-32.png

In this case:
- The portal is centered around the point ( X: 0, Z: 0)
- The pink arrow represents the +Z axis (green arrow -Z)
- The orange arrow represents the +X axis (blue arrow -X)

Minigame: Try to determine where does this portal teleports to.
Answer:
X: 3000 Z: 19

You got it ? Well done!
You didn't ? No worries I'm going to explain everything.

The two red candles add 20 to the Z axis (we are now at Z: 20).
The
pink candle subtracts 1 from the Z axis (we are now at Z: 19).
The three gray candles add 3000 to the X axis (we are now at X: 3000).

It is that simple, but becomes a bit more challenging when the portal is not on the (0,0) or/and when the coordinates you want to teleport to aren't rounded numbers.

For a portal to be usable, every single candle needs to be lit.

To kick off the portal, the player needs to be placed at its center and drop an amethyst shard (any direction works).

If everything was done correctly, the shard will disappear and an animation will play on the ground, after 5 seconds every entity (players, mobs...) will be teleported.

Want to make sure you really understood ?
upload_2023-5-6_15-51-46.png
In this case:
- The portal is centered around the point ( X: -1237, Z: 532)
- Same axis as before.

Where does this portal teleports to ?
Answer:
X: -1139 Z: 5698

I am not going to explain that one, if you got it I've got nothing more to teach you :cool:

P.S: In game it would teleport you to:
X: -1138.5 Z: 5698.5
That is due to Minecraft way of handling the center of blocks (adding 0.5 to X and Z).

Have fun!

Credits:
Portals design inspired by the "Perasha's teleporters" datapack.
Resource Information
Author:
----------
Total Downloads: 43
First Release: May 6, 2023
Last Update: May 6, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings