{
  "name": {
    "text": "Ultimate Methanosian"
  },
  "icon": {
    "type": "palladium:texture",
            "texture": "omni_evo:textures/gui/icon/ult_swampfire/ult_swampfire.png"
  },
  "energy_bars": {
    "napalm": {
      "max": 500,
      "auto_increase_per_tick": 2,
      "color": "#0ebdc9"
    }
  },
  "persistent_data": true,
  "hidden": false,
    "gui_display_type": "tree",
  "background": "alienevo:textures/gui/power_screen/power_screen.png",
  "allow_bar_shrinking": false,
  "ability_bar_texture": "alienevo:textures/gui/ability_bar/interface.png",
  "abilities": {
    "ult_methanosian_loop": {
      "type": "palladium:command",
      "gui_position": [
        0,
        0
      ],
      "title": "Ultimate Methanosian",
      "icon": "omni_evo:textures/gui/icon/ult_swampfire/ult_swampfire.png",
      "description":{
        "translate": "desc.alienevo.omnitrix.function.ult_swampfire"
      },
      "hidden": false,
      "first_tick_commands": [
        "scale set pehkui:width 1.1",
        "tag @s add afomni.vineprot",
        "energybar value set @s omni_evo:ult_methanosian napalm 250"
      ],
      "last_tick_commands": [
        "scale set pehkui:width 1",
        "tag @s remove afomni.vineprot"
      ],
      "commands": [
        "effect give @s minecraft:water_breathing 1 255 true",
        "scoreboard players add @s[palladium.power=selfdestruct:prototype_omnitrix_sdm] AlienEvo.SelfDestruct 3",
        "scoreboard players add @s[tag=!AlienEvo.MasterControl] AlienEvo.Timer 1"
      ]
    },
    "base_form": {
      "type": "omni_evo:deultimate",
      "icon": "alienevo:textures/gui/detransform/detransform_ult.png",
      "title": "Deultimate",
      "bar_color": "light_gray",
      "hidden": true,
      "hidden_in_bar": false,
      "list_index": 4,
      "gui_position": "null",
      "description": "null",
      "conditions": {
        "enabling": [
          {
            "type": "palladium:action",
            "key_type": "key_bind"
          }
        ]
      }
    },
        "timeout": {
      "type": "omni_evo:deultimate",
      "icon": "alienevo:textures/gui/detransform/detransform_ult.png",
      "title": "Deultimate",
      "bar_color": "light_gray",
      "hidden": true,
      "hidden_in_bar": false,
      "list_index": 4,
      "gui_position": "null",
      "description": "null",
      "conditions": {
        "enabling": [
            {
              "type": "palladium:objective_score",
              "objective": "AlienEvo.Timer",
              "min_score": 5920,
              "max_score": 6000
          } 
        ]
      }
    },
    "timeout_function": {
      "type": "alienevo:omnitrix_timer",
      "hidden": true
    },
    "methanosian_model": {
      "type": "palladium:render_layer",
      "hidden": true,
      "render_layer": "omni_evo:ultimate_aliens/ult_methanosian"
    },
    "hide_body": {
      "type": "palladium:hide_body_part",
      "hidden": true,
      "hidden_in_bar": true,
      "body_parts": [
        "right_arm",
        "left_arm",
        "chest",
        "chest_overlay",
        "right_arm_overlay",
        "left_arm_overlay",
        "right_leg",
        "left_leg",
        "cape",
        "right_leg_overlay",
        "left_leg_overlay",
        "head",
        "head_overlay"
      ],
      "affects_first_person": true
    },
    "size_change": {
      "type": "palladium:size",
      "title": "Size Change",
      "hidden": true,
      "scale": 2
    },
    "seed_throw": {
      "type": "palladium:projectile",
      "bar_color": "orange",
      "entity_type": "palladium:custom_projectile",
      "icon": "omni_evo:textures/gui/icon/ult_swampfire/firemethane.png",
      "hidden": true,
      "hidden_in_bar": false,
      "title": "Seed Throw",
      "list_index": 2,
      "swinging_arm": "right_arm",
      "velocity": 1.7,
      "inaccuracy": 4,
      "entity_data": {
        "Damage": 14,
        "Lifetime": 30,
        "DieOnEntityHit": true,
        "DieOnBlockHit": true,
        "SetEntityOnFireSeconds": 0,
        "CommandOnBlockHit": "function alienevo:abilities/on_hit",
        "CommandOnEntityHit": "execute at @s as @e[distance=0..3,type=!minecraft:armor_stand] unless entity @s[palladium.power=alienevo_aliens:methanosian] at @s run effect give @s alienevo:goo 15 0 true",
        "Gravity": 0.03,
        "Appearances": [
          {
            "Type": "particles",
            "ParticleType": "alienevo:slime_ball",
            "Spread": 0.3,
            "Amount": 40
          },
          {
            "Type": "particles",
            "ParticleType": "alienevo:slime_trail",
            "Spread": 0.06,
            "Amount": 10
          }
        ]
      },
      "conditions": {
        "enabling": [
          {
            "type": "palladium:activation",
            "cooldown": 60,
            "ticks": 6,
            "key_type": "key_bind"
          }
        ]
      }
    },
              "vine_wall":{
    "type": "omni_evo:block_placer",
    "icon": "omni_evo:textures/gui/icon/ult_swampfire/vinewall.png",
    "title": "Vine Wall",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": false,
    "list_index": 3,
    "gui_position": "null",
    "description": "null",
    "block_tag": "#afomni:no_hitbox_2",
    "max_range": 1.5,
    "conditions":{
      "enabling":[
        {
          "type": "palladium:held",
          "cooldown": 150,
          "key_type": "key_bind"
        }
      ]
    }
  },
    "slimeprotag": {
      "type": "palladium:command",
      "hidden": true,
      "hidden_in_bar": true,
      "commands": [
        "tag @e[type=palladium:custom_projectile,limit=1,sort=nearest] add slime",
        "execute at @e[type=palladium:custom_projectile,tag=slime,sort=nearest] run playsound minecraft:entity.slime.attack master @a ~ ~ ~ 1 2"
      ],
      "conditions": {
        "enabling": [
          {
            "type": "palladium:ability_enabled",
            "power": "null",
            "ability": "seed_throw"
          }
        ]
      }
    },
    "base_strength": {
      "type": "palladium:attribute_modifier",
      "attribute": "minecraft:generic.attack_damage",
      "uuid": "20c7c6cb-2ab7-4341-890c-d6cace50e7fc",
      "hidden_in_bar": true,
      "title": "Base Attack : 7",
      "gui_position": [
        -1,
        1.5
      ],
      "hidden": true,
      "amount": 15,
      "conditions": {
        "unlocking": [
          {
            "type": "palladium:ability_unlocked",
            "ability": "ult_methanosian_loop"
          }
        ]
      }
    },
    "test_3": {
      "type": "palladium:projectile",
      "icon": "omni_evo:textures/gui/icon/ult_swampfire/ult_swampfire_small_bomb.png",
      "entity_type": "palladium:custom_projectile",
      "title": "Small Seed Grenade",
      "description": {
        "translate": "desc.alienevo.omnitrix.function.small_grenade"
      },
      "hidden": false,
      "gui_position":[
        0.5,
        0
      ],
      "hidden_in_bar": false,
      "list_index": 1,
      "velocity": 4,
      "entity_data": {
        "Damage": 16,
        "Gravity": 0.03,
        "Size": 0.5,
        "Lifetime": 1200,
        "DieOnEntityHit": true,
        "DieOnBlockHit": true,
        "ExplosionRadius": 1,
        "ExplosionCausesFire": true,
        "ExplosionBlockInteraction": "destroy",
        "Appearances": [
          {
            "Type": "particles",
            "ParticleType": "minecraft:soul_fire_flame",
            "Spread": 1
          }
        ]
      },
      "conditions": {
        "enabling": [
          {
            "type": "palladium:action",
            "cooldown": 25
          }
        ],
        "unlocking":[
          {
            "type": "palladium:not",
            "conditions":[
              {
                "type": "palladium:crouching"
              }
            ]
          }
        ]
      }
    },
        "test_4_bigger_seed": {
      "type": "palladium:projectile",
      "icon": "omni_evo:textures/gui/icon/ult_swampfire/ult_swampfire_big_bomb.png",
      "entity_type": "palladium:custom_projectile",
      "title": "Big Seed Grenade",
      "hidden": true,
      "hidden_in_bar": false,
      "list_index": 1,
      "velocity": 3,
      "entity_data": {
        "Damage": 25,
        "Gravity": 0.03,
        "Size": 0.5,
        "Lifetime": 1200,
        "DieOnEntityHit": true,
        "DieOnBlockHit": true,
        "ExplosionRadius": 5,
        "ExplosionCausesFire": true,
        "ExplosionBlockInteraction": "destroy",
        "Appearances": [
          {
            "Type": "item",
            "Item": "alienevo:upgrade_crystal_blue"
          },
          {
            "Type": "particles",
            "ParticleType": "minecraft:soul_fire_flame",
            "Spread": 1
          }
        ]
      },
      "conditions": {
        "enabling": [
          {
            "type": "palladium:action",
            "cooldown": 200
          }
        ],
        "unlocking":[
          {
            "type": "palladium:crouching"
          },
          {
            "type": "palladium:ability_unlocked",
            "ability": "big_seed_unlock"
          }
        ]
      }
    },
    "big_seed_unlock":{
      "type": "palladium:dummy",
      "icon": "omni_evo:textures/gui/icon/ult_swampfire/ult_swampfire_big_bomb.png",
      "title": "Big Seed Grenade",
      "description":{
        "translate": "desc.alienevo.omnitrix.function.big_grenade"
      },
      "hidden": false,
      "gui_position":[
        -0.5,
        0
      ]
    },
        "hands_laser": {
      "type": "palladium:energy_beam",
      "list_index": 0,
      "title": "Napalm Fire Beam",
      "hidden": true,
      "hidden_in_bar": true,
      "energy_bar_usage": {
        "energy_bar": "napalm",
        "amount": 15
      },
      "energy_beam": "omni_evo:ult_swampfire_beam",
          "damage_type": "palladium:energy_beam",
          "damage": 30,
          "max_distance": 60,
          "speed": 0.5,
          "set_on_fire_seconds": 10,
          "cause_fire": true,
          "smelt_blocks": true,
          "commands_on_block_hit": [
            "function alienevo:abilities/pyronite_beam"
         ],
          "commands_on_entity_hit": [
            "scoreboard players add @p[limit=1,tag=ChromastoneLight] afomni.ChromaEnergy 100",
            "function alienevo:abilities/pyronite_beam"
          ],
      "conditions": {
        "enabling": {
          "type": "palladium:ability_enabled",
          "ability": "big_beam_aim"
        }
      }
    },
    
    "big_beam_arms": {
    "type": "palladium:show_both_arms",
    "icon": "minecraft:blaze_rod",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
      "hidden_in_bar": true,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
    "conditions": {
      "enabling":[
        {
          "type": "palladium:ability_enabled",
          "ability": "hands_laser"
        }
      ]
    }
    },
    "big_beam_aim": {
      "type": "palladium:aim",
      "icon": "omni_evo:textures/gui/icon/ult_swampfire/ult_swampfire_ult_beam.png",
      "title": "Ultimate Fire Beam",
      "list_index": 0,
      "bar_color": "green",
      "hidden": true,
      "hidden_in_bar": false,
      "time": 5,
      "arm": "both",
      "conditions": {
        "enabling":[
          {
            "type": "palladium:held",
            "cooldown": 100
          },
          {
                "type": "palladium:energy_bar",
                 "energy_bar": "napalm",
                  "min": 10
          }
        ],
        "unlocking":[
         {
          "type": "palladium:crouching"
         },
         {
            "type": "palladium:ability_unlocked",
            "ability": "big_beam_unlock"
         }
        ]
      }
    },
    "big_beam_unlock":{
      "type": "palladium:dummy",
      "icon": "omni_evo:textures/gui/icon/ult_swampfire/ult_swampfire_ult_beam.png",
      "title": "Ultimate Fire Beam",
      "description":{
        "translate": "desc.alienevo.omnitrix.function.beam"
      },
      "hidden": false,
      "gui_position":[
        -0.5,
        0.5
      ]
    },
    "slowdown":{
    "type": "palladium:attribute_modifier",
    "icon": "minecraft:iron_chestplate",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
      "hidden_in_bar": true,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
    "attribute": "minecraft:generic.movement_speed",
    "amount": -10,
    "operation": 0,
    "uuid": "498be4fb-af04-42f2-8948-e6ccdc0d99e1",
    "conditions":{
      "enabling":[
        {
          "type": "palladium:ability_enabled",
          "ability": "big_beam_aim"
        }
      ]
    }
    },
    "beam_sounds": {
    "type": "palladium:play_sound",
    "icon": "minecraft:blaze_rod",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": true,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
    "sound": "alienevo:heatblast_firebeam",
    "volume": 1,
    "pitch": 1,
    "looping": true,
    "play_self": false,
    "play_others": false,
    "conditions": {
      "enabling":[
        {
          "type": "palladium:ability_enabled",
          "ability": "big_beam_aim"
        }
      ]
    }
    },
    "beam_sound_stop":{
      "type": "palladium:command",
      "commands": "",
      "hidden": true,
      "hidden_in_bar": true,
      "first_tick_commands": [
        "stopsound @s *"
      ],
      "conditions": {
        "enabling":[
          {
            "type": "palladium:not",
            "conditions":[
              {
                "type": "palladium:ability_enabled",
                "ability": "big_beam_aim"
              }
            ]
          }
        ]
      }
    },
    "defense": {
      "type": "palladium:attribute_modifier",
      "attribute": "minecraft:generic.armor",
      "title": "Base Defense : 8",
      "uuid": "0713291c-8352-4d9f-a1f6-7d2171673a70",
      "list_index": -1,
      "hidden": true,
      "hidden_in_bar": true,
      "gui_position": [
        1,
        1.5
      ],
      "amount": 34,
      "conditions": {
        "unlocking": [
          {
            "type": "palladium:ability_unlocked",
            "ability": "ult_methanosian_loop"
          }
        ]
      }
    },
    "fall_resistance": {
      "type": "palladium:attribute_modifier",
      "attribute": "palladium:fall_resistance",
      "hidden": true,
      "hidden_in_bar": true,
      "uuid": "08b1af9e-2118-4574-99eb-4124cf9eb2e5",
      "amount": 5
    },
    "hearts": {
      "type": "palladium:attribute_modifier",
      "attribute": "minecraft:generic.max_health",
      "hidden": true,
      "hidden_in_bar": true,
      "uuid": "312059f5-7fdb-44a1-8239-91a06b03d856",
      "amount": 40
    },
    "slots": {
      "type": "palladium:restrict_slots",
      "icon": "alienevo:textures/gui/playlists/playlist_1/alien_5.png",
      "title": "Alien Physique",
      "hidden": true,
      "hidden_in_bar": true,
      "gui_position": [
        -1,
        0.5
      ],
      "description": "Due to your alien physique, armor made for humans doesn't fit you.",
      "slots": [
        "head",
        "chest",
        "legs",
        "feet",
        "trinkets:head/hat",
        "trinkets:head/face",
        "trinkets:chest/back",
        "trinkets:chest/necklace",
        "trinkets:chest/cape",
        "trinkets:hand/ring",
        "trinkets:hand/glove",
        "trinkets:offhand/glove",
        "trinkets:offhand/ring",
        "curios:hands"
      ],
      "conditions": {
        "unlocking": [
          {
            "type": "palladium:ability_unlocked",
            "ability": "ult_methanosian_loop"
          }
        ]
      }
    },
    "dual_beam_pro": {
      "type": "palladium:projectile",
      "entity_type": "palladium:custom_projectile",
      "title": "Beam",
      "hidden": true,
      "inaccuracy": 4,
      "bar_color": "orange",
      "list_index": 0,
      "swinging_arm": "none",
      "velocity": 1.2,
      "entity_data": {
        "Damage": 12,
        "ExplosionBlockInteraction": "none",
        "ExplosionRadius": 0,
        "ExplosionCausesFire": true,
        "SetEntityOnFireSeconds": 5,
        "Gravity": 0,
        "Size": 0,
        "Lifetime": 100,
        "DieOnEntityHit": true,
        "DieOnBlockHit": true,
        "CommandOnEntityHit": "",
        "CommandOnBlockHit": "function alienevo:abilities/pyronite_beam",
        "Appearances": [
          {
            "Type": "renderLayer",
            "RenderLayer": "alienevo:invis"
          }
        ]
      },
      "conditions": {
        "enabling": [
          {
            "type": "palladium:ability_enabled",
            "power": "null",
            "ability": "beam"
          }
        ],
        "unlocking":[
          {
            "type": "palladium:not",
            "conditions":[
              {
                "type": "palladium:crouching"
              }
            ]
          }
        ]
      }
    },
    "beam": {
      "type": "palladium:aim",
        "icon": "omni_evo:textures/gui/icon/ult_swampfire/flamethrower.png",
      "title": "Pyrokinetic Blast",
      "list_index": 0,
      "ability_bar_texture": "alienevo:textures/gui/bars/pyronite_bar.png",
      "bar_color": "green",
      "hidden": true,
      "hidden_in_bar": false,
      "time": 5,
      "arm": "both",
      "energy_bar_usage": {
        "energy_bar": "methane",
        "amount": 4
      },
      "conditions": {
        "enabling": [
          {
            "type": "palladium:held",
            "cooldown": 150,
            "needs_empty_hand": true,
            "key_type": "key_bind"
          }
        ],
        "unlocking": [
          {
            "type": "palladium:or",
            "conditions": [
              {
                "type": "palladium:not",
                "conditions": [
                  {
                    "type": "palladium:is_hovering"
                  },
                  {
                    "type": "palladium:is_fast_flying"
                  },
                  {
                    "type": "palladium:crouching"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
        "beam_exp": {
      "type": "palladium:command",
      "hidden": true,
      "hidden_in_bar": true,
      "commands": [
        "scoreboard players add @s Methanosian.XP 5"
      ],
      "conditions": {
        "enabling": [
          {
            "type": "palladium:ability_enabled",
            "power": "null",
            "ability": "beam"
          },
          {
            "type": "palladium:interval",
            "active_ticks": 0,
            "disabled_ticks": 80
          }
        ]
      }
    },
    "beam_sound":{
    "type": "palladium:play_sound",
    "icon": "minecraft:blaze_rod",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": true,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
    "sound": "alienevo:heatblast_firebreath_loop",
    "volume": 1,
    "pitch": 1,
    "looping": true,
    "conditions":{
      "enabling":[
        {
          "type": "palladium:ability_enabled",
          "ability": "beam"
        }
      ]
    }
  },
  "beam_sound_stop2":{
    "type": "palladium:command",
    "hidden": true,
    "hidden_in_bar": true,
    "commands": "",
    "first_tick_commands": "stopsound @s * alienevo:heatblast_firebreath_start",
    "conditions":{
      "enabling":[
        {
          "type": "palladium:not",
          "conditions":[
            {
              "type": "palladium:ability_enabled",
              "ability": "beam"
            }
          ]
        }
      ]
    }
  },
    "beam_anim": {
      "type": "palladium:particles",
          "hidden": true,
    "hidden_in_bar": true,
      "emitter": [
        "afomni:swamp_beam",
        "afomni:swamp_beam_left"
      ],
      "particle_type": "minecraft:soul_fire_flame",
      "conditions": {
        "enabling": [
          {
            "type": "palladium:ability_enabled",
            "power": "null",
            "ability": "beam"
          }
        ]
      }
    },
    "show_both_arms": {
      "type": "palladium:show_both_arms",
      "hidden": true,
      "hidden_in_bar": true,
      "conditions": {
        "enabling": [
          {
            "type": "palladium:ability_enabled",
            "power": "null",
            "ability": "beam"
          }
        ]
      }
    },
    "name_change": {
      "type": "palladium:name_change",
      "hidden": true,
      "hidden_in_bar": true,
      "name": [
        {
          "nbt": "KubeJSPersistentData.alienevo_31",
          "entity": "@s"
        }
      ],
      "conditions": {
        "enabling": [],
        "unlocking": [
          {
            "type": "palladium:not",
            "conditions": [
              {
                "type": "palladium:has_tag",
                "tag": "alienevo.nickname"
              }
            ]
          }
        ]
      }
    },
    "fire_resistance": {
      "type": "palladium:damage_immunity",
      "hidden": true,
      "hidden_in_bar": true,
      "icon": "alienevo:textures/gui/playlists/playlist_1/alien_5.png",
      "title": "Methanosian Body",
      "description": "Rapidly regenerate and adapt using a tough, plant-like alien body",
      "gui_position": [
        1,
        0.5
      ],
      "damage_sources": [
        "minecraft:is_fire",
        "minecraft:is_freezing"
      ],
      "conditions": {
        "unlocking": [
          {
            "type": "palladium:ability_unlocked",
            "ability": "ult_methanosian_loop"
          }
        ]
      }
    },

    "regen": {
      "type": "palladium:healing",
      "icon": "minecraft:apple",
      "title": "regen",
      "bar_color": "light_gray",
      "hidden": true,
      "hidden_in_bar": true,
      "list_index": -1,
      "gui_position": "null",
      "description": "null",
      "frequency": 15,
      "amount": 1
    },
  
    "flight":{
      "type": "palladium:attribute_modifier",
      "icon": "alienevo:textures/gui/aliens/alien_7/flight.png",
      "attribute": "palladium:flight_speed",
      "hidden": false,
      "description":{
        "translate": "desc.alienevo.omnitrix.function.flight"
      },
      "hidden_in_bar": true,
      "gui_position": [
        0.5,
        0.5
      ],
      "title": "Flight",
      "list_index": 0,
      "amount": 0.7,
      "conditions":{
        "enabling":[
          {
                "type": "palladium:energy_bar",
                 "energy_bar": "napalm",
                  "min": 10
          }
        ]
      }
    },
    "flight_decrease":{
      "type": "palladium:dummy",
      "hidden": true,
      "hidden_in_bar": true,
      "energy_bar_usage": {
        "energy_bar": "napalm",
        "amount": 5
      },
      "conditions":{
        "enabling":[
          {
            "type": "palladium:is_hovering_or_flying"
          }
        ]
      }
    },
    "leap_particle_anim": {
      "type": "palladium:particles",
      "emitter": [
        "omni_evo:ult_swamp_flight_right",
        "omni_evo:ult_swamp_flight_left"
      ],
      "hidden": true,
      "hidden_in_bar": true,
      "particle_type": "minecraft:soul_fire_flame",
      "conditions": {
        "enabling": [
          {
            "type": "palladium:ability_enabled",
            "power": "null",
            "ability": "flight_decrease"
          }
        ]
      }
    }
  }
}