Skip to content

ItemsAdder🔗

Minimal required version: 4.0.17

Items🔗

ItemsAdder🔗

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".

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

Actions🔗

ItemsAdderAnimation🔗

Context:
Syntax: itemsadderanimation <animationId>
Description: Plays an ItemsAdder totem animation.

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

ItemsAdderBlock🔗

Context:
Syntax: itemsadderblock <itemId> <location>
Description: 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.
Examples
actions:
  iaSetBlock: "itemsAdderBlock itemsadder:ruby_ore 100;200;300;world"

Objectives🔗

ItemsAdderBlockBreak🔗

Context:
Syntax: itemsadderblockbreak <itemId> <amount>
Description: The 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.
Examples
objectives:
  iaBreak: "itemsAdderBlockBreak itemsadder:ruby_ore amount:20 notify:5"

ItemsAdderBlockPlace🔗

Context:
Syntax: itemsadderblockplace <itemId> <amount>
Description: The 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.
Examples
objectives:
  iaPlace: "itemsAdderBlockPlace iasurvival:restoration_table"

Conditions🔗

ItemsAdderBlock🔗

Context:
Syntax: itemsadderblock <itemId> <location>
Description: Whether 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.
Examples
conditions:
  iaBlock: "itemsAdderBlock itemsadder:ruby_ore 40;72;3;world"