Ayfri
07/14/2023, 12:28 PMEugen Martynov
07/14/2023, 3:32 PMAyfri
07/14/2023, 5:16 PM[
{
"type": "minecraft:block",
"result_state": {
"Name": "minecraft:stone"
}
},
{
"type": "minecraft:bandlands"
},
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": []
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "minecraft:stone"
}
}
}
]
For example, where I want to customise the class discriminator so that it is written as "minecraft:${value::class.simpleName.lowercase()}"
Eugen Martynov
07/14/2023, 5:20 PMAyfri
07/14/2023, 5:23 PMEugen Martynov
07/14/2023, 5:23 PMAyfri
07/15/2023, 12:56 AMEugen Martynov
07/15/2023, 1:10 PMAyfri
07/15/2023, 3:18 PM