On Armor Stand - on Manipulate (Event) — Lusk

Addon: Lusk · Category: Event · Since: 1.1.1

Syntax

[on] armor[ |-]stand [%-*equipmentslots%] %-*armorstandinteractions%

Description

Called when a player interacts with an armor stand and will either swap, retrieve, place an item.

`event-equipmentslot` is the clicked slot of the armor stand, to get the hand use the Used Hand expression `event-entity` is the armor stand

`past event-item` is the item the armor stand is holding `future event-item` (or `event-item`) is the item the player is holding

`event-armorstand interaction` is the type of manipulation that's happening during the event (NOTE: this will only ever return `Place`, `Retrieve` or `Change`)

Event Values

  • event-armorstandinteraction
  • event-entity
  • event-equipmentslot
  • event-itemstack
  • event-itemtype
  • event-livingentity
  • event-player
  • event-world
  • future event-itemtype

Examples

on armor stand chest slot retrieve;
    broadcast event-item and event-equipmentslot

View source