I'm trying to do something like this:
data merge entity @s {ArmorDropChances:[0.25f,0.25f,0.25f,0.25f]}
So when I execute this function as a mob it will change the entity's NBT.
The problem is that if I don't specify a mod type then the extension marks this as an error.
The error message it is showing is:
Unknown child 'ArmorDropChances' for entity 'unspecified' mcfunction(argument.nbt.compound.unknown)
I'm trying to do something like this:
data merge entity @s {ArmorDropChances:[0.25f,0.25f,0.25f,0.25f]}So when I execute this function as a mob it will change the entity's NBT.
The problem is that if I don't specify a mod type then the extension marks this as an error.
The error message it is showing is: