-
Notifications
You must be signed in to change notification settings - Fork 0
09. Weapon Categories
Sleys edited this page Jun 18, 2026
·
3 revisions
The Weapon Categories system allows register brand-new weapon classifications from JSON. This forms the foundation for applying customized animations, guard skills, and models specifically to your unique weapon types.
Depending on whether you want users to be able to modify categories locally or bundle them inside your mod/resource pack, choose one of the following paths:
Use this path if you want the setup to be easily accessible/editable by servers or pack devs.
-
Path:
.minecraft/config/epicfight_edp/weapon_builder/category/*.json ⚠️ Rule: You MUST explicitly declare themodidfield inside the JSON when using this folder.
Use this path to ship categories natively pre-configured inside your mod jar file or data-driven setup.
-
Path:
data_driven/<your_modid>/weapon_builder/category/*.json - 💡 Rule: The
modidfield can be safely omitted inside the JSON because the directory's namespace acts as the fallback signer automatically.
Here is the precise structure required to build a custom weapon category (e.g., registering a hyper_sword category under the my_modid namespace):
{
"weapon_category_builder": [
{
"modid": "my_modid",
"category": [
"hyper_sword"
]
}
]
}