Skip to main content

Module ender_pearl

Module ender_pearl 

Source
Expand description

Ender pearl item behavior (EnderpearlItem).

Throwing an ender pearl spawns a EnderPearlEntity from the player’s eye, shot along their look direction, and consumes one pearl unless the player has infinite materials. Mirrors vanilla EnderpearlItem.use.

Structs§

EnderPearlItem
Behavior for the ender pearl item.

Constants§

SHOOT_POWER 🔒
Vanilla EnderpearlItem.PROJECTILE_SHOOT_POWER.
THROW_UNCERTAINTY 🔒
Vanilla EnderpearlItem.use throw uncertainty (spawnProjectileFromRotation).