Giov4 a3f9f2d5bf + Added sfxs when throwing the enderpearl and teleporting | hace 3 años | |
---|---|---|
locale | hace 3 años | |
sounds | hace 3 años | |
textures | hace 3 años | |
README.md | hace 3 años | |
init.lua | hace 3 años | |
mod.conf | hace 3 años |
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.