Anvil

From Matcha Flavoured Wiki
Jump to navigation Jump to search
This is the Matcha Flavoured version of Anvil, renamed or changed from vanilla Minecraft.
Anvil
Anvil.png: Inventory sprite for Anvil in Minecraft as shown in-game with description: Anvil
TypeBlock
StackableYes (64)
Resource locationminecraft:anvil
Defined inanvil.json

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
Steel Alloy.png: Inventory sprite for Steel Alloy in Minecraft as shown in-game linking to Steel Alloy with description: Steel AlloySteel Alloy.png: Inventory sprite for Steel Alloy in Minecraft as shown in-game linking to Steel Alloy with description: Steel AlloySteel Alloy.png: Inventory sprite for Steel Alloy in Minecraft as shown in-game linking to Steel Alloy with description: Steel AlloyIron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotIron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotIron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotIron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron Ingot
Anvil.png: Inventory sprite for Anvil in Minecraft as shown in-game with description: Anvil

matcha:crafting/anvil
Anvil (vanilla recipe) 3 × Block of Iron +
4 × Iron Ingot
Block of Iron.png: Inventory sprite for Block of Iron in Minecraft as shown in-game linking to Block of Iron with description: Block of IronBlock of Iron.png: Inventory sprite for Block of Iron in Minecraft as shown in-game linking to Block of Iron with description: Block of IronBlock of Iron.png: Inventory sprite for Block of Iron in Minecraft as shown in-game linking to Block of Iron with description: Block of IronIron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotIron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotIron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron IngotIron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron Ingot
Anvil.png: Inventory sprite for Anvil in Minecraft as shown in-game with description: Anvil

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

Main article: 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.mcmeta filter, 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

  1. crafting/anvil.json
  2. enchantment/unbreaking.json
  3. Matcha Flavoured 1.12.1-alpha release notes
    "Repairing Equipment in the crafting menu is now disabled"
  4. anvil xp/set xp.mcfunction
  5. anvil xp/check anvil interaction.mcfunction
  6. anvil xp/remove xp.mcfunction
  7. 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"
  8. function/reset breakable repair cost.mcfunction
  9. endless repairs/README.txt
  10. 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"
  11. tutorial/obtain avil.json
  12. Matcha Flavoured 1.10 release notes
    "Increased anvil xp timer from 15s to 30, and increased levels from 50 to 100"
  13. 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)"