Here you can found two methods to change the second trade item of the wandering trader to get a miniblock barrel (it's a netherite ingot by default).
This gist is writed for the version 1.2 version of All MiniBlocks datapack. Using theses methods in future versions would work because changing this part of the code isn't planned but the method may not be valid anymore.
By using Microsft Visual Studio Code, follow these steps:
- Open the project folder in VSC
- Go on the
Search
tab (1
on the image) - Type
minecraft:netherite_ingot
in the field2
- Type in the field
3
the item id that you want WITH theminecraft:
namespace specified - Click on the button
Replace All
(4
on the image)
Go into the file randomminiblocks.mcfunction
located in the data/miniblocks/functions/newtrade
folder.
Change at the line 7 after buyB:{id:"
the id of the item that you want.