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 (creative-mode count restoration is handled by the caller). Mirrors vanilla EnderpearlItem.use.

Structs§

EnderPearlItem
Behavior for the ender pearl item.

Constants§

SHOOT_POWER 🔒
Vanilla EnderpearlItem.PROJECTILE_SHOOT_POWER.