Hi.
I want the console to execute a long command like "give~",
so I made this and tried if it works.
However, it does not.
This is the code that causes an error.
Needless to say, on a command block, the command can work and can give a player the item.
And This is the error.
It says "Can't understand this effect".
A short command is acceptable, but a long command is not?
I don't know the difference between a shorter one and a longer one and how to fix this.
Could you help me with the correction?
(I'm not a native English speaker, so if there are mistakes, I'm sorry.)
I want the console to execute a long command like "give~",
so I made this and tried if it works.
However, it does not.
Code:
command /testcommand:
trigger:
command "give @p dragon_head{display:{Name:'[{"text":"Flies","color":"yellow"}]',Lore:['[{"text":"You get a speed of +0.05 when you are equipped on your head."}]','[{"text":"You can move more rapidly if you equip yourself for it.","italic":true}]','[{"text":"Not mosquitoes, but Flies.","italic":true}]']},AttributeModifiers:[{AttributeName:"generic.movement_speed",Amount:0.05,Operation:0,UUID:[I;-1201015,29915,174314,-59830],Slot:head,Name:"generic.movement_speed"}]} 1"
This is the code that causes an error.
Needless to say, on a command block, the command can work and can give a player the item.
And This is the error.
It says "Can't understand this effect".
A short command is acceptable, but a long command is not?
I don't know the difference between a shorter one and a longer one and how to fix this.
Could you help me with the correction?
(I'm not a native English speaker, so if there are mistakes, I'm sorry.)