Skip to content

ItemsAdder

Compatibility with ItemsAdder

ItemsAdder Block Condition: 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;world

ItemsAdder Block Event: iaBlockAt
Changes the block at the specified location to an ItemsAdder block.

ItemsAdder Animation Event: iaPlayAnimation
Plays a custom ItemsAdder animation.

ParameterSyntaxDefaultDescription
blockIdnamespace:ruby_oreRequiredThe ItemsAdder block ID
locationx;y;z;worldRequiredCoordinates and world where block is placed
animationruby_shineOptionalAnimation 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_shine

ItemsAdder Block Objectives: iaBlockBreak, iaBlockPlace
Requires players to break or place a specific number of ItemsAdder blocks.

ParameterSyntaxDefaultDescription
blockIdnamespace:ruby_oreRequiredThe ItemsAdder block ID
amountamount:x1Number of blocks to break or place
notifynotify:numberDisabledNotify 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:1

Define 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