Skip to main content

Module teleport_randomly

Module teleport_randomly 

Source
Expand description

TeleportRandomlyConsumeEffect behavior (chorus fruit).

Structs§

TeleportRandomlyBehavior
Mirrors vanilla TeleportRandomlyConsumeEffect.apply.

Functions§

teleport_randomly 🔒
Tries up to 16 random nearby positions, delegating each attempt to LivingEntity::random_teleport (vanilla Entity.randomTeleport), and stops at the first one that lands.