Creating Your Own Items
Pack Layout
Before diving into creating custom items, you should have a basic understanding of how resource packs and data packs are structured, particularly the directory layout from the root folder to the /data/
directories. You can refer to the corresponding Minecraft Wiki page for more information on setting up data packs.
To add custom items for Clay Soldiers to hold, wear, or interact with, you'll be working with a data pack that modifies NeoForge’s Data Maps.
└─ data
└─ (your data pack name)
├─ data-maps
│ ├─ item
│ │ ├─ soldier_holdable.json # <- For items that soldiers can hold
│ │ ├─ soldier_wearable.json # <- For items that soldiers can wear
│ │ └─ soldier_poi.json # <- For interactable items
│ ├─ block
│ │ └─ soldier_poi.json # <- For Blocks soldiers can interact
│ └─ entity_type
│ └─ soldier_vehicle_properties.json # <- Properties for Clay Soldier Mounts
├─ csr
│ ├─ clay_teams # <- For new Clay Soldier Teams
│ │ └─ ...
│ └─ soldier_item_type # <- For new Soldier Item Set Types
│ └─ ...
└─ tags
└─ item
└─ ...
- Adding new Items and Armor
- Adding interactable Items/Blocks
- Adding new Teams
- Modifying Item Set Types
- Tags
- Modifying Soldier Mounts Properties
- Examples