๐ ItemsAdder
This page covers the compatibility with ItemsAdder.
Actionsโ
Set Blockโ
Places a specific ItemsAdder block at a designated location.
Syntax: itemsAdderBlockAt <id> <location>
Set Furnitureโ
Places specific ItemsAdder furniture at a designated location.
Syntax: itemsAdderFurnitureAt <id> <location>
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| id | namespace:id | none | The unique identifier (ID) of the block or furniture to be spawned. |
| location | Location | none | The coordinates where the object will be placed |
actions:
setIABlock: itemsAdderBlockAt iasurvival:ruby_block 0;-60;0;world
setIAFurniture: itemsAdderFurnitureAt iaalchemy:chair 0;-60;0;world
Play Animationโ
Plays a specific animated title on the player's screen.
Syntax: itemsAdderPlayAnimation <id>
action:
playIAAnimation: itemsAdderPlayAnimation animationID
Conditionsโ
Check Blockโ
Checks if a specific ItemsAdder block exists at a designated location.
Syntax: itemsAdderBlock <id> <location>
Check Furnitureโ
Checks if a specific ItemsAdder furniture exists at a designated location.
Syntax: itemsAdderFurniture <id> <location>
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| id | namespace:id | none | The unique identifier (ID) of the block or furniture to be spawned. |
| location | Location | none | The coordinates where the object will be placed |
conditions:
isIABlock: itemsAdderBlock iasurvival:ruby_block 0;-60;0;world
isIAFurniture: itemsAdderFurniture iaalchemy:chair 0;-60;0;world
Objectivesโ
Blockโ
Triggers when a player interacts with ItemsAdder block (Place, Break, or Interact).
Syntax:
itemsAdderBlockPlace <id> [amount] [isCancelled] [location] [range]itemsAdderBlockBreak <id> [amount] [isCancelled] [location] [range]itemsAdderBlockInteract <id> [amount] [isCancelled] [location] [range]
Furnitureโ
Triggers when a player interacts with ItemsAdder furniture (Place, Break, or Interact).
Syntax:
itemsAdderFurniturePlace <id> [amount] [isCancelled] [location] [range]itemsAdderFurnitureBreak <id> [amount] [isCancelled] [location] [range]itemsAdderFurnitureInteract <id> [amount] [isCancelled] [location] [range]
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| id | namespace:id | none | The unique identifier (ID) of the block or furniture to be spawned. |
| amount | amount:Int | 1 | The number of times the action must be performed. |
| location | location:Location | everywhere | The specific location where the block or furniture must be located. |
| range | range:Double | 0 | The maximum distance (in blocks) from the location within which the action is counted. |
objectives:
placeRubyBlock: itemsAdderBlockPlace iasurvival:ruby_block
breakEndTable: itemsAdderFurnitureBreak iaalchemy:chair amount:2
useLamp: itemsAdderFurnitureInteract iaalchemy:lamp isCancelled:true
Itemsโ
ItemsAdder usage is integrated to the Items system and thus used for events and conditions.
In addition, you can also add quest-item argument to tag them as "QuestItem".
items:
forestTrident: ItemsAdder forest_trident
tableLamp: ItemsAdder table_lamp quest-item
conditions:
hasForestTrident: hand forestTrident
actions:
giveTableLamp: give tableLamp:3