<  ForgeCraft - Documentation >
# ----------------<Note>---------------- #
This datapack is created by LPMC2, with some assist from CloudWolf which includes:
- entity_hit_matching (Modified)
- raycast functions: start_raycast, raycast, collide (Modified)
Please do not copy and claim it as own work, I have put a lot of time on the functions.

Please notify me from the platform I published if you found any bugs or problems with the datapack.
# -------------< Known Problems >------------- #
1. You cannot place Reforge Anvil on the following blocks:
- Any block that is not 0.5 or 1 block height, especially player head, endstone frame etc.
2. All Reforges are unable to work with firework rockets, as the projectile doesn't contain the weapon component (This is my main method for detecting player firing arrow.
3. You can apply some effects like stunning, leeching etc. if the weapon is in main hand but use left hand to fire the arrow or quick switch the weapon.
4. Potion Effects from Armor will not work after respawning if the gamerule of keepinventory is on.
5. You can still get hit effects from mobs even if blocked.

# -----------< Guide > ----------- #
1. Craft the Reforge Anvil from the given recipe, if the recipe doesn't  appear in the crafting table, type the following command:
/recipe give @p crafting:reforge_anvil
You need the Recipe Book opened in order to view the crafting recipe.
To place the reforge anvil, just place it like spawn egg. However, there are a few cautions:
- Avoid Placing it on Replaceable Objects, like grass, water etc. Suggest to place on air only.
- Also avoid placing on non-full block items like stairs, slab, carpets. All of this can cause the anvil to not spawn.

2. From the reforge anvil, there is a item slot, where you can put your item in it from [right click]. [Left click] to get the item back. There is also a forge slot, where you can put forge item like the vanilla item converter in it. Putting & Returning method is the same as item slot.
- For forging the item, click on the symbol 🛠 above the anvil and slot items to forge the item. However, if the item/forge item is incorrect or your xp level isn't enough, it will not do anything.
- For Getting the Reforge Anvil back as a item, all you need to do is to destroy the anvil. It only drop the item if a anvil is dropped.
3. Most reforge items are obtainable by crafting. However, there are some that can only be obtained from mobs. 
4. If you wished to remove mob modification, you can type:
/function gamerules/ismobmodification/false
5. If you updated this datapack to newer versions, please type:
/function reforge/unlock_all_reforges
To view the recipes for new reforges.

This is a solo project, that it was created in free time while in college. I really appreciate for those who downloaded, or liked my project. If you are reading this, I hope that you have a great future, and able to fulfill what you want.


