跳到主要内容

Use Mmoitem Event

Use MMOItem Event

字段

字段类型默认值描述
itemsList<MMOItemIdentifier>emptyList of MMOItems to detect. Leave empty to detect any item.
MMOItemIdentifier(1)
字段类型默认值描述
typeVar<MMOItemType>—MMOItems type (e.g., SWORD, ARMOR)
detectRightClickBooleantrueWhether to detect right-click interactions (consumables like spawn eggs, papers, etc.)
detectConsumeBooleantrueWhether to detect vanilla eating/drinking (food items)
TypeWriter 通用字段(triggers)
字段类型默认值描述
triggersList<Ref<TriggerableEntry>>empty—