Origami Docs
  • 👋Origami Docs
  • 🎮Setup
  • ✍️Creating Custom Content
    • ⛏️Making Custom Blocks
    • 💎Making Custom Items
    • 🛠️Making Custom Crafting Recipes
      • 🧑‍🍳Crafting Recipe Types
  • 📣Events
  • ✨Item Strings
  • ⌨️In-game commands
Powered by GitBook
On this page
  1. Creating Custom Content

Making Custom Items

Custom items are defined in the same way as blocks and recipes. See the "Making Custom Blocks" page for more information on what these fields do.

PreviousMaking Custom BlocksNextMaking Custom Crafting Recipes

Last updated 1 year ago

can be defined with their name, and are not case-sensitive.

baseItem: DIAMOND_SWORD
lore:
- <rainbow>Test item</rainbow>
displayName: Test Sword
enchantments:
- damage_all(5) # legacy Bukkit enchantment name
- unbreaking(3) # Minecraft enchantment name
- binding_curse # level 1 enchant
flags:
- hide_attributes
events:
  - onRightClick:
      commands:
        - say hello world
      cooldown: 20
  - onDamaged:
      commands:
        - say ouch!
  - onBroken:
      commands:
        - say goodbye world!
✍️
💎
Item Flags