#Passing macro containing colon?

1 messages · Page 1 of 1 (latest)

dull raptor
#

I'm trying to pass the "minecraft:item_model" as a macro to a function but since it contains a colon (:) it fails to compile.

function foo:bar with entity @n[type=item_display] item.components
$say $(minecraft:item_model)

Is there a way to get around this?

hoary jolt
#

store the data in a temp storage and then use that storage as input for the macro

frigid junco
#

could you do $("minecraft:item_model")?

dull raptor
dull raptor