I have just a couple of problems with an add-on I'm developing. One issue is that I need help with is my enchant tag not properly enchanting an item inside a loot table.
By using an ench tag under "set_nbt" in functions, I am attempting to add a level two frost walker enchantment on a mob. I was successful through "enchant_randomly" and "enchant_with_levels" functions but they're not 100% reliable. Please take a moment and see if you can recognize why it's not properly working.
I have just a couple of problems with an add-on I'm developing. One issue is that I need help with is my enchant tag not properly enchanting an item inside a loot table.
By using an ench tag under "set_nbt" in functions, I am attempting to add a level two frost walker enchantment on a mob. I was successful through "enchant_randomly" and "enchant_with_levels" functions but they're not 100% reliable. Please take a moment and see if you can recognize why it's not properly working.
{
"pools": [
{
"conditions": [
{
"condition": "random_chance",
"chance": 1
}
],
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:diamond_boots",
"weight": 1,
"quality": 100,
"functions": [
{
"function": "set_nbt",
"tag": "{ench:[{id:25,lvl:2}]}"
}
]
}
]
}
]
}
-Dutch Brush-
I finally found some clarity on this subject...
Go to Custom Loot Tables
-Dutch Brush-
Hi, man, I'm with the same problem could you give me the command you used? thank you
Is this an add-on?