Open AgainPsychoX opened 2 years ago
As I were looking for workaround for #7 , I found it would be hard, since minity does not support single quotes nor escaping double quotes...
minity
Code
?furnace_minecart_name_snbt = "{\"text\": \"Minecart with Furnace\"}" // Syntax/compilation error ?furnace_minecart_name_snbt = '{"text": "Minecart with Furnace"}' // Syntax/compilation error ?furnace_minecart_name_snbt = {"text": "Minecart with Furnace"} // Invalid mcfunction generation, see below 1)
Last line results in invalid substitution, therefore invalid mcfunction generation:
mcfunction
summon minecraft:chest_minecart ~ ~ ~ {CustomDisplayTile:1b,DisplayOffset:6,Tags:["furnace_minecart"],CustomName:"[object Object]",DisplayState:{Name:"minecraft:furnace"}} kill @s
As I were looking for workaround for #7 , I found it would be hard, since
minity
does not support single quotes nor escaping double quotes...Code
Last line results in invalid substitution, therefore invalid
mcfunction
generation: