a53366a91b | ||
---|---|---|
locale | ||
textures | ||
README.md | ||
init.lua | ||
mod.conf |
README.md
Functions
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.
Callbacks
enderpearl.on_teleport(function(hit_node) end)
Called when the enderpearl hits a node.