Skip to main content

Get 25% OFF on your first order with BisectHosting using code "DAQEM"!

Full Armor Set

The arc:full_armor_set condition type checks if the player is wearing a specific set of armor in all four slots.

Parameters

ParameterTypeRequiredDefaultDescription
itemsArcItemStack[]Required-List of armor items.
check_componentsbooleanOptionaltrueWhether to check components.

Example

The following example grants resistance when wearing full iron armor.

data/my_datapack/arc/iron_resistance.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_get_hurt",
"conditions": [
{
"type": "arc:full_armor_set",
"items": [
"minecraft:iron_helmet",
"minecraft:iron_chestplate",
"minecraft:iron_leggings",
"minecraft:iron_boots"
]
}
],
"rewards": [
{
"type": "arc:damage_multiplier",
"multiplier": 0.5
}
]
}

Compatible Action Types