Closed Davoleo closed 6 years ago
You have:
"match": {
"drops": {
"items": [
"betterwithmods:unfired_pottery:4"
]
}
}
Should be:
"match": {
"drops": {
"drops": [
"betterwithmods:unfired_pottery:4"
]
}
}
Looks like there is some inconsistency in the examples, I'll fix that.
In the meantime: https://github.com/codetaylor/dropt/blob/master/SYNTAX.md
oh ok, thanks!
ok it does replace but it also has the old drop that I would like to remove
"rules": [
{
"match": {
"blocks": {
"blocks": [
"betterwithmods:unfired_pottery:4"
]
}
},
"replaceStrategy": "REPLACE_ITEMS_IF_SELECTED",
"drops": [
{
"selector": {
"weight": {
"value": 100
}
},
"item": {
"items": [
"betterwithmods:unfired_pottery:4"
]
}
}
]
}
]
}```
OK, I sorted out by myself, sorry for the ignorance but I'm really new to this mod
Ok, I need the better with mods's unfired brick to drop itself, so I created this script
but instead of adding the drop just to the brick it adds it to every item in the game I don't know what replace strategies are avaliable, but I think the problem is there