Anvil
An anvil is a block used to repair equipment, rename items and apply enchanted books. In Matcha Flavoured it is the only way to apply blessings and other enchantments, and the pack changes how experience and repair costs work with it so that repairs never become too expensive.
Obtaining
Crafting
| Name | Ingredients | Recipe |
|---|---|---|
| Anvil | 3 × Steel Alloy + 4 × Iron Ingot |
matcha:crafting/anvil |
| Anvil (vanilla recipe) | 3 × Block of Iron + 4 × Iron Ingot |
The pack adds a cheaper recipe that uses three Steel Alloy in place of the three blocks of iron.[1] The vanilla recipe with blocks of iron is still in the game, although the 1.03 release notes say it was removed; see Notes.
Usage
Applying enchantments
Blessings, Ofuda and found books are combined with equipment in an anvil, as in vanilla. The pack lowers the anvil cost multiplier of every vanilla enchantment to 1 and of most of its own enchantments to 0, so combining books costs few levels.[2]
Repairing
Equipment is repaired in the anvil with its base material. The "Repair & Reuse" advancement describes this: "Anvils made from Steel can repair Any Equipment with its corresponding Base-Metal Ingot forever". Repairing in the crafting grid is disabled.[3]
Experience
The pack does not let the player keep experience: each tick it sets every player's level and points to 0. After a player opens an anvil, the next change to their inventory (such as placing an item in the anvil) gives them 100 levels and exempts them from the reset, so anvil use does not fail for lack of levels.[4] The exemption ends when a shared 31-second timer runs out; the timer is restarted whenever a player's inventory changes, such as when taking an item out of the anvil.[5][6] The release notes explain the reason: data packs cannot remove the experience requirement from anvil repairs, so the pack gives levels only while the anvil is in use.[7]
Repair cost
Every time the player's inventory changes, the prior-work penalty (the repair_cost component) of every item in the main inventory and hotbar is reset to 0. The penalty therefore never builds up, and items can be repaired and re-enchanted any number of times.[8] This part of the pack, in the endless_repairs namespace, is based on MiziraGamez's "Repair Cost Remover" data pack.[9] Items in the armor slots and offhand are not reset until they are moved into the inventory.
Appearance
The pack retextures the anvil with a brick-red color. The developer confirmed this is intended, so that anvils can be used in brick builds.[10]
Advancements
| Advancement | Description | Requirement |
|---|---|---|
| Repair & Reuse | Anvils made from Steel can repair Any Equipment with its corresponding Base-Metal Ingot forever | Obtain an anvil.[11] |
History
| 0.6-alpha | Experience is hidden unless the player interacts with an anvil. |
|---|---|
| 1.03 | Added an error sprite for anvil smithing. The release notes say the anvil can no longer be crafted from blocks of iron. |
| 1.10 | Anvils and anvil experience work in multiplayer. The experience timer increased from 15 to 30 seconds, and the levels given from 50 to 100.[12] |
Notes
- The vanilla anvil recipe (three blocks of iron and four iron ingots) is not blocked in the pack's
pack.mcmetafilter, so it is still craftable despite the 1.03 release notes.[13] - The experience timer is a single timer for all players, and the check that ends the exemption removes it from every player at once. In multiplayer, one player's inventory changes can extend another player's anvil time.
See also
References
- ↑
crafting/anvil.json - ↑
enchantment/unbreaking.json - ↑ Matcha Flavoured 1.12.1-alpha release notes
- "Repairing Equipment in the crafting menu is now disabled"
- ↑
anvil xp/set xp.mcfunction - ↑
anvil xp/check anvil interaction.mcfunction - ↑
anvil xp/remove xp.mcfunction - ↑ Matcha Flavoured 0.6-alpha release notes
- "XP is not shown unless you interact with an anvil, since I can't remove XP requirements for anvil repairing"
- ↑
function/reset breakable repair cost.mcfunction - ↑
endless repairs/README.txt - ↑ Matcha Flavoured 1.12 release notes
- "The Anvil texture thing isn't a bug, I did it so I could build with brick-coloured anvils"
- ↑
tutorial/obtain avil.json - ↑ Matcha Flavoured 1.10 release notes
- "Increased anvil xp timer from 15s to 30, and increased levels from 50 to 100"
- ↑ Matcha Flavoured 1.03 release notes
- "Anvil can no longer be crafted from iron blocks (I dont want players spending too many resources on stuff if they don't have to)"
| Mechanics | |
|---|---|
| Stations | |
| Magic materials | |
| Prayers |
|
| Elegies | |
| New enchantments | |
| Changed enchantments | |
| Potions and arrows | |
