Edited power "frail_flight"
Changed "frail_flight" to be a "origins:multiple" and added it preventing the usage of fireworks. This should block all elytra boosting.main
parent
3c46d500b0
commit
a575422b5d
@ -1,11 +1,23 @@
|
|||||||
{
|
{
|
||||||
"type": "origins:elytra_flight",
|
"type": "origins:multiple",
|
||||||
"name": "Frail Flight",
|
"name": "Frail Flight",
|
||||||
"description": "Able to use your wings to glide but only when you're not hurt.",
|
"description": "Able to use your wings to glide but only when you're not hurt.",
|
||||||
"render_elytra": true,
|
"frail_flight": {
|
||||||
"condition": {
|
"type": "origins:elytra_flight",
|
||||||
"type": "origins:health",
|
"render_elytra": true,
|
||||||
"comparison": ">=",
|
"condition": {
|
||||||
"compare_to": 20
|
"type": "origins:health",
|
||||||
|
"comparison": ">=",
|
||||||
|
"compare_to": 20
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"prevent_boost": {
|
||||||
|
"type": "origins:prevent_item_use",
|
||||||
|
"item_condition": {
|
||||||
|
"type": "origins:ingredient",
|
||||||
|
"ingredient": {
|
||||||
|
"item": "minecraft:firework_rocket"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue