promotional bannermobile promotional banner

Epic Fight - Smart Items

A Minecraft mod that automatically switches between Epic Fight's combat and mining modes based on the item you're holding

Epic Fight Smart Items

A Minecraft mod that automatically switches between Epic Fight's combat and mining modes based on the item you're holding.

Requirements

How It Works

When you select an item in your hotbar:

  • Item matches your config → Switches to Mining Mode (vanilla animations)
  • Item doesn't match → Switches back to Combat Mode (Epic Fight animations)

This is the same as pressing the R key manually, but automatic!

Configuration

Create a file named epicfight-smart-items.json in your config/ folder.

Basic Example

{
  "items": [
    { "tag": "minecraft:pickaxes" },
    { "tag": "minecraft:shovels" },
    { "tag": "minecraft:hoes" },
    { "id": "minecraft:torch" }
  ]
}

This config will switch to mining mode when holding any pickaxe, shovel, hoe, or torch.

Config Options

Each item entry can have:

Field Description Example
id Match specific item "minecraft:diamond_pickaxe"
tag Match item tag "minecraft:pickaxes"
components Match data components See below

All conditions in a single entry use AND logic. Multiple entries use OR logic.

Matching by Item ID

{
  "items": [
    { "id": "minecraft:diamond_pickaxe" },
    { "id": "minecraft:netherite_shovel" }
  ]
}

Matching by Tag

{
  "items": [
    { "tag": "minecraft:pickaxes" },
    { "tag": "c:tools/hammers" }
  ]
}

Matching by Components (Advanced)

You can match items based on their data components (custom name, enchantments, damage, etc.):

{
  "items": [
    {
      "id": "minecraft:book",
      "components": {
        "minecraft:custom_name": "\"Mining Manual\""
      }
    },
    {
      "id": "minecraft:diamond_pickaxe",
      "components": {
        "minecraft:unbreakable": {}
      }
    },
    {
      "id": "minecraft:diamond_sword",
      "components": {
        "minecraft:enchantments": {
          "levels": {
            "minecraft:sharpness": 5
          }
        }
      }
    }
  ]
}

Common Components

Component Description Example Value
minecraft:custom_name Item's custom name "\"My Pickaxe\""
minecraft:damage Current damage value 0
minecraft:unbreakable Unbreakable flag {}
minecraft:enchantments Enchantments {"levels": {"minecraft:efficiency": 5}}
minecraft:custom_model_data Custom model data 1234

Testing Items

Use the /give command to create items with specific components:

/give @p minecraft:book[custom_name="Mining Manual"]
/give @p minecraft:diamond_pickaxe[unbreakable={}]
/give @p minecraft:stick[custom_name="Mining Wand"]

Credits

The Epic Fight - Smart Items Team

profile avatar
  • 5
    Followers
  • 17
    Projects
  • 1.1M
    Downloads

More from payangar_devView all

  • Epic Fight - Mod Compat project image

    Epic Fight - Mod Compat

    • 262
    • Mods

    Addon making other mods' entities and weapons work with Epic Fight

    • 262
    • May 16, 2026
    • Mods
    • +3
  • Encounters project image

    Encounters

    • 249
    • Mods

    Adds immersive, fully customizable encounters. More challenge, more surprises.

    • 249
    • May 13, 2026
    • Mods
    • +2
  • Spawning Overhaul project image

    Spawning Overhaul

    • 484
    • Mods

    A Minecraft mod that creates a more immersive mob spawning system based on environmental factors like caves, forests, and structures

    • 484
    • April 13, 2026
    • Mods
    • +4
  • More Darkness project image

    More Darkness

    • 827
    • Mods

    Enhances darkness: moon phases affect night light, caves are pitch black

    • 827
    • April 11, 2026
    • Mods
    • +2
  • Epic Fight - Mod Compat project image

    Epic Fight - Mod Compat

    • 262
    • Mods

    Addon making other mods' entities and weapons work with Epic Fight

    • 262
    • May 16, 2026
    • Mods
    • +3
  • Encounters project image

    Encounters

    • 249
    • Mods

    Adds immersive, fully customizable encounters. More challenge, more surprises.

    • 249
    • May 13, 2026
    • Mods
    • +2
  • Spawning Overhaul project image

    Spawning Overhaul

    • 484
    • Mods

    A Minecraft mod that creates a more immersive mob spawning system based on environmental factors like caves, forests, and structures

    • 484
    • April 13, 2026
    • Mods
    • +4
  • More Darkness project image

    More Darkness

    • 827
    • Mods

    Enhances darkness: moon phases affect night light, caves are pitch black

    • 827
    • April 11, 2026
    • Mods
    • +2