
[1.12.2] per_block_limit: "replacement" parameter throws a "reason: Null" error
eightyfoahh opened this issue · 3 comments
I'm trying to make a script that allows you to transform minecraft:dirt into pyrotech:mud by right-clicking it 16 times. I can only make it dissapear, because once I include the "replacement" parameter, it throws a
"Block-Property [per_block_limit] couldn't be created! Reason: null."
and the block just stops dissapearing.
EDIT: this block-property has been edited to strikethrough unneeded parameters and include the necessary for the fix on cursive.
{
"type": "per_block_limit",
"disableJEI": true,
"id": "mudProcess",
"̶u̶s̶a̶g̶e̶"̶:̶ ̶1̶,̶
"max": 16,
"̶m̶i̶n̶"̶:̶ ̶0̶,̶
"replacement": {"name": "pyrotech:mud", "meta": 0, "chance": 100}
}
I mostly would like to know if there is a way to achieve a similar effect with other Block Properties.
Kind regards.
ok after looking through it, you are missing a "chance" value, which it expects to be present.
Between 0 & 100
@eightyfoahh could you please show the entire game log when you loaded the script?
That way i can see what actually happend.
latest.log Here it is