Giov4 a3f9f2d5bf + Added sfxs when throwing the enderpearl and teleporting | пре 3 година | |
---|---|---|
locale | пре 3 година | |
sounds | пре 3 година | |
textures | пре 3 година | |
README.md | пре 3 година | |
init.lua | пре 3 година | |
mod.conf | пре 3 година |
enderpearl.block_teleport(player, [duration])
Stops the player from teleporting for the specified duration (if it isn't nil). To allow a player to teleport again just set the duration to 0.
enderpearl.on_teleport(function(hit_node) end)
Called when the enderpearl hits a node.