Giov4 a3f9f2d5bf + Added sfxs when throwing the enderpearl and teleporting | 3 yıl önce | |
---|---|---|
locale | 3 yıl önce | |
sounds | 3 yıl önce | |
textures | 3 yıl önce | |
README.md | 3 yıl önce | |
init.lua | 3 yıl önce | |
mod.conf | 3 yıl önce |
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.