ItemsAdderπ
Required ItemsAdder version: 4.0.10 or above
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".
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. |
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. |
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. |
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. |
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. |
conditions:
iaBlock: "itemsAdderBlock itemsadder:ruby_ore 40;72;3;world"