#(sudura) Error with Equip

26 messages · Page 1 of 1 (latest)

dense blaze
#

Equip does not work if the slot is a definition

- equip head:<[itemDef]> will work
- equip <[headDef]>:<[itemDef]> where headDef == head (tested & confirmed) will not work

humble ospreyBOT
#

(sudura) Error with Equip

humble ospreyBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

crude idolBOT
#
Changed to Bug

Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.

humble ospreyBOT
dense blaze
#
[23:44:53 INFO]: Filled tag <player> with 'p@6060f664-a72f-4344-8e39-42b35041d6cd (sudura2)'.
[23:44:53 INFO]: Filled tag <[slot]> with 'head'.
[23:44:53 INFO]: Filled tag <[newItem]> with 'i@diamond_helmet[enchantments = map@[protection=4]]'.
[23:44:53 INFO]:  ERROR in script 'newer_netherite_world' in queue 'NEWER_NETHERITE_WORLD_5746_GazetteSheer' while executing command 'EQUIP' in file 'scripts/netherite.dsc' on line '97' with player 'sudura2'!
                 Error Message: 'head:i@diamond_helmet[enchantments=map@[protection=4]]' is an unknown argument! Did you mess up the command syntax?
[23:44:53 INFO]: +> [Argument] Command usage: equip (<entity>|...) (hand:<item>) (offhand:<item>) (head:<item>) (chest:<item>) (legs:<item>) (boots:<item>) (saddle:<item>) (horse_armor:<item>)
[23:44:53 INFO]:  ERROR in script 'newer_netherite_world' in queue 'NEWER_NETHERITE_WORLD_5746_GazetteSheer' while executing command 'EQUIP' in file 'scripts/netherite.dsc' on line '97' with player 'sudura2'!
                 Error Message: Woah! Invalid arguments were specified!
                 Must specify equipment!
[23:44:53 INFO]: +> [CommandExecutor] Usage: equip (<entity>|...) (hand:<item>) (offhand:<item>) (head:<item>) (chest:<item>) (legs:<item>) (boots:<item>) (saddle:<item>) (horse_armor:<item>)
[23:44:53 INFO]: +> [CommandExecutor] (Attempted: EQUIP <player> <[slot]>:<[newItem]>)```
#

tested by just editing this script to head

#

but you can clearly see in logs that its head

crude idolBOT
#
Changed to Help/Support

Thread is now a Help/Support thread. A helper will check your thread when available.

tender coral
#

You can't have dynamic arguments

dense blaze
#

y

tender coral
dense blaze
#

looks so shit to do slot == thing: do this

#

why is this not workable

vocal edge
#

you can use

#

!mech entitytag.equipment

twin ploverBOT
# vocal edge !mech entitytag.equipment

Sets the entity's worn equipment.
Input keys are boots, leggings, chestplate, and helmet.

Object

EntityTag

Input

MapTag

Tags

<EntityTag.equipment> Returns a ListTag containing the entity's equipment. Output list is boots|leggings|chestplate|helmet
<EntityTag.equipment_map> Returns a MapTag containing the entity's equipment. Output keys are boot...

vocal edge
#

if you want to be really dynamic about it

dense blaze
#

damn

#

i see this after