- check_circle Functions
Published Jul 29th, 2021, 7/29/21 1:48 pm
- 12,966 views, 2 today
- 2,678 downloads, 0 today
89
Armor to Elytra v 1.0.1
Armor to Elytra is a datapack that allows the player to apply their armor enchantments and attributes (Armor amount / toughness / knockback resistance ) to their elytra using an anvil.
How to use:
Throw an elytra on top of an anvil, right click it with a chestplate / tunic of choice, and pick it up for your new armored elytra!
- By ArwenOC
Armor to Elytra is a datapack that allows the player to apply their armor enchantments and attributes (Armor amount / toughness / knockback resistance ) to their elytra using an anvil.
How to use:
Throw an elytra on top of an anvil, right click it with a chestplate / tunic of choice, and pick it up for your new armored elytra!
- By ArwenOC
Compatibility | Minecraft 1.17 |
to | Minecraft 1.18 |
Tags |
1 Update Logs
1.0.1 : by ArwenOC 07/29/2021 4:12:55 pmJul 29th, 2021
+ Bugfix: - fixed critical error that made the pack only useable in the 10 blocks around 0,0
5234563
119
Create an account or sign in to comment.
If I told you the problem it's not to insult you or anything like that but for you to be able to do better
And how do you take off?
advencemet that detect if you die + advencement that detect if you drop an item (inventory change + condition of having an item in a 1 block range)
both of thoses advencement have for reward the same function witch:
-revoke the both of the advencement advencements (else it will be a single use)
-execute as every netherite elytra that don't have a certain tag another function
what the second function does is:
-giving them the certain tag
-changing the data "Invulnerable" of the item to 1b
an exemple of how it can be: (what is between # and & is what you can change the name of)
in the advencement file:
"criteria": {
"#loot&": {
"trigger": "minecraft:inventory_changed",
"conditions": {}
}
},
"requirements": [
[
"@e[type=item,nbt={Item:[id:\"minecraft:elytra\",tag=#netherite_elytra&],distance=..1}"
]
],
"rewards": {
"function": "#namespace:netherite_drop&"
}
}
"criteria": {
"requirement": {
"trigger": "minecraft:entity_killed_player"
}
},
"requirements": [
[
"@e[type=item,nbt={Item:[id:\\\"minecraft:elytra\\\",tag=#netherite_elytra&],distance=..1}"
]
],
"rewards": {
"function": "#namespace:netherite_drop&"
}
}
in the functions file
advencement revoke only #namespace:death&
execute as @e[type=item,nbt={Item:[id:"minecraft:elytra",tag="#netherite_elytra&]},tag=!#lava&] run function #namespace:lava%
data merge entity @s {Invulnerable:1b}
(there is some easier way to do it but they are well less optimised cause they use the main/tick.mcfunction witch is one of the less optimised file in a datapack (cause it executed 20 times per tick))