So is there any way i can get the color property i added from the custom data from a item that a player is holding, and then use it to color a particle?
heres the give command for said item: give @s phantom_membrane[item_name="Laser pointer",consumable={consume_seconds:1000000000},item_model="end_rod",custom_data={color:[1,0,0]}]
#particle settings from item data?
1 messages · Page 1 of 1 (latest)
how would i get item data in a macro arg?
do you know how macros work?
ive done the standard call with a num or string, but nothing past that
you can do function something with entity <entity> <data>
yes i know, but like how do i bridge item data and macro args
so like is there some trick with execute or smth?
I mean that's basically it
but it you have an array you will have to copy the elements to a storage first because you need macro texts
ok, then its in storage, whats next, cus storage != macro arg ofc
like that
(replace entity with storage)
OH i didnt know that was a possibility
mkay, and then inside the func what macro arg name is it?
that's why you have to copy the array elements individually to a storage first