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
- Epic Fight mod
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
- Epic Fight by Yesman
常见问题
Epic Fight – Smart Items 支持哪些 Minecraft 版本?
Epic Fight – Smart Items 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Epic Fight – Smart Items 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
payangar_dev 的其他作品
查看全部 →Excalibur | Iron’s Spells ‘N Spellbooks support
这个资源包以 Excalibur 风格重绘了 Iron's Spells 'N Spellbooks 模组
Excalibur | It Takes a Pillage
这个资源包以 Excalibur 风格重绘了《It Takes a pillage》续作模组中的内容。
Epic Fight – Mod Compat
Addon making other mods' entities and weapons work with Epic Fight
More Darkness
Enhances darkness: moon phases affect night light, caves are pitch black
评论
登录后评论和评分