#(JustinS) Hide equipment on npc?
34 messages · Page 1 of 1 (latest)
(JustinS) Hide equipment on npc?
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.
!c fakeequip
entity
fakeequip [<entity>|...] (for:<player>|...) (duration:<duration>/reset) (hand:<item>) (offhand:<item>) (head:<item>) (chest:<item>) (legs:<item>) (boots:<item>)
Fake-equips items and armor on a list of entities for players to see without real change.
This command fake-equips items and armor on a list of entities.
The change doesn't happen on-server, and no armor effects will happen from it.
The equipment can only be seen by certain players. By default, the linked player is used.
The changes will remain in place for as long as the duration is specified (even if the real equipment is changed).
The changes can be manually reset early by using the 'reset' argument.
If you do not provide a duration, the fake equipment will last until manually reset.
This does not persist across server restarts.
Set the item to 'air' to unequip any slot.
you can fakeequip air
👍
So, like this right?
- fakeequip <server.flag[OutsideGuard_1]> hand:<material[air]>
I'm not sure if you're suppose to be setting is as a material but usually <item> requirements take a matcher, so you don't have to provide a constructed item unless you need to.
As per some of the usage examples.
Meta specifically mentions <item>, so providing a MaterialTag is not valid. An item name such as air would be, since denizen tries to parse the value into an item automatically, thus why a constructor is redundant. It would parse the value as item two times. Tags and events do take matchers sometimes when it says <item> and wotnot, specifically event lines, but commands often do not.
so it should just be hand:<air>?
Is <air> a valid tag?
wait no
it's not
So should it be item[air] or material[air]?
Im guesing item. Would make more sense
Probably read my answer again
so <item[air]>? That's what I'm getting from your response
bcs you're putting an item in their hand, not a material
Returns an item object constructed from the input value.
Refer to !objecttype ItemTag.
ItemTag
Yeah, it's a constructor tag that creates an item from the value.
Yes
aha
An item name such as air would be, since denizen tries to parse the value into an item automatically, thus why a constructor is redundant.
it didn't autocomplete like that so I wasnt sure if it was right