Skip to content

Elytra 5.46.0 ​

class · pocketmine\item\Elytra · source

Extends Armor

Wings worn in the chest slot that let the player glide.

Vanilla (https://minecraft.wiki/w/Elytra): 432 durability on Java, 433 on Bedrock; loses 1 durability per second of gliding; never breaks: at 1 durability left it stops working until repaired with phantom membranes. Gives no armor points and is not damaged by attacks.

Methods ​

applyDamage() ​

php
public function applyDamage(int $amount) : bool

canGlide() ​

php
public function canGlide() : bool

Returns whether the elytra can be used to glide (it has more than 1 durability left).

getUnbreakingDamageReduction() protected ​

php
protected function getUnbreakingDamageReduction(int $amount) : int

isValidRepairMaterial() ​

php
public function isValidRepairMaterial(\pocketmine\item\Item $item) : bool

Returns whether the given item can repair this elytra in an anvil.

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.