Search results
9 lip 2023 · This datapack implements formatting codes for making customized text without JSON formatting! Formatting codes can be used to customize item names within anvils and text within books without the need for commands or special permissions. This makes text formatting accessible to all players regardless of gamemode or op status! Usage
I do not think you can make anvil recipes with data packs. The wiki says nothing of it: https://minecraft.fandom.com/wiki/Recipe. So the closes you got is smithing recipes, and the wiki says nbt data from the crafting items is passed on to the result. So you could probably tag all books with curse_book:1b.
Browse and download Minecraft Anvil Data Packs by the Planet Minecraft community.
This Minecraft tutorial explains how to craft an anvil with screenshots and step-by-step instructions. In Minecraft, anvils are an important decoration item in your inventory. An anvil is used to enchant items , repair items , and name items in the game.
Browse and download Minecraft Anvils Data Packs by the Planet Minecraft community.
You can also make anvil recipes to craft things similarly to the smithing table. However, these are not data driven, they must be done from code. You do this by listening for the AnvilUpdateEvent , manually checking the inputs and changing the output.
By uploading this mod, you gain the ability to add anvil recipes to the game using datapacks. In addition to the obvious customization of ingredients and results, and their amounts, you can also choose whether the input will be consumed, what it will return, and the amount of XP required.