Nexo Mappings
Overview
Nexo Mappings is a mapping system for converting Java 1.21+ item model systems to Bedrock Edition. It reads item definitions from YAML configuration files and generates the appropriate Geyser mappings.
Supported Format
Nexo mappings uses the Nexo plugin YAML configuration files only.
YAML Format
File Location
Place YAML files in the Nexo/items/ folder (or any subfolder) within your resource pack:
your-pack.zip
├── Nexo/
│ └── items/
│ ├── weapons.yml
│ ├── armor.yml
│ └── tools.yml
└── assets/
└── ...YAML Structure
YAML Field Reference
material
string
✅
Bukkit Material name (e.g., NETHERITE_SWORD)
Pack.custom_model_data
number
❌
Custom model data value
item_model
string
❌
Explicit item definition ID override
Components.item_model
string
❌
Item definition ID (highest priority for armor)
Components.equippable.slot
string
❌
Equipment slot: HEAD, CHEST, LEGS, FEET, MAINHAND, OFFHAND, BODY
Components.equippable.model
string
❌
Equipment model ID (e.g., nexo:ruby)
Components.equippable.allowed_entity_types
array
❌
List of entities that can equip (e.g., [player, zombie])
Components.max_stack_size
number
❌
Maximum stack size (auto-set to 1 for equippable items)
Components.durability
number
❌
Maximum durability for the item
YAML Examples
Basic weapons and tools:
Items with durability:
Equippable armor:
Complex example with mixed types:
Equipment Slots
When using Components.equippable.slot for armor:
HEAD
Helmets, hats, crowns
CHEST
Chestplates, tunics
LEGS
Leggings, pants
FEET
Boots, shoes
BODY
Body equipment (horse armor, wolf armor)
MAINHAND
Main hand equipment
OFFHAND
Off-hand equipment
Troubleshooting
Example Project Structure
Important Notes
Armor Configuration
For armor items, use Components.item_model to specify the item definition ID. This has the highest priority and is specifically designed for armor and special items.
Example:
→ Item definition: assets/nexo/items/ruby_chestplate.json
→ Equipment model: Referenced in the equippable component
Entity types are automatically prefixed with minecraft:.
Durability vs Max Stack Size
Items with
Components.equippableautomatically havemax_stack_size: 1Non-equippable items can have custom
max_stack_sizeDurability can be specified as a number or in
durability.valueformat
Last updated