Skip to content

ItemsAdderπŸ”—

Required ItemsAdder version: 4.0.10 or above

ItemsπŸ”—

ItemsAdder usage is integrated to the Items system and thus used for actions and conditions.

In addition, you can also add quest-item argument to tag them as "QuestItem".

Example
items:
  ruby: "itemsAdder iasurvival:ruby"
  sword: "itemsAdder iaalchemy:mysterious_sword quest-item"
conditions:
  hasSword: "item sword"
actions:
  giveRuby: "give ruby:3"

ConditionsπŸ”—

Check for block itemsAdderBlockπŸ”—

Check if the ItemsAdder block is at a location.

Parameter Syntax Default Value Explanation
itemId string Identifier of the block to check.
location ULF The location to check the block at.
Example
conditions:
  iaBlock: "itemsAdderBlock itemsadder:ruby_ore 40;72;3;world"

ActionsπŸ”—

Place block itemsAdderBlockπŸ”—

Changes the block at the given position.

Parameter Syntax Default Value Explanation
itemId string Identifier of the block to place.
location ULF The location to place the block at.
Example
actions:
  iaSetBlock: "itemsAdderBlock itemsadder:ruby_ore 100;200;300;world"

Play totem animation itemsAdderAnimationπŸ”—

Plays an ItemsAdder totem animation.

Parameter Syntax Default Value Explanation
animationId string Animation name to play.
Example
actions:
  iaPlayAnimation: "itemsAdderAnimation totem1"

ObjectivesπŸ”—

Break Block itemsAdderBlockBreakπŸ”—

To complete this objective player must break specified amount of ItemsAdder blocks. You can add a notify keyword if you want to send a notification to players whenever the objective progresses.

Parameter Syntax Default Value Explanation
itemId string Identifier of the block to break.
amount amount:number 1 Amount of blocks to break.
Example
objectives:
  iaBreak: "itemsAdderBlockBreak itemsadder:ruby_ore amount:20 notify:5"

Place Block itemsAdderBlockPlaceπŸ”—

To complete this objective player must place specified amount of ItemsAdder blocks. You can add a notify keyword if you want to send a notification to players whenever the objective progresses.

Parameter Syntax Default Value Explanation
itemId string Identifier of the block to place.
amount amount:number 1 Amount of blocks to place.
Example
objectives:
  iaPlace: "itemsAdderBlockPlace iasurvival:restoration_table"