ItemsAdder
Compatibility with ItemsAdder
Conditions
Section titled “Conditions”iaBlock
Checks if a specific ItemsAdder block exists at the given location.
# iaBlock <blockId> <x;y;z;world>
conditions: hasRubyOre: iaBlock namespace:ruby_ore 40;72;3;worldEvents
Section titled “Events”iaBlockAt
Changes the block at the specified location to an ItemsAdder block.
iaPlayAnimation
Plays a custom ItemsAdder animation.
| Parameter | Syntax | Default | Description |
|---|---|---|---|
blockId | namespace:ruby_ore | Required | The ItemsAdder block ID |
location | x;y;z;world | Required | Coordinates and world where block is placed |
animation | ruby_shine | Optional | Animation ID (used in iaPlayAnimation) |
# iaBlockAt <blockId> <x;y;z;world># iaPlayAnimation <animationID>
events: placeRubyOre: iaBlockAt namespace:ruby_ore 40;72;3;world playShine: iaPlayAnimation ruby_shineObjectives
Section titled “Objectives”- For Blocks:
iaBlockBreak,iaBlockPlace,iaBlockInteract - For Furniture:
nxFurnitureBreak,nxFurniturePlace,nxFurnitureInteract
Players must break, place, or interact with a number of specified ItemsAdder blocks or furniture.
| Parameter | Syntax | Default | Description |
|---|---|---|---|
blockId | namespace:ruby_ore | Required | The ItemsAdder block ID |
amount | amount:x | 1 | Number of blocks to break or place |
notify | notify:number | Disabled | Notify player with a message (1 to enable) |
# iaBlockPlace <blockId> [amount:x] [notify:number]# iaBlockBreak <blockId> [amount:x] [notify:number]
objectives: placeRubyOre: iaBlockPlace namespace:ruby_ore amount:3 breakRubyOre: iaBlockBreak namespace:ruby_ore amount:5 notify:1Define ItemsAdder items in BetonQuest using the ia prefix followed by the full item ID.
# ia namespace:id
items: iaItem: ia namespace:ruby
conditions: hasIaItem: item iaItem
events: giveIaItem: give iaItem