Data Packs Game Mechanic

ForgeCraft - Equipment Extension [1.21.5 - 1.21.11]

  • 12.5k views 0 today
  • save_alt 920 downloads
Compatibility
Minecraft 1.21
Changes include
  • Advancements
  • Functions
  • Loot Tables
  • Predicates
  • Recipes
Added CreditCloudWolf (For accurate entity hit detection)
LPMC2
Lvl 29Expert Engineer Warrior
7
ForgeCraft - Equipment Extension [1.21.5 - 1.21.11] Minecraft Data Pack


ForgeCraft - Equipment Extension [1.21.5 - 1.21.11] Minecraft Data Pack

Welcome to ForgeCraft! Have you ever complain about having too little modification on the items? Or just play a lot of survival minecraft and want to modify the game without using any mods? Well, this datapack suits you! This datapack features a Reforge System where you can alter your Weapons, Armor, Tools and Utilities in a different way!

As of right now, there over 80 Unique Reforges for you to discover and use. They all support multiplayer so you don't have to worry about it working inproperly. However, if you found any bugs and problems with the datapack, let me know by commenting here!
Also, Just because of 1.21 Attribute Modifier Update, this datapack doesn't support 1.20.6 or under.

Currently, this datapack supports 1.21.6-1.21.10. (Including the newest Snapshot, 25w41a)
If you need older versions, please visit Modrinth (Link on Alternate Download Button) to view!
If there're new versions, I will do my best to update the datapack to the newest version. However, they are only available in Modrinth & CurseForge!




This datapack does have a resourcepack, which is currently in stage 2: All Armor reforge items. Now it is required for the datapack to work properly. To download the resourcepack, here's the link:
Resourcepack download link:
https://www.curseforge.com/minecraft/texture-packs/forgecraft-support-resource-pack



ForgeCraft - Equipment Extension [1.21.5 - 1.21.11] Minecraft Data Pack

- Stackable Attribute Modifiers (Item
stats):

This is the converted iron sword (It has the same stats as Vanilla Iron Sword)


After applying a forge item, it addes up the original stats like this:
(In this example, Sharp reforge, adding 2 attack damage and 10% Attack Range [​Entity Interaction Range])




Getting item name (Including modded items):
Yes, I have figured out how to get the item name. No, it is not hard-coded. And no, you can't get the actual translated name.

In short, since you can get item's id from commands like: /data get entity @p SelectedItem.id, I have created a system, that will trim off the mod id, along with the underline _ , then captialize the first letter and any letter after space.


Let me give you a small example, from the mod Travelers Backpack:

In this example, I used a White Sleeping bag to forge (Yes, you can technically forge any item):



And after it's forged, it looks like this:


The name goes from "travelersbackpack:white_sleeping_bag" to "White Sleeping Bag", and
the item gets the same name as the mod's item id!

Sadly for modded items, its stats are currently impossible to obtain, so I decided to just randomize its stats, based on the type.



[​Version V1.4 & After Only!]


You can customize the stats of a item through attributes!
Requirement:
- The item is vanilla reforged by the Vanilla Item Converter/Forging Converter
Getting the Stat Booster Item:
They are obtainable from crafting recipes
List of Available Boosts:
- Max Health
- Armor
- Armor Toughness
- Attack Damage
- Attack Speed
- Attack Knockback
- Block Interaction Range
- Entity Interaction Range
- Burning Time (Reduce)
- Safe Fall Distance
- Gravity (Reduce)
- Knockback Resistance
- Jump Strength
- Block Break Speed
- Scale (Both Reduce & Increase)
- Movement Speed
- Oxygen Bonus

To apply the boost, just do it the same way as forging the item

You can apply various boosts into one item, but the maximum total applies is 10.

Extra Information:

- Available Forge Options (Some reforges can apply to multiple types):

  • 4 [​Any] Reforges
  • 18 [​Armor] Reforges
  • 15 [​Melee] Reforges
  • 12 [​Tool] Reforges
  • 12 [​Ranged] Reforges

- 33 Reforges with special abilities

- 22 Reforge related Advancements




Not Going to provide the details here, go discover it yourself!


(Gamerule ismobmodification TRUE exclusive):

- 3 New Bosses


- 7 Conditional Mobs (Boss Included)


If you want your custom item to include in this datapack, you can add the following custom component data to the item:
minecraft:custom_data.itemname - Type: String. An item name, for example, "Aspect of the Jerry"

minecraft:custom_data.reforgeid - Type: Integer. Set the value to 0, if you want it to be reforged, and prevents the name from overriding.

minecraft:custom_data.typename - Type: String. The id of the item, for example, "minecraft:iron_sword"

minecraft:custom_data.typeid - Type: Integer. The type of the item. Important for determining what reforge can it gets. Here's the list of typeid:


1 -> Melee
2 -> Ranged
3 -> Armor - Helmet
4 -> Armor - Chestplate
5 -> Armor - Leggings
6 -> Armor - Boots
7 -> Tool
8 -> Utilities
9 -> Other


minecraft:custom_data.itemtype - Type: String. Optional, the item type name of the item. For example, "Melee"

minecraft:custom_data.global_id - Type: Integer. The id for the item. If you have multiple item, they should not have the same id.





  • Please read the README from the source file for some extra details
  • If you wished to remove mob modification, you can type:
  /function gamerules/ismobmodification/false
  • If you didn't see any recipe unlock, try this command:
  /function reforge/unlock_all_reforges
  However, if you still didn't see any, try checking if the datapack is active from the command: /datapack list
  • (For V1.62.2 or newer only!) To modify the maximum count for enhancement books applied, you can type the following command:
    /function gamerules:enhancementmaxcount/set {count:10}
    Where "count" is the maximum count to apply


    

  • Craft the Reforge Anvil from the crafting table (Recipe shown in recipe book) and place it like a spawn egg. However, it will NOT rotate.
  • To put the item to the slot, right click to place and left click to get it back
  • To forge the item, click on the symbol 🛠. It will only work if the items are correct and you have enough xp levels
    

  • To get the reforge anvil back, just simply destory the anvil with proper tools, remaining items in the slot will return as a dropped item.
Recipe for Reforge Anvil and Vanilla Item Converter/Forging Converter
(In case you can't see it from recipe book):



(If Gamerule ismobmodificaiton is true)
  • Skeletons will not always hold a bow, they can now hold a sword or a axe with enchantments (They are deadly...)
  • (If Gamerule ismobmodification is true) You can get a special reforge from a wandering trader with a low percentage
  • Since that the enderman can be ranged, I would not recommend to build the usual enderman farm as the endermite may die from projectile.
  • Recommend to have a unbreakable shield as some mobs can quickly destroy your normal shield like a paper


  • Some items will have limitation, please read the forge item carefully. (At least bow can work like a charm in left hand due to 'weapon' data is inside the arrow data)
  • The advancement will provide guide on spawning the conditional mobs. Getting advancement will also reward with a bit of xp.
  • If you accidentally placed down the forge item, don't worry! Although description might be lost, but it can still apply as usual!




44 Update Logs

Update V1.7.9 : by LPMC2 01/07/2026 12:14:52 pmJanuary 7 @ 5:14 pm UTC

More optimizations and fixes

  • Reduced the memory usage for stunning/breaching/leeching reforges
  • Buffed Stunning reforge duration, from 1s -> 2s.
  • removed unnecessary @a in certain situations
  • Added Storage for Player data (id & level) & Reforge Anvil (id). They will be saved on creation/update, and load on reload.
  • Added small description for how to gain forging xp, on lvl 0.
  • Changed unnecessary @e[...] for custom mobs and moved to somewhere else.
LOAD MORE LOGS

More like this

  Have something to say?

yurpio
07/19/2025 10:11 pm
Level 34 : Artisan Loremaster Builder
fabriccraft when
1
LPMC2
07/25/2025 2:33 pm
He/Him • Level 29 : Expert Engineer Warrior
Fun fact: I am currently trying to develop a version for 1.20.1 (With Fabric mod), where this datapack cannot be made in that version.
1
yurpio
07/25/2025 2:55 pm
Level 34 : Artisan Loremaster Builder
oh neat
2
Esoteric012
07/19/2025 4:11 pm
Level 1 : New Miner
history
Can I set the limit of reforged?
Or is it just 1 per item?
And the enchant book that is specified on the details page as 10
"You can apply various boosts into one item, but the maximum total applies is 10."
Can these limits be set manually?
1
LPMC2
07/25/2025 2:31 pm
He/Him • Level 29 : Expert Engineer Warrior
history
(Outdated since V1.6)

Since not all reforges are compatible with each other, the maximum possible of reforges is 3 (With durable/unbreakable + enhanced/gilded + any other reforge)
Also, for the enhancement book, the reason why the maximum application is 10 is because I was trying to ensure the player isn’t overpowered.
However, in the future, I might let players to change the limit.
2
LPMC2
08/16/2024 4:19 am
He/Him • Level 29 : Expert Engineer Warrior
history
Outdated Note:
Due to attribute & recipe got changed in this snapshot (24w33a), if you wanted to use this datapack in that version, you have to download it from curseforge, the alt download method one.
Look for a version called:
ForgeCraft - MC Snapshot 24w33a
If it is available, download that version instead.

Thank you!
1
NOOBMASTERS007
07/04/2024 4:39 am
Level 1 : New Miner
nice datapack, I love it
2

Welcome