Elytra 5.46.0
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) : boolcanGlide()
php
public function canGlide() : boolReturns whether the elytra can be used to glide (it has more than 1 durability left).
getUnbreakingDamageReduction() protected
php
protected function getUnbreakingDamageReduction(int $amount) : intisValidRepairMaterial()
php
public function isValidRepairMaterial(\pocketmine\item\Item $item) : boolReturns whether the given item can repair this elytra in an anvil.
