Is Ore
The arc:is_ore condition type checks if a block is considered an ore. This includes blocks in the forge:ores and c:ores tags, as well as minecraft:ancient_debris and blocks that drop experience.
Parameters
This condition type does not have any parameters.
Example
The following example doubles the experience dropped when a player breaks any ore.
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_break_block",
"conditions": [
{
"type": "arc:is_ore"
}
],
"rewards": [
{
"type": "arc:exp_multiplier",
"multiplier": 2
}
]
}
Compatible Action Types
⛏️ On Break Block
The arc:onbreakblock action type is triggered when a player breaks a block.
🧪 On Brew Potion
The arc:onbrewpotion action type is triggered when a player brews a potion.
🪣 On Empty Bucket
The arc:onemptybucket action type is triggered when a player places a liquid or fish from a bucket.
💧 On Fill Bucket
The arc:onfillbucket action type is triggered when a player picks up a liquid or fish with a bucket.
⚡ On Get Destroy Speed
The arc:ongetdestroy_speed action type is triggered when a player is determining how quickly they can break a block. This action type allows you to modify the destroy speed based on various conditions.
🌾 On Harvest Crop
The arc:onharvestcrop action type is triggered when a player harvests a crop.
🖱️ On Interact Block
The arc:oninteractblock action type is triggered when a player interacts with a block, such as right-clicking it.
🧱 On Place Block
The arc:onplaceblock action type is triggered when a player places a block.
🌱 On Plant Crop
The arc:onplantcrop action type is triggered when a player plants a crop.
🎣 On Rod Reel In
The arc:onrodreel_in action type is triggered when a player reels in a fishing rod.
🔥 On Smelt Item
The arc:onsmeltitem action type is triggered when a player takes an item out of a furnace, smoker, or blast furnace. Just like experience orbs in vanilla Minecraft, this action also counts the items that are taken out with a hopper. As long as the player takes out one of the smelted items, the action will be triggered. The action is called for every item smelted individually, regardless of how many are taken out at once.
🪵 On Strip Log
The arc:onstriplog action type is triggered when a player strips a log or wood block using an axe.
🌿 On Till Soil
The arc:ontillsoil action type is triggered when a player uses a hoe on a dirt-like block to create farmland.