Skip to main content

đŸĒŊ Creating an Elytra

Overview​

Elytras & Armor are controlled via the Equippable Component. It requires Minecraft 1.21.2+ and the default CustomArmor.type: COMPONENT setting in settings.yml. Elytras are made out of 2 assets, an "icon" model / texture and a wing texture.

Tutorial​

Create the Elytra item​

Create a new item in the items directory (or edit an existing .yml file).

  • 📁 plugins
    • 📁 Oraxen
      • 📁 items
        • 📄 elytras.yml
magic_elytra:
itemname: "<gradient:#9B59B6:#5B6BBF:#1A237E>Magic Elytra</gradient>"
material: ELYTRA
components:
max_stack_size: 1
equippable:
slot: CHEST
model: oraxen:magic_elytra
pack:
generate_model: true
parent_model: item/generated
textures:
- default/armors/magic_elytra_icon

itemname - The display name shown for the item.
material - The base Minecraft material used for the item.

components - Vanilla item component settings for the item.
max_stack_size - Limits the item to a stack size of 1.
equippable - Makes the item wearable in the chest slot.
slot - The equipment slot used by the item.

Adding the textures / models​

Place your icon at plugins/Oraxen/pack/textures/default/armors/magic_elytra_icon.png.

Place your Elytra texture at plugins/Oraxen/pack/textures/default/armors/magic_elytra.png.

Reload and regenerate pack​

Run /oraxen reload all and then give yourself the item via /oraxen give @s magic_elytra (or get it from /oraxen inv).

Troubleshooting​

  • Missing texture in inventory - check pack.textures and icon file path.
  • Texture in inventory works, but worn Elytra is wrong - check equippable.model and magic_elytra.png file path.
  • No visible changes - reload Oraxen and re-apply the generated resource pack.