Po Lu a56f365621 Improve end gateway teleportation
* mods/ITEMS/mcl_portals/portal_gateway.lua (gateway_teleport):
Export `teleport'.

* mods/ITEMS/mcl_throwing/register.lua
(check_gateway_teleportation): New function.
(pearl_on_step): Teleport thrower through any gateway traversed
by this pearl.
2024-12-01 17:10:46 +00:00
..
2020-12-06 00:27:10 +01:00
2017-08-17 13:39:25 +02:00
2024-03-03 15:36:01 +00:00

Portals mod for MineClone 2

How to create portals

Nether portal: Build a frame of obsidian, with at least 6 blocks inside it, and use a flint and steel inside it. End portal: Build an upright frame of red nether brick blocks, 4 blocks wide and 5 blocks high, and use an eye of ender inside it.

API

  • mcl_portals.register_on_beat_game(function(player) end) - a callback that is run when a player beats the game

Credits

Created by maikerumine, Wuzzy and ryvnf. Code license: MIT License (see LICENSE).

Texture license: See README.md in main MineClone 2 directory.

mcl_portals_teleport.ogg * License: CC BY 3.0 * Authors: FreqMan and Wuzzy * Source: https://freesound.org/people/FreqMan/sounds/32541/

mcl_portals_open_end_portal.ogg * License: CC0 * Author: Johnnie_Holiday * Source: https://freesound.org/people/Johnnie_Holiday/sounds/546571/