diff --git a/.DS_Store b/.DS_Store index cf975f9..a9bc7dc 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gradle/7.3.1/checksums/checksums.lock b/.gradle/7.3.1/checksums/checksums.lock index 3d75f21..7e99bd0 100644 Binary files a/.gradle/7.3.1/checksums/checksums.lock and b/.gradle/7.3.1/checksums/checksums.lock differ diff --git a/.gradle/7.3.1/executionHistory/executionHistory.bin b/.gradle/7.3.1/executionHistory/executionHistory.bin index b5b7e79..d42d10f 100644 Binary files a/.gradle/7.3.1/executionHistory/executionHistory.bin and b/.gradle/7.3.1/executionHistory/executionHistory.bin differ diff --git a/.gradle/7.3.1/executionHistory/executionHistory.lock b/.gradle/7.3.1/executionHistory/executionHistory.lock index af31df1..e764b1b 100644 Binary files a/.gradle/7.3.1/executionHistory/executionHistory.lock and b/.gradle/7.3.1/executionHistory/executionHistory.lock differ diff --git a/.gradle/7.3.1/fileHashes/fileHashes.bin b/.gradle/7.3.1/fileHashes/fileHashes.bin index 4963902..94e3896 100644 Binary files a/.gradle/7.3.1/fileHashes/fileHashes.bin and b/.gradle/7.3.1/fileHashes/fileHashes.bin differ diff --git a/.gradle/7.3.1/fileHashes/fileHashes.lock b/.gradle/7.3.1/fileHashes/fileHashes.lock index 1b9314b..c7956f0 100644 Binary files a/.gradle/7.3.1/fileHashes/fileHashes.lock and b/.gradle/7.3.1/fileHashes/fileHashes.lock differ diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 7d4e339..fe74b1c 100644 Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/.gradle/buildOutputCleanup/outputFiles.bin b/.gradle/buildOutputCleanup/outputFiles.bin index 9908516..83bcce4 100644 Binary files a/.gradle/buildOutputCleanup/outputFiles.bin and b/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/.gradle/file-system.probe b/.gradle/file-system.probe index 7b8e831..c9b6a77 100644 Binary files a/.gradle/file-system.probe and b/.gradle/file-system.probe differ diff --git a/bin/main/data/.DS_Store b/bin/main/data/.DS_Store index b9991d1..6bbe039 100644 Binary files a/bin/main/data/.DS_Store and b/bin/main/data/.DS_Store differ diff --git a/bin/main/data/aspects/.DS_Store b/bin/main/data/aspects/.DS_Store index 5092451..41065b5 100644 Binary files a/bin/main/data/aspects/.DS_Store and b/bin/main/data/aspects/.DS_Store differ diff --git a/bin/main/data/aspects/origin_layers/origins.json b/bin/main/data/aspects/origin_layers/origins.json index 4ec4035..1ef5425 100644 --- a/bin/main/data/aspects/origin_layers/origins.json +++ b/bin/main/data/aspects/origin_layers/origins.json @@ -22,9 +22,8 @@ }, "origins": [ "aspects:cryo", - "aspects:human", "aspects:altum", - "aspects:aquatillis", + "aspects:imber", "aspects:imp" ] }, diff --git a/bin/main/data/aspects/origins/altum.json b/bin/main/data/aspects/origins/altum.json index be1cc33..f700fb6 100644 --- a/bin/main/data/aspects/origins/altum.json +++ b/bin/main/data/aspects/origins/altum.json @@ -1,16 +1,10 @@ { "powers": [ - "aspects:flower_regen", - "aspects:bonemeal", - "aspects:grass_speed", - "aspects:dendro_primary", - "aspects:dendro_secondary", - "aspects:poison_resistance", - "aspects:suspicious_substance" + ], "icon": { - "item": "minecraft:water_bottle" + "item": "minecraft:snowball" }, - "name": "§3Altum", - "description": "WAaAA." + "name": "§bAltum", + "description": "Far from any source of illumination, darkly lit faces reflect off the spectral ocean's view. The deep sea shines in the eyes of the Altum." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/anemo.json b/bin/main/data/aspects/origins/anemo.json index 384accc..33280cd 100644 --- a/bin/main/data/aspects/origins/anemo.json +++ b/bin/main/data/aspects/origins/anemo.json @@ -12,5 +12,5 @@ "item": "aspects:anemo_feather" }, "name": "§aAnemo", - "description": "Anemo users are light on their feet, freeform in combat and wanderers by nature." + "description": "A lone windwhipped explorer sits perched on a cliffside, a thick book fit for an academic's mind in hand. There they sit, absently watching as the pages flip from the movement of the wind." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/cryo.json b/bin/main/data/aspects/origins/cryo.json index 26440ed..8952407 100644 --- a/bin/main/data/aspects/origins/cryo.json +++ b/bin/main/data/aspects/origins/cryo.json @@ -9,5 +9,5 @@ "item": "minecraft:snowball" }, "name": "§bCryo", - "description": "Cold, calculating and precise, Cryo types always get the job done." + "description": "A lone traveller drags their heels across the frozen lake, their sole companion the red-collared friend trailing behind. Ever-persistent and unbothered by the shards of glass ripping at their skin, the Cryo users are said to be the most resilient of their Aspect." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/dendro.json b/bin/main/data/aspects/origins/dendro.json index fed7dc9..9d06d4a 100644 --- a/bin/main/data/aspects/origins/dendro.json +++ b/bin/main/data/aspects/origins/dendro.json @@ -12,5 +12,5 @@ "item": "minecraft:wheat_seeds" }, "name": "§2Dendro", - "description": "Lovers of art, nature and all things beautiful, Dendro types certainly are a unique breed." + "description": "Lovers of art, nature and all things beautiful, the Dendro people inhabit local forests. Every now and then, a brave adventurer will venture into the woods to witness their song." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/geo.json b/bin/main/data/aspects/origins/geo.json index be9f0f8..659765f 100644 --- a/bin/main/data/aspects/origins/geo.json +++ b/bin/main/data/aspects/origins/geo.json @@ -12,5 +12,5 @@ "item": "aspects:geo_diamond" }, "name": "§eGeo", - "description": "Down-to-earth and grounded, Geo users are all about stability and functionality." + "description": "Tales are told of the rock-people who used to dwell deep below the land, feeding off ore and slate where they could. Creatures of massive size, the people of Geo are more than a legend." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/hydro.json b/bin/main/data/aspects/origins/hydro.json index 5b6a743..5834101 100644 --- a/bin/main/data/aspects/origins/hydro.json +++ b/bin/main/data/aspects/origins/hydro.json @@ -10,5 +10,5 @@ "item": "aspects:hydro_kelp" }, "name": "§9Hydro", - "description": "Fluid and ever-changing, Hydro users are flexible and aware of the intent behind the actions of their enemies in order to better defy them." + "description": "The siren song of the Hydro woman in the depths is echoed throughout deep and shallow waters, whispered to the unlucky sailor lost at sea." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/ignis.json b/bin/main/data/aspects/origins/ignis.json index b3c3c04..7350783 100644 --- a/bin/main/data/aspects/origins/ignis.json +++ b/bin/main/data/aspects/origins/ignis.json @@ -9,5 +9,5 @@ "item": "minecraft:fire_charge" }, "name": "§6Ignis", - "description": "Full of energy and power, Ignis types are certainly the life of the party." + "description": "The true power of flame is revealed in the core of bright, destructive fires that rack the evergreen forests, the simmering airwaves of the driest deserts, and in the hands of the Ignis users." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/imber.json b/bin/main/data/aspects/origins/imber.json new file mode 100644 index 0000000..6b24315 --- /dev/null +++ b/bin/main/data/aspects/origins/imber.json @@ -0,0 +1,14 @@ +{ + "powers": [ + "aspects:rain_strength", + "aspects:magic_damage", + "aspects:imber_primary", + "aspects:imber_secondary", + "aspects:magic_resistance" + ], + "icon": { + "item": "minecraft:bottle" + }, + "name": "§3Imber", + "description": "The gentle drumming of light rain hitting the sullen ground empowers the people of Imber. Inhale, do they, the primal scents of earth and sky, each drop of fresh water absorbed into a generation's spectral veins." +} \ No newline at end of file diff --git a/bin/main/data/aspects/origins/imp.json b/bin/main/data/aspects/origins/imp.json index 2689e19..58e0843 100644 --- a/bin/main/data/aspects/origins/imp.json +++ b/bin/main/data/aspects/origins/imp.json @@ -5,5 +5,5 @@ "item": "minecraft:porkchop" }, "name": "Imp", - "description": "Mere Imps who are derived of an Aspect, but have no Type. How unfortunate." + "description": "Children of the Aspects but unlucky enough to receive a full blessing, the sound of Vacuos echoes through the ordinary bones of the Imps." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/luna.json b/bin/main/data/aspects/origins/luna.json index 62291e5..ba5af0d 100644 --- a/bin/main/data/aspects/origins/luna.json +++ b/bin/main/data/aspects/origins/luna.json @@ -11,5 +11,5 @@ "item": "minecraft:lily_of_the_valley" }, "name": "§7Luna", - "description": "Quiet, spectral beings, Luna types possess great magical power that shifts based on the phase of the moon." + "description": "The Luna users are beings of such beauty that it is perceived by the magicless as the result of the blood of the otherworldly." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/magmus.json b/bin/main/data/aspects/origins/magmus.json index 3599cf1..efd2051 100644 --- a/bin/main/data/aspects/origins/magmus.json +++ b/bin/main/data/aspects/origins/magmus.json @@ -10,5 +10,5 @@ "item": "minecraft:magma_block" }, "name": "§4Magmus", - "description": "The most physically strong of the Pyro aspect, Magmus users are juggernauts in nature." + "description": "Juggernauts - the strongest of warriors, the steadfast heroes, Magmus users whisper of the oozing lava slipping between volcanic rock." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/navitas.json b/bin/main/data/aspects/origins/navitas.json index 898f4c8..37f1c42 100644 --- a/bin/main/data/aspects/origins/navitas.json +++ b/bin/main/data/aspects/origins/navitas.json @@ -9,5 +9,5 @@ "item": "minecraft:firework_star" }, "name": "§eNavitas", - "description": "Navitas users are real firecrackers, and always seem to have a trick hidden up their sleeve." + "description": "To be a meddler is all but petty to the Navitas - it is a brave trait to have the gull to stand up to the unhumorous and boastful upperclassman." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/ordo.json b/bin/main/data/aspects/origins/ordo.json index 3ee0dd3..9124464 100644 --- a/bin/main/data/aspects/origins/ordo.json +++ b/bin/main/data/aspects/origins/ordo.json @@ -13,5 +13,5 @@ "item": "aspects:ordo_star" }, "name": "Ordo", - "description": "Vigilant and organized, Ordo users are kind, diligent and natural leaders." + "description": "Tales of old speak of mages and paladins with healing properties and the power of light in their palms, besting their foes and aiding allies in need." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/perditio.json b/bin/main/data/aspects/origins/perditio.json index e31ae00..1c3d2ea 100644 --- a/bin/main/data/aspects/origins/perditio.json +++ b/bin/main/data/aspects/origins/perditio.json @@ -13,5 +13,5 @@ "item": "aspects:perditio_bone" }, "name": "§4Perditio", - "description": "Shrouded in darkness and mystery, Perditio users are unique magical beings said to be derived from the void." + "description": "Shrouded in darkness and mystery, Perditio users are said to have bones derived from the void, their ancestors the creators of the worlds." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/pyro.json b/bin/main/data/aspects/origins/pyro.json index 5cf551b..b7c728d 100644 --- a/bin/main/data/aspects/origins/pyro.json +++ b/bin/main/data/aspects/origins/pyro.json @@ -13,5 +13,5 @@ "item": "aspects:pyro_fire" }, "name": "§cPyro", - "description": "Pyro users are certainly lively. The rebels of the group, they are always brimming with new ideas and drive for adventure." + "description": "A new adventure awaits the seasoned traveller, one who seems to never tire of the endless paths they travel. After a long day of trudging through harsh terrain, a seat by the light of the campfire is most comforting." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/solus.json b/bin/main/data/aspects/origins/solus.json index 431cbea..56be67d 100644 --- a/bin/main/data/aspects/origins/solus.json +++ b/bin/main/data/aspects/origins/solus.json @@ -11,5 +11,5 @@ "item": "minecraft:sunflower" }, "name": "§6Solus", - "description": "Bold and egotistical, Solus types are as bright as the sun. Paladins, warriors and priests, these types are always in the action." + "description": "Sons, daughters and children of the bright solar divinity themselves, Solus users hold the power of the universe's light within them." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/tempus.json b/bin/main/data/aspects/origins/tempus.json index c11ab7f..3fd2607 100644 --- a/bin/main/data/aspects/origins/tempus.json +++ b/bin/main/data/aspects/origins/tempus.json @@ -9,5 +9,5 @@ "item": "minecraft:amethyst_shard" }, "name": "§5Tempus", - "description": "Dark minds crackling and churning, Tempus types always have a storm brewing in their heads." + "description": "Dark minds crackling and churning, Tempus types have always been misunderstood by the rest. Crowds gather and watch in horror as lightning explodes across the sky, thunder booming from above. The Tempus user stands unafraid at the top of the hill, watching as a storm approaches the horizon." } \ No newline at end of file diff --git a/bin/main/data/aspects/origins/vacuos.json b/bin/main/data/aspects/origins/vacuos.json index 6d1cf3d..5206b9d 100644 --- a/bin/main/data/aspects/origins/vacuos.json +++ b/bin/main/data/aspects/origins/vacuos.json @@ -5,5 +5,5 @@ "item": "minecraft:bedrock" }, "name": "Vacuos", - "description": "Devoid of any Aspect, Vacuos are beings of nothingness." + "description": "Devoid of any Aspect, the origins of Vacuos are unknown. Strange beings, outcast by the rest." } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/cryo_primary.json b/bin/main/data/aspects/powers/cryo_primary.json index 993c7cd..f3962bb 100644 --- a/bin/main/data/aspects/powers/cryo_primary.json +++ b/bin/main/data/aspects/powers/cryo_primary.json @@ -32,7 +32,7 @@ }, "key":"key.origins.ternary_active", "name":"Freeze Focus", - "description":"When pressing the respective key, you will fire a ray of ice in the direction you are facing that will deal freeze damage to the target and freeze over ice on impact." + "description":"When pressing the [Ternary] key, you will fire a ray of ice in the direction you are facing that will deal freeze damage to the target and freeze over water on impact." } diff --git a/bin/main/data/aspects/powers/cryo_secondary.json b/bin/main/data/aspects/powers/cryo_secondary.json index 9d78136..8d2109c 100644 --- a/bin/main/data/aspects/powers/cryo_secondary.json +++ b/bin/main/data/aspects/powers/cryo_secondary.json @@ -37,6 +37,6 @@ "key": "key.origins.quaternary_active" }, "name":"Icy Aura", - "description":"With your secondary key, you can deal freeze damage to those around you within an 8 block radius." + "description":"With your [Quaternary] key, you can deal freeze damage to those around you within an 8 block radius." } diff --git a/bin/main/data/aspects/powers/dendro_primary.json b/bin/main/data/aspects/powers/dendro_primary.json index 28545db..8fbda14 100644 --- a/bin/main/data/aspects/powers/dendro_primary.json +++ b/bin/main/data/aspects/powers/dendro_primary.json @@ -19,5 +19,5 @@ }, "key":"key.origins.ternary_active", "name":"Poison Cloud", - "description":"As your primary ability, you can spawn a poison cloud around you." + "description":"As your primary ability, you can spawn a poison cloud around you with your [Ternary] key." } diff --git a/bin/main/data/aspects/powers/dendro_secondary.json b/bin/main/data/aspects/powers/dendro_secondary.json index 1d621f4..4fce43c 100644 --- a/bin/main/data/aspects/powers/dendro_secondary.json +++ b/bin/main/data/aspects/powers/dendro_secondary.json @@ -15,5 +15,5 @@ "key": "key.origins.quaternary_active" }, "name":"Friendly Assistance", - "description":"As your secondary ability, you can spawn in an Iron Golem to help you fight off enemies." + "description":"As your secondary ability, you can spawn in an Iron Golem to help you fight off enemies with your [Quaternary] key." } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/explosion_immunity.json b/bin/main/data/aspects/powers/explosion_immunity.json index ef0eb8f..1a6bcbb 100644 --- a/bin/main/data/aspects/powers/explosion_immunity.json +++ b/bin/main/data/aspects/powers/explosion_immunity.json @@ -9,5 +9,11 @@ "value": -1000 }, "name":"Explosion Immunity", - "description":"Explosions don't hurt you." + "description":"Explosions don't hurt you.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/ignis_primary.json b/bin/main/data/aspects/powers/ignis_primary.json index 11344b6..9717cad 100644 --- a/bin/main/data/aspects/powers/ignis_primary.json +++ b/bin/main/data/aspects/powers/ignis_primary.json @@ -21,5 +21,5 @@ }, "key":"key.origins.ternary_active", "name":"Ignition", - "description":"Using your primary active ability, you can light yourself on fire for a short duration, granting you an attack buff." + "description":"Using your primary active ability, you can light yourself on fire for a short duration, granting you an attack buff with your [Ternary] key." } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/ignis_secondary.json b/bin/main/data/aspects/powers/ignis_secondary.json index 71d8bdc..6b56932 100644 --- a/bin/main/data/aspects/powers/ignis_secondary.json +++ b/bin/main/data/aspects/powers/ignis_secondary.json @@ -33,5 +33,5 @@ "key": "key.origins.quaternary_active", "cooldown": 1400, "name":"Ring of Fire", - "description":"As your secondary ability, you can light entities around you on fire for a few seconds." + "description":"As your secondary ability, you can light entities around you on fire for a few seconds with your [Quaternary] key." } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/imber_primary.json b/bin/main/data/aspects/powers/imber_primary.json new file mode 100644 index 0000000..b90202e --- /dev/null +++ b/bin/main/data/aspects/powers/imber_primary.json @@ -0,0 +1,6929 @@ +{ + "type": "origins:active_self", + "entity_action": + { + "type": "origins:if_else_list", + "actions": + [ + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:sugar" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:rabbit_foot" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glistering_melon_slice" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:pufferfish" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:golden_carrot" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:magma_cream" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:blaze_powder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:ghast_tear" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:turtle_helmet" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:phantom_membrane" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:or", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + } + ] + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:fermented_spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:or", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + } + ] + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:fermented_spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:fermented_spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone_dust" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:fermented_spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_weakness\"}" + } + } + ] + } + } + ] + }, + "cooldown": 0, + "hud_render": + { + "should_render": false + }, + "key": + { + "key": "key.origins.ternary_active" + }, + "name": "Portable Brewing", + "description": "[Ternary] You are able to brew on the go." +} diff --git a/bin/main/data/aspects/powers/imber_secondary.json b/bin/main/data/aspects/powers/imber_secondary.json new file mode 100644 index 0000000..9b3fd2a --- /dev/null +++ b/bin/main/data/aspects/powers/imber_secondary.json @@ -0,0 +1,11 @@ +{ + "type": "origins:toggle", + "key": { + "key":"key.origins.quaternary_active", + "continuous": false + }, + + "retain_state": false, + "name":"Cloaked", + "description":"You may go invisible for as long as you want, toggled with your [Quaternary] key. Disabled when you're lit on fire." +} \ No newline at end of file diff --git a/bin/main/data/aspects/powers/impish_speed.json b/bin/main/data/aspects/powers/impish_speed.json index 7903c12..93bc76b 100644 --- a/bin/main/data/aspects/powers/impish_speed.json +++ b/bin/main/data/aspects/powers/impish_speed.json @@ -6,7 +6,7 @@ "operation": "addition" }, "name":"Impish Speed", - "description":"Being a devillish little bugger has given you the speed to run away from your angered prank victims.", + "description":"Being a devilish little bugger has given you the speed to run away from your angered prank victims.", "badges": [ { "sprite": "aspects:textures/gui/badge/check.png", diff --git a/bin/main/data/aspects/powers/invisibility2.json b/bin/main/data/aspects/powers/invisibility2.json new file mode 100644 index 0000000..7e91df6 --- /dev/null +++ b/bin/main/data/aspects/powers/invisibility2.json @@ -0,0 +1,9 @@ +{ + "type": "origins:invisibility", + "render_armor": true, + "condition": { + "type": "origins:power_active", + "power": "aspects:imber_secondary" + }, + "hidden":true + } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/knockback_resistance.json b/bin/main/data/aspects/powers/knockback_resistance.json index 23726f3..c8898df 100644 --- a/bin/main/data/aspects/powers/knockback_resistance.json +++ b/bin/main/data/aspects/powers/knockback_resistance.json @@ -7,5 +7,11 @@ "operation": "addition" }, "name":"Stable Footing", - "description":"Knockback doesn't bother you." + "description":"Knockback doesn't bother you.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/luna_primary.json b/bin/main/data/aspects/powers/luna_primary.json index eabe7a2..0a62dc3 100644 --- a/bin/main/data/aspects/powers/luna_primary.json +++ b/bin/main/data/aspects/powers/luna_primary.json @@ -7,5 +7,5 @@ "retain_state": false, "name":"Invisibility", - "description":"As your primary ability, you can toggle invisibility. Deactivates when you are on fire." + "description":"As your primary ability, you can toggle invisibility with your [Ternary] key. Deactivates when you are on fire." } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/luna_secondary.json b/bin/main/data/aspects/powers/luna_secondary.json index e56bed0..8a7cc37 100644 --- a/bin/main/data/aspects/powers/luna_secondary.json +++ b/bin/main/data/aspects/powers/luna_secondary.json @@ -21,5 +21,5 @@ "key": "key.origins.quaternary_active" }, "name":"Dark Shroud", - "description":"With your secondary ability, you can disperse a shroud of wither." + "description":"With your secondary ability, you can disperse a shroud of wither with your [Quaternary] key." } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/magic_damage.json b/bin/main/data/aspects/powers/magic_damage.json new file mode 100644 index 0000000..e89a051 --- /dev/null +++ b/bin/main/data/aspects/powers/magic_damage.json @@ -0,0 +1,19 @@ +{ + "type": "origins:action_on_hit", + "bientity_action": { + "type": "origins:damage", + "amount": 0.5, + "source": { + "name": "indirectMagic", + "magic":true + } + }, + "name":"Magic Damage", + "description":"All of your attacks do magic damage.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] +} \ No newline at end of file diff --git a/bin/main/data/aspects/powers/magic_resistance.json b/bin/main/data/aspects/powers/magic_resistance.json new file mode 100644 index 0000000..01e4b40 --- /dev/null +++ b/bin/main/data/aspects/powers/magic_resistance.json @@ -0,0 +1,20 @@ +{ + "type": "origins:modify_damage_taken", + "damage_condition": { + "type": "origins:name", + "name": "indirectMagic" + }, + "modifier": { + "name": "Weak to cursed items", + "operation": "addition", + "value": -10 + }, + "name":"Magic Resistance", + "description":"When hit by thrown potions, it barely affects you.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] +} \ No newline at end of file diff --git a/bin/main/data/aspects/powers/magma_regen.json b/bin/main/data/aspects/powers/magma_regen.json index ee9367a..c51b39c 100644 --- a/bin/main/data/aspects/powers/magma_regen.json +++ b/bin/main/data/aspects/powers/magma_regen.json @@ -13,5 +13,11 @@ } }, "name":"Back to the Source", - "description":"As a being of magma, standing on magma blocks gives you regeneration." + "description":"As a being of magma, standing on magma blocks gives you regeneration.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] } diff --git a/bin/main/data/aspects/powers/melt.json b/bin/main/data/aspects/powers/melt.json index 1dfe1aa..b46d5f5 100644 --- a/bin/main/data/aspects/powers/melt.json +++ b/bin/main/data/aspects/powers/melt.json @@ -31,6 +31,7 @@ } ] } + } }, "name":"Hot Feet", "description":"Ice and snow underneath you will melt.", @@ -40,5 +41,4 @@ "text": "Neutral" } ] - } } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/navitas_primary.json b/bin/main/data/aspects/powers/navitas_primary.json index a991e5e..7b6cd58 100644 --- a/bin/main/data/aspects/powers/navitas_primary.json +++ b/bin/main/data/aspects/powers/navitas_primary.json @@ -16,5 +16,5 @@ }, "key":"key.origins.ternary_active", "name":"Boom!", - "description":"Boom! Explode the area you're standing on. Pow!" + "description":"Boom! Explode the area you're standing on with your [Ternary] key. Pow!" } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/navitas_secondary.json b/bin/main/data/aspects/powers/navitas_secondary.json index 1a9ef0b..f6e391a 100644 --- a/bin/main/data/aspects/powers/navitas_secondary.json +++ b/bin/main/data/aspects/powers/navitas_secondary.json @@ -22,7 +22,7 @@ "key": "key.origins.quaternary_active", "cooldown": 1400, "name":"Bam", - "description":"Using your evil little powers, you can grant yourself exactly eight precious blocks to TNT and eight weapons of destruction - fire charges.", + "description":"Using your evil little powers ([Quaternary Key]), you can grant yourself exactly eight precious blocks to TNT and eight weapons of destruction - fire charges.", "hud_render": { "inverted":true, "sprite_location":"origins:textures/gui/community/huang/resource_bar_02.png", diff --git a/bin/main/data/aspects/powers/rain_strength.json b/bin/main/data/aspects/powers/rain_strength.json new file mode 100644 index 0000000..536fe37 --- /dev/null +++ b/bin/main/data/aspects/powers/rain_strength.json @@ -0,0 +1,23 @@ +{ + "type": "origins:action_over_time", + "entity_action": { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:strength", + "duration": 400, + "amplifier": 2 + } + }, + "interval": 20, + "condition": { + "type": "origins:in_rain" + }, + "name":"Rain Strength", + "description":"You get strength when in rain.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] +} \ No newline at end of file diff --git a/bin/main/data/aspects/powers/solus_primary.json b/bin/main/data/aspects/powers/solus_primary.json index f0173b8..e6d9c96 100644 --- a/bin/main/data/aspects/powers/solus_primary.json +++ b/bin/main/data/aspects/powers/solus_primary.json @@ -25,5 +25,5 @@ }, "key":"key.origins.ternary_active", "name":"Solar Revealing", - "description":"All entities within a 40 block radius of you will be highlighted with your primary ability. What an eyesore." + "description":"All entities within a 40 block radius of you will be highlighted with your primary ability [Ternary] key. What an eyesore." } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/solus_secondary.json b/bin/main/data/aspects/powers/solus_secondary.json index e433732..deffe7d 100644 --- a/bin/main/data/aspects/powers/solus_secondary.json +++ b/bin/main/data/aspects/powers/solus_secondary.json @@ -48,5 +48,5 @@ "key": "key.origins.quaternary_active" }, "name":"Icarus", - "description":"Send all surrounding enemies multiple blocks into the air, and then light them on fire. They shouldn't have strayed so close to the sun!" + "description":"Send all surrounding enemies multiple blocks into the air, and then light them on fire with your [Quaternary] key. They shouldn't have strayed so close to the sun!" } \ No newline at end of file diff --git a/bin/main/data/aspects/powers/tempus_primary.json b/bin/main/data/aspects/powers/tempus_primary.json index 5f8dfb6..c3ef35d 100644 --- a/bin/main/data/aspects/powers/tempus_primary.json +++ b/bin/main/data/aspects/powers/tempus_primary.json @@ -30,6 +30,6 @@ }, "key":"key.origins.ternary_active", "name":"Lightning Bolt", - "description":"When pressing the respective key, you will summon a lightning bolt at the block or entity you are looking at, doing damage and setting nearby blocks on fire as well." + "description":"When pressing the [Ternary] key, you will summon a lightning bolt at the block or entity you are looking at, doing damage and setting nearby blocks on fire as well." } diff --git a/bin/main/data/aspects/powers/tempus_secondary.json b/bin/main/data/aspects/powers/tempus_secondary.json index 428e62f..f11c06c 100644 --- a/bin/main/data/aspects/powers/tempus_secondary.json +++ b/bin/main/data/aspects/powers/tempus_secondary.json @@ -54,5 +54,5 @@ "key": "key.origins.quaternary_active", "cooldown": 400, "name":"Raging Gales", - "description":"As your secondary ability, you can push enemies away by a few blocks whilst healing yourself and dealing damage to others." + "description":"As your secondary ability, you can push enemies away by a few blocks whilst healing yourself and dealing damage to others with your [Quaternary] key." } \ No newline at end of file diff --git a/build/.DS_Store b/build/.DS_Store index a7c1afd..ae3ff05 100644 Binary files a/build/.DS_Store and b/build/.DS_Store differ diff --git a/build/libs/aspects-1.0.3-dev.jar b/build/libs/aspects-1.0.3-dev.jar new file mode 100644 index 0000000..6a2df65 Binary files /dev/null and b/build/libs/aspects-1.0.3-dev.jar differ diff --git a/build/libs/aspects-1.0.3-sources-dev.jar b/build/libs/aspects-1.0.3-sources-dev.jar new file mode 100644 index 0000000..589183b Binary files /dev/null and b/build/libs/aspects-1.0.3-sources-dev.jar differ diff --git a/build/libs/aspects-1.0.3-sources.jar b/build/libs/aspects-1.0.3-sources.jar new file mode 100644 index 0000000..2715b43 Binary files /dev/null and b/build/libs/aspects-1.0.3-sources.jar differ diff --git a/build/libs/aspects-1.0.3.jar b/build/libs/aspects-1.0.3.jar new file mode 100644 index 0000000..1eb772f Binary files /dev/null and b/build/libs/aspects-1.0.3.jar differ diff --git a/build/resources/main/fabric.mod.json b/build/resources/main/fabric.mod.json index 7755493..32cd491 100644 --- a/build/resources/main/fabric.mod.json +++ b/build/resources/main/fabric.mod.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "id": "aspects", - "version": "1.0.2", + "version": "1.0.3", "name": "Aspects", "description": "This is an example description! Tell everyone what your mod is about!", diff --git a/gradle.properties b/gradle.properties index 09d2007..9ddcc21 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G loader_version=0.12.10 # Mod Properties - mod_version = 1.0.2 + mod_version = 1.0.3 maven_group = com.example archives_base_name = aspects origins_version=v1.3.0 diff --git a/run/.DS_Store b/run/.DS_Store index 0dae047..f00e08e 100644 Binary files a/run/.DS_Store and b/run/.DS_Store differ diff --git a/src/main/resources/data/.DS_Store b/src/main/resources/data/.DS_Store index b9991d1..6bbe039 100644 Binary files a/src/main/resources/data/.DS_Store and b/src/main/resources/data/.DS_Store differ diff --git a/src/main/resources/data/aspects/.DS_Store b/src/main/resources/data/aspects/.DS_Store index 5092451..41065b5 100644 Binary files a/src/main/resources/data/aspects/.DS_Store and b/src/main/resources/data/aspects/.DS_Store differ diff --git a/src/main/resources/data/aspects/origin_layers/origins.json b/src/main/resources/data/aspects/origin_layers/origins.json index 4ec4035..1ef5425 100644 --- a/src/main/resources/data/aspects/origin_layers/origins.json +++ b/src/main/resources/data/aspects/origin_layers/origins.json @@ -22,9 +22,8 @@ }, "origins": [ "aspects:cryo", - "aspects:human", "aspects:altum", - "aspects:aquatillis", + "aspects:imber", "aspects:imp" ] }, diff --git a/src/main/resources/data/aspects/origins/altum.json b/src/main/resources/data/aspects/origins/altum.json index be1cc33..f700fb6 100644 --- a/src/main/resources/data/aspects/origins/altum.json +++ b/src/main/resources/data/aspects/origins/altum.json @@ -1,16 +1,10 @@ { "powers": [ - "aspects:flower_regen", - "aspects:bonemeal", - "aspects:grass_speed", - "aspects:dendro_primary", - "aspects:dendro_secondary", - "aspects:poison_resistance", - "aspects:suspicious_substance" + ], "icon": { - "item": "minecraft:water_bottle" + "item": "minecraft:snowball" }, - "name": "§3Altum", - "description": "WAaAA." + "name": "§bAltum", + "description": "Far from any source of illumination, darkly lit faces reflect off the spectral ocean's view. The deep sea shines in the eyes of the Altum." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/anemo.json b/src/main/resources/data/aspects/origins/anemo.json index 384accc..33280cd 100644 --- a/src/main/resources/data/aspects/origins/anemo.json +++ b/src/main/resources/data/aspects/origins/anemo.json @@ -12,5 +12,5 @@ "item": "aspects:anemo_feather" }, "name": "§aAnemo", - "description": "Anemo users are light on their feet, freeform in combat and wanderers by nature." + "description": "A lone windwhipped explorer sits perched on a cliffside, a thick book fit for an academic's mind in hand. There they sit, absently watching as the pages flip from the movement of the wind." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/cryo.json b/src/main/resources/data/aspects/origins/cryo.json index 26440ed..8952407 100644 --- a/src/main/resources/data/aspects/origins/cryo.json +++ b/src/main/resources/data/aspects/origins/cryo.json @@ -9,5 +9,5 @@ "item": "minecraft:snowball" }, "name": "§bCryo", - "description": "Cold, calculating and precise, Cryo types always get the job done." + "description": "A lone traveller drags their heels across the frozen lake, their sole companion the red-collared friend trailing behind. Ever-persistent and unbothered by the shards of glass ripping at their skin, the Cryo users are said to be the most resilient of their Aspect." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/dendro.json b/src/main/resources/data/aspects/origins/dendro.json index fed7dc9..9d06d4a 100644 --- a/src/main/resources/data/aspects/origins/dendro.json +++ b/src/main/resources/data/aspects/origins/dendro.json @@ -12,5 +12,5 @@ "item": "minecraft:wheat_seeds" }, "name": "§2Dendro", - "description": "Lovers of art, nature and all things beautiful, Dendro types certainly are a unique breed." + "description": "Lovers of art, nature and all things beautiful, the Dendro people inhabit local forests. Every now and then, a brave adventurer will venture into the woods to witness their song." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/geo.json b/src/main/resources/data/aspects/origins/geo.json index be9f0f8..659765f 100644 --- a/src/main/resources/data/aspects/origins/geo.json +++ b/src/main/resources/data/aspects/origins/geo.json @@ -12,5 +12,5 @@ "item": "aspects:geo_diamond" }, "name": "§eGeo", - "description": "Down-to-earth and grounded, Geo users are all about stability and functionality." + "description": "Tales are told of the rock-people who used to dwell deep below the land, feeding off ore and slate where they could. Creatures of massive size, the people of Geo are more than a legend." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/hydro.json b/src/main/resources/data/aspects/origins/hydro.json index 5b6a743..5834101 100644 --- a/src/main/resources/data/aspects/origins/hydro.json +++ b/src/main/resources/data/aspects/origins/hydro.json @@ -10,5 +10,5 @@ "item": "aspects:hydro_kelp" }, "name": "§9Hydro", - "description": "Fluid and ever-changing, Hydro users are flexible and aware of the intent behind the actions of their enemies in order to better defy them." + "description": "The siren song of the Hydro woman in the depths is echoed throughout deep and shallow waters, whispered to the unlucky sailor lost at sea." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/ignis.json b/src/main/resources/data/aspects/origins/ignis.json index b3c3c04..7350783 100644 --- a/src/main/resources/data/aspects/origins/ignis.json +++ b/src/main/resources/data/aspects/origins/ignis.json @@ -9,5 +9,5 @@ "item": "minecraft:fire_charge" }, "name": "§6Ignis", - "description": "Full of energy and power, Ignis types are certainly the life of the party." + "description": "The true power of flame is revealed in the core of bright, destructive fires that rack the evergreen forests, the simmering airwaves of the driest deserts, and in the hands of the Ignis users." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/imber.json b/src/main/resources/data/aspects/origins/imber.json new file mode 100644 index 0000000..6b24315 --- /dev/null +++ b/src/main/resources/data/aspects/origins/imber.json @@ -0,0 +1,14 @@ +{ + "powers": [ + "aspects:rain_strength", + "aspects:magic_damage", + "aspects:imber_primary", + "aspects:imber_secondary", + "aspects:magic_resistance" + ], + "icon": { + "item": "minecraft:bottle" + }, + "name": "§3Imber", + "description": "The gentle drumming of light rain hitting the sullen ground empowers the people of Imber. Inhale, do they, the primal scents of earth and sky, each drop of fresh water absorbed into a generation's spectral veins." +} \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/imp.json b/src/main/resources/data/aspects/origins/imp.json index 2689e19..58e0843 100644 --- a/src/main/resources/data/aspects/origins/imp.json +++ b/src/main/resources/data/aspects/origins/imp.json @@ -5,5 +5,5 @@ "item": "minecraft:porkchop" }, "name": "Imp", - "description": "Mere Imps who are derived of an Aspect, but have no Type. How unfortunate." + "description": "Children of the Aspects but unlucky enough to receive a full blessing, the sound of Vacuos echoes through the ordinary bones of the Imps." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/luna.json b/src/main/resources/data/aspects/origins/luna.json index 62291e5..ba5af0d 100644 --- a/src/main/resources/data/aspects/origins/luna.json +++ b/src/main/resources/data/aspects/origins/luna.json @@ -11,5 +11,5 @@ "item": "minecraft:lily_of_the_valley" }, "name": "§7Luna", - "description": "Quiet, spectral beings, Luna types possess great magical power that shifts based on the phase of the moon." + "description": "The Luna users are beings of such beauty that it is perceived by the magicless as the result of the blood of the otherworldly." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/magmus.json b/src/main/resources/data/aspects/origins/magmus.json index 3599cf1..efd2051 100644 --- a/src/main/resources/data/aspects/origins/magmus.json +++ b/src/main/resources/data/aspects/origins/magmus.json @@ -10,5 +10,5 @@ "item": "minecraft:magma_block" }, "name": "§4Magmus", - "description": "The most physically strong of the Pyro aspect, Magmus users are juggernauts in nature." + "description": "Juggernauts - the strongest of warriors, the steadfast heroes, Magmus users whisper of the oozing lava slipping between volcanic rock." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/navitas.json b/src/main/resources/data/aspects/origins/navitas.json index 898f4c8..37f1c42 100644 --- a/src/main/resources/data/aspects/origins/navitas.json +++ b/src/main/resources/data/aspects/origins/navitas.json @@ -9,5 +9,5 @@ "item": "minecraft:firework_star" }, "name": "§eNavitas", - "description": "Navitas users are real firecrackers, and always seem to have a trick hidden up their sleeve." + "description": "To be a meddler is all but petty to the Navitas - it is a brave trait to have the gull to stand up to the unhumorous and boastful upperclassman." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/ordo.json b/src/main/resources/data/aspects/origins/ordo.json index 3ee0dd3..9124464 100644 --- a/src/main/resources/data/aspects/origins/ordo.json +++ b/src/main/resources/data/aspects/origins/ordo.json @@ -13,5 +13,5 @@ "item": "aspects:ordo_star" }, "name": "Ordo", - "description": "Vigilant and organized, Ordo users are kind, diligent and natural leaders." + "description": "Tales of old speak of mages and paladins with healing properties and the power of light in their palms, besting their foes and aiding allies in need." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/perditio.json b/src/main/resources/data/aspects/origins/perditio.json index e31ae00..1c3d2ea 100644 --- a/src/main/resources/data/aspects/origins/perditio.json +++ b/src/main/resources/data/aspects/origins/perditio.json @@ -13,5 +13,5 @@ "item": "aspects:perditio_bone" }, "name": "§4Perditio", - "description": "Shrouded in darkness and mystery, Perditio users are unique magical beings said to be derived from the void." + "description": "Shrouded in darkness and mystery, Perditio users are said to have bones derived from the void, their ancestors the creators of the worlds." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/pyro.json b/src/main/resources/data/aspects/origins/pyro.json index 5cf551b..b7c728d 100644 --- a/src/main/resources/data/aspects/origins/pyro.json +++ b/src/main/resources/data/aspects/origins/pyro.json @@ -13,5 +13,5 @@ "item": "aspects:pyro_fire" }, "name": "§cPyro", - "description": "Pyro users are certainly lively. The rebels of the group, they are always brimming with new ideas and drive for adventure." + "description": "A new adventure awaits the seasoned traveller, one who seems to never tire of the endless paths they travel. After a long day of trudging through harsh terrain, a seat by the light of the campfire is most comforting." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/solus.json b/src/main/resources/data/aspects/origins/solus.json index 431cbea..56be67d 100644 --- a/src/main/resources/data/aspects/origins/solus.json +++ b/src/main/resources/data/aspects/origins/solus.json @@ -11,5 +11,5 @@ "item": "minecraft:sunflower" }, "name": "§6Solus", - "description": "Bold and egotistical, Solus types are as bright as the sun. Paladins, warriors and priests, these types are always in the action." + "description": "Sons, daughters and children of the bright solar divinity themselves, Solus users hold the power of the universe's light within them." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/tempus.json b/src/main/resources/data/aspects/origins/tempus.json index c11ab7f..3fd2607 100644 --- a/src/main/resources/data/aspects/origins/tempus.json +++ b/src/main/resources/data/aspects/origins/tempus.json @@ -9,5 +9,5 @@ "item": "minecraft:amethyst_shard" }, "name": "§5Tempus", - "description": "Dark minds crackling and churning, Tempus types always have a storm brewing in their heads." + "description": "Dark minds crackling and churning, Tempus types have always been misunderstood by the rest. Crowds gather and watch in horror as lightning explodes across the sky, thunder booming from above. The Tempus user stands unafraid at the top of the hill, watching as a storm approaches the horizon." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/origins/vacuos.json b/src/main/resources/data/aspects/origins/vacuos.json index 6d1cf3d..5206b9d 100644 --- a/src/main/resources/data/aspects/origins/vacuos.json +++ b/src/main/resources/data/aspects/origins/vacuos.json @@ -5,5 +5,5 @@ "item": "minecraft:bedrock" }, "name": "Vacuos", - "description": "Devoid of any Aspect, Vacuos are beings of nothingness." + "description": "Devoid of any Aspect, the origins of Vacuos are unknown. Strange beings, outcast by the rest." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/cryo_primary.json b/src/main/resources/data/aspects/powers/cryo_primary.json index 993c7cd..f3962bb 100644 --- a/src/main/resources/data/aspects/powers/cryo_primary.json +++ b/src/main/resources/data/aspects/powers/cryo_primary.json @@ -32,7 +32,7 @@ }, "key":"key.origins.ternary_active", "name":"Freeze Focus", - "description":"When pressing the respective key, you will fire a ray of ice in the direction you are facing that will deal freeze damage to the target and freeze over ice on impact." + "description":"When pressing the [Ternary] key, you will fire a ray of ice in the direction you are facing that will deal freeze damage to the target and freeze over water on impact." } diff --git a/src/main/resources/data/aspects/powers/cryo_secondary.json b/src/main/resources/data/aspects/powers/cryo_secondary.json index 9d78136..8d2109c 100644 --- a/src/main/resources/data/aspects/powers/cryo_secondary.json +++ b/src/main/resources/data/aspects/powers/cryo_secondary.json @@ -37,6 +37,6 @@ "key": "key.origins.quaternary_active" }, "name":"Icy Aura", - "description":"With your secondary key, you can deal freeze damage to those around you within an 8 block radius." + "description":"With your [Quaternary] key, you can deal freeze damage to those around you within an 8 block radius." } diff --git a/src/main/resources/data/aspects/powers/dendro_primary.json b/src/main/resources/data/aspects/powers/dendro_primary.json index 28545db..8fbda14 100644 --- a/src/main/resources/data/aspects/powers/dendro_primary.json +++ b/src/main/resources/data/aspects/powers/dendro_primary.json @@ -19,5 +19,5 @@ }, "key":"key.origins.ternary_active", "name":"Poison Cloud", - "description":"As your primary ability, you can spawn a poison cloud around you." + "description":"As your primary ability, you can spawn a poison cloud around you with your [Ternary] key." } diff --git a/src/main/resources/data/aspects/powers/dendro_secondary.json b/src/main/resources/data/aspects/powers/dendro_secondary.json index 1d621f4..4fce43c 100644 --- a/src/main/resources/data/aspects/powers/dendro_secondary.json +++ b/src/main/resources/data/aspects/powers/dendro_secondary.json @@ -15,5 +15,5 @@ "key": "key.origins.quaternary_active" }, "name":"Friendly Assistance", - "description":"As your secondary ability, you can spawn in an Iron Golem to help you fight off enemies." + "description":"As your secondary ability, you can spawn in an Iron Golem to help you fight off enemies with your [Quaternary] key." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/explosion_immunity.json b/src/main/resources/data/aspects/powers/explosion_immunity.json index ef0eb8f..1a6bcbb 100644 --- a/src/main/resources/data/aspects/powers/explosion_immunity.json +++ b/src/main/resources/data/aspects/powers/explosion_immunity.json @@ -9,5 +9,11 @@ "value": -1000 }, "name":"Explosion Immunity", - "description":"Explosions don't hurt you." + "description":"Explosions don't hurt you.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/ignis_primary.json b/src/main/resources/data/aspects/powers/ignis_primary.json index 11344b6..9717cad 100644 --- a/src/main/resources/data/aspects/powers/ignis_primary.json +++ b/src/main/resources/data/aspects/powers/ignis_primary.json @@ -21,5 +21,5 @@ }, "key":"key.origins.ternary_active", "name":"Ignition", - "description":"Using your primary active ability, you can light yourself on fire for a short duration, granting you an attack buff." + "description":"Using your primary active ability, you can light yourself on fire for a short duration, granting you an attack buff with your [Ternary] key." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/ignis_secondary.json b/src/main/resources/data/aspects/powers/ignis_secondary.json index 71d8bdc..6b56932 100644 --- a/src/main/resources/data/aspects/powers/ignis_secondary.json +++ b/src/main/resources/data/aspects/powers/ignis_secondary.json @@ -33,5 +33,5 @@ "key": "key.origins.quaternary_active", "cooldown": 1400, "name":"Ring of Fire", - "description":"As your secondary ability, you can light entities around you on fire for a few seconds." + "description":"As your secondary ability, you can light entities around you on fire for a few seconds with your [Quaternary] key." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/imber_primary.json b/src/main/resources/data/aspects/powers/imber_primary.json new file mode 100644 index 0000000..b90202e --- /dev/null +++ b/src/main/resources/data/aspects/powers/imber_primary.json @@ -0,0 +1,6929 @@ +{ + "type": "origins:active_self", + "entity_action": + { + "type": "origins:if_else_list", + "actions": + [ + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:sugar" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:rabbit_foot" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glistering_melon_slice" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:pufferfish" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:golden_carrot" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:magma_cream" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:blaze_powder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:ghast_tear" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:turtle_helmet" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:phantom_membrane" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:or", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + } + ] + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:fermented_spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:or", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + } + ] + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:fermented_spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:fermented_spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone_dust" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:glowstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:strong_harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_water_breathing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_water_breathing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_fire_resistance\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_fire_resistance\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_night_vision\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_night_vision\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_slow_falling\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slow_falling\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_invisibility\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_invisibility\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_swiftness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_swiftness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_leaping\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_leaping\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_healing\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_healing\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_poison\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_poison\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_strength\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_strength\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_regeneration\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_regeneration\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_turtle_master\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_turtle_master\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_slowness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_slowness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:strong_harming\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:strong_harming\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:water\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:fermented_spider_eye" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:redstone" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:potion\",tag:{Potion:\"minecraft:long_weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:gunpowder" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:splash_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:weakness\"}" + } + } + ] + } + }, + { + "condition": + { + "type": "origins:and", + "conditions": + [ + { + "type": "origins:command", + "command": "execute if entity @s[nbt={SelectedItem:{id:\"minecraft:splash_potion\",tag:{Potion:\"minecraft:long_weakness\"}}}]", + "permission_level": 4, + "comparison": ">=", + "compare_to": 1 + }, + { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": + { + "type": "origins:ingredient", + "ingredient": + { + "item": "minecraft:dragon_breath" + } + } + } + ] + }, + "action": + { + "type": "origins:and", + "actions": + [ + { + "type": "origins:equipped_item_action", + "equipment_slot": "mainhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:equipped_item_action", + "equipment_slot": "offhand", + "action": + { + "type": "origins:consume", + "amount": 1 + } + }, + { + "type": "origins:give", + "stack": + { + "item": "minecraft:lingering_potion", + "amount": 1, + "tag": "{Potion:\"minecraft:long_weakness\"}" + } + } + ] + } + } + ] + }, + "cooldown": 0, + "hud_render": + { + "should_render": false + }, + "key": + { + "key": "key.origins.ternary_active" + }, + "name": "Portable Brewing", + "description": "[Ternary] You are able to brew on the go." +} diff --git a/src/main/resources/data/aspects/powers/imber_secondary.json b/src/main/resources/data/aspects/powers/imber_secondary.json new file mode 100644 index 0000000..9b3fd2a --- /dev/null +++ b/src/main/resources/data/aspects/powers/imber_secondary.json @@ -0,0 +1,11 @@ +{ + "type": "origins:toggle", + "key": { + "key":"key.origins.quaternary_active", + "continuous": false + }, + + "retain_state": false, + "name":"Cloaked", + "description":"You may go invisible for as long as you want, toggled with your [Quaternary] key. Disabled when you're lit on fire." +} \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/impish_speed.json b/src/main/resources/data/aspects/powers/impish_speed.json index 7903c12..93bc76b 100644 --- a/src/main/resources/data/aspects/powers/impish_speed.json +++ b/src/main/resources/data/aspects/powers/impish_speed.json @@ -6,7 +6,7 @@ "operation": "addition" }, "name":"Impish Speed", - "description":"Being a devillish little bugger has given you the speed to run away from your angered prank victims.", + "description":"Being a devilish little bugger has given you the speed to run away from your angered prank victims.", "badges": [ { "sprite": "aspects:textures/gui/badge/check.png", diff --git a/src/main/resources/data/aspects/powers/invisibility2.json b/src/main/resources/data/aspects/powers/invisibility2.json new file mode 100644 index 0000000..7e91df6 --- /dev/null +++ b/src/main/resources/data/aspects/powers/invisibility2.json @@ -0,0 +1,9 @@ +{ + "type": "origins:invisibility", + "render_armor": true, + "condition": { + "type": "origins:power_active", + "power": "aspects:imber_secondary" + }, + "hidden":true + } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/knockback_resistance.json b/src/main/resources/data/aspects/powers/knockback_resistance.json index 23726f3..c8898df 100644 --- a/src/main/resources/data/aspects/powers/knockback_resistance.json +++ b/src/main/resources/data/aspects/powers/knockback_resistance.json @@ -7,5 +7,11 @@ "operation": "addition" }, "name":"Stable Footing", - "description":"Knockback doesn't bother you." + "description":"Knockback doesn't bother you.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/luna_primary.json b/src/main/resources/data/aspects/powers/luna_primary.json index eabe7a2..0a62dc3 100644 --- a/src/main/resources/data/aspects/powers/luna_primary.json +++ b/src/main/resources/data/aspects/powers/luna_primary.json @@ -7,5 +7,5 @@ "retain_state": false, "name":"Invisibility", - "description":"As your primary ability, you can toggle invisibility. Deactivates when you are on fire." + "description":"As your primary ability, you can toggle invisibility with your [Ternary] key. Deactivates when you are on fire." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/luna_secondary.json b/src/main/resources/data/aspects/powers/luna_secondary.json index e56bed0..8a7cc37 100644 --- a/src/main/resources/data/aspects/powers/luna_secondary.json +++ b/src/main/resources/data/aspects/powers/luna_secondary.json @@ -21,5 +21,5 @@ "key": "key.origins.quaternary_active" }, "name":"Dark Shroud", - "description":"With your secondary ability, you can disperse a shroud of wither." + "description":"With your secondary ability, you can disperse a shroud of wither with your [Quaternary] key." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/magic_damage.json b/src/main/resources/data/aspects/powers/magic_damage.json new file mode 100644 index 0000000..e89a051 --- /dev/null +++ b/src/main/resources/data/aspects/powers/magic_damage.json @@ -0,0 +1,19 @@ +{ + "type": "origins:action_on_hit", + "bientity_action": { + "type": "origins:damage", + "amount": 0.5, + "source": { + "name": "indirectMagic", + "magic":true + } + }, + "name":"Magic Damage", + "description":"All of your attacks do magic damage.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/magic_resistance.json b/src/main/resources/data/aspects/powers/magic_resistance.json new file mode 100644 index 0000000..01e4b40 --- /dev/null +++ b/src/main/resources/data/aspects/powers/magic_resistance.json @@ -0,0 +1,20 @@ +{ + "type": "origins:modify_damage_taken", + "damage_condition": { + "type": "origins:name", + "name": "indirectMagic" + }, + "modifier": { + "name": "Weak to cursed items", + "operation": "addition", + "value": -10 + }, + "name":"Magic Resistance", + "description":"When hit by thrown potions, it barely affects you.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/magma_regen.json b/src/main/resources/data/aspects/powers/magma_regen.json index ee9367a..c51b39c 100644 --- a/src/main/resources/data/aspects/powers/magma_regen.json +++ b/src/main/resources/data/aspects/powers/magma_regen.json @@ -13,5 +13,11 @@ } }, "name":"Back to the Source", - "description":"As a being of magma, standing on magma blocks gives you regeneration." + "description":"As a being of magma, standing on magma blocks gives you regeneration.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] } diff --git a/src/main/resources/data/aspects/powers/melt.json b/src/main/resources/data/aspects/powers/melt.json index 1dfe1aa..b46d5f5 100644 --- a/src/main/resources/data/aspects/powers/melt.json +++ b/src/main/resources/data/aspects/powers/melt.json @@ -31,6 +31,7 @@ } ] } + } }, "name":"Hot Feet", "description":"Ice and snow underneath you will melt.", @@ -40,5 +41,4 @@ "text": "Neutral" } ] - } } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/navitas_primary.json b/src/main/resources/data/aspects/powers/navitas_primary.json index a991e5e..7b6cd58 100644 --- a/src/main/resources/data/aspects/powers/navitas_primary.json +++ b/src/main/resources/data/aspects/powers/navitas_primary.json @@ -16,5 +16,5 @@ }, "key":"key.origins.ternary_active", "name":"Boom!", - "description":"Boom! Explode the area you're standing on. Pow!" + "description":"Boom! Explode the area you're standing on with your [Ternary] key. Pow!" } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/navitas_secondary.json b/src/main/resources/data/aspects/powers/navitas_secondary.json index 1a9ef0b..f6e391a 100644 --- a/src/main/resources/data/aspects/powers/navitas_secondary.json +++ b/src/main/resources/data/aspects/powers/navitas_secondary.json @@ -22,7 +22,7 @@ "key": "key.origins.quaternary_active", "cooldown": 1400, "name":"Bam", - "description":"Using your evil little powers, you can grant yourself exactly eight precious blocks to TNT and eight weapons of destruction - fire charges.", + "description":"Using your evil little powers ([Quaternary Key]), you can grant yourself exactly eight precious blocks to TNT and eight weapons of destruction - fire charges.", "hud_render": { "inverted":true, "sprite_location":"origins:textures/gui/community/huang/resource_bar_02.png", diff --git a/src/main/resources/data/aspects/powers/rain_strength.json b/src/main/resources/data/aspects/powers/rain_strength.json new file mode 100644 index 0000000..536fe37 --- /dev/null +++ b/src/main/resources/data/aspects/powers/rain_strength.json @@ -0,0 +1,23 @@ +{ + "type": "origins:action_over_time", + "entity_action": { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:strength", + "duration": 400, + "amplifier": 2 + } + }, + "interval": 20, + "condition": { + "type": "origins:in_rain" + }, + "name":"Rain Strength", + "description":"You get strength when in rain.", + "badges": [ + { + "sprite": "aspects:textures/gui/badge/check.png", + "text": "Positive" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/solus_primary.json b/src/main/resources/data/aspects/powers/solus_primary.json index f0173b8..e6d9c96 100644 --- a/src/main/resources/data/aspects/powers/solus_primary.json +++ b/src/main/resources/data/aspects/powers/solus_primary.json @@ -25,5 +25,5 @@ }, "key":"key.origins.ternary_active", "name":"Solar Revealing", - "description":"All entities within a 40 block radius of you will be highlighted with your primary ability. What an eyesore." + "description":"All entities within a 40 block radius of you will be highlighted with your primary ability [Ternary] key. What an eyesore." } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/solus_secondary.json b/src/main/resources/data/aspects/powers/solus_secondary.json index e433732..deffe7d 100644 --- a/src/main/resources/data/aspects/powers/solus_secondary.json +++ b/src/main/resources/data/aspects/powers/solus_secondary.json @@ -48,5 +48,5 @@ "key": "key.origins.quaternary_active" }, "name":"Icarus", - "description":"Send all surrounding enemies multiple blocks into the air, and then light them on fire. They shouldn't have strayed so close to the sun!" + "description":"Send all surrounding enemies multiple blocks into the air, and then light them on fire with your [Quaternary] key. They shouldn't have strayed so close to the sun!" } \ No newline at end of file diff --git a/src/main/resources/data/aspects/powers/tempus_primary.json b/src/main/resources/data/aspects/powers/tempus_primary.json index 5f8dfb6..c3ef35d 100644 --- a/src/main/resources/data/aspects/powers/tempus_primary.json +++ b/src/main/resources/data/aspects/powers/tempus_primary.json @@ -30,6 +30,6 @@ }, "key":"key.origins.ternary_active", "name":"Lightning Bolt", - "description":"When pressing the respective key, you will summon a lightning bolt at the block or entity you are looking at, doing damage and setting nearby blocks on fire as well." + "description":"When pressing the [Ternary] key, you will summon a lightning bolt at the block or entity you are looking at, doing damage and setting nearby blocks on fire as well." } diff --git a/src/main/resources/data/aspects/powers/tempus_secondary.json b/src/main/resources/data/aspects/powers/tempus_secondary.json index 428e62f..f11c06c 100644 --- a/src/main/resources/data/aspects/powers/tempus_secondary.json +++ b/src/main/resources/data/aspects/powers/tempus_secondary.json @@ -54,5 +54,5 @@ "key": "key.origins.quaternary_active", "cooldown": 400, "name":"Raging Gales", - "description":"As your secondary ability, you can push enemies away by a few blocks whilst healing yourself and dealing damage to others." + "description":"As your secondary ability, you can push enemies away by a few blocks whilst healing yourself and dealing damage to others with your [Quaternary] key." } \ No newline at end of file