Skip to content

07‐1. Add Icon to Skill Category

Sleys edited this page Jun 18, 2026 · 5 revisions

In Epic Fight, if a weapon category lacks a defined visual icon.


📁 File Locations & Loading Methods

Depending on whether you want users to be able to modify categories locally or bundle them inside your mod, choose one of the following paths:

⚙️ Option A: Local Config Folder

Use this path if you want the setup to be easily accessible/editable by servers or pack devs.

  • Path: .minecraft/config/epicfight_edp/skill_builder/category_icon/*.json

📦 Option B: In-Jar (Bundled Data-Driven)

Use this path to ship categories natively pre-configured inside your mod jar file or data-driven setup.

  • Path: ./data_driven/<mod_id>/skill_builder/category_icon/*.json

📄 JSON Structure & Schema

{
  "icon_skill_builder": [
    {
      "item_id": "namespaces:item_id",
      "category": "some_category"
    }
  ]
}

📋 Parameters & Field Definitions

Field Type Description
icon_skill_builder Array Root array storing all category icons entry objects.
item_id String The Item registry ID.
category String The target weapon category to append to the icon.
  • How it works: You map a specific game item to act as the visual icon for a weapon category.
  • ⚠️ Override Behavior: ALLOWED. If multiple JSON files define an icon for the exact same category, only one configuration will take priority and be used.

Clone this wiki locally