This update brings the ability to set the attributes of armor items! Just set "strength" under "armor":
Code (YAML):
# in myCustomArmor.yml
item:
material
:
"minecraft:DIAMOND_CHESTPLATE"
displayName
:
"My Custom Chestplate"
armor
:
# A number from 0 to 100.
# 0 does nothing and 100 makes the player invincible when
# wearing this armor piece.
#
# This adds up with armor pieces. So, if your custom chestplate, leggings, boots, and helmet each had
# strength: 25, wearing the full set would make the user
# invincible
strength
: 10
You can also now use parameters like {target.location.x} and {player.location.world} in the actions "teleportPlayer" and "teleportTarget":
Code (YAML):
action
: teleportPlayer
world
:
{target.location.world
}
locationX
:
{target.location.x
}
locationY
: 100
locationZ
:
{target.location.z
}