{
  "rules": {
    "tcc_player_death_grant_tcc_summer_beach": {
      "enabled": true,
      "trigger": "living_death",
      "playerKilled": true,
      "type": "grant",
      "killer": {
        "key": "minecraft:wither"
      },
      "requirements": {
        "equippedCurios": [
          "tcc:heaven_fire_judgment"
        ]
      },
      "grant": {
        "item": "tcc:summer_beach",
        "overflowMode": "INVENTORY_THEN_DROP",
        "oncePerPlayer": true,
        "bindToPlayer": true
      }
    },
    "tcc_grant_seven_thunders": {
      "enabled": true,
      "trigger": "gun_headshot_kill",
      "type": "grant",
      "requirements": {
        "kills": [
          {
            "entity": {
              "key": "*"
            },
            "count": 30
          }
        ]
      },
      "grant": {
        "item": "tcc:seven_thunders",
        "overflowMode": "INVENTORY_THEN_DROP",
        "oncePerPlayer": true,
        "bindToPlayer": false
      }
    },
    "tcc_grant_xiora": {
      "enabled": true,
      "trigger": "gun_headshot_kill",
      "type": "grant",
      "requirements": {
        "equippedCurios": [
          "tcc:seven_thunders"
        ],
        "requiredEffects": [
          "minecraft:invisibility"
        ],
        "holdingGunTypes": [
          "sniper"
        ],
        "kills": [
          {
            "entity": {
              "key": "*"
            },
            "count": 10
          }
        ]
      },
      "grant": {
        "item": "tcc:xiora",
        "overflowMode": "INVENTORY_THEN_DROP",
        "oncePerPlayer": true,
        "bindToPlayer": false
      }
    },
    "tcc_grant_seven_thunders_thunder_seen": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "evolve",
      "item": "tcc:seven_thunders",
      "to": "tcc:seven_thunders_thunder_seen",
      "bindToPlayer": true,
      "requirements": {
        "equippedCurios": [
          "tcc:raven"
        ],
        "requiredEffects": [
          "minecraft:invisibility"
        ],
        "holdingGunTypes": [
          "sniper"
        ],
        "kills": [
          {
            "entity": {
              "key": "minecraft:ender_dragon"
            },
            "count": 1
          }
        ]
      },
      "excludeNbtKeys": []
    },
    "tcc_summer_beach_gain_imaginary_resistance": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "attribute",
      "item": "tcc:summer_beach",
      "requirements": {
        "holdingGunTypes": [
          "pistol"
        ]
      },
      "progress": {
        "attribute": "tcc:imaginary_damage_resistance",
        "operation": "ADDITION",
        "cap": 20.0
      },
      "kills": [
        {
          "entity": {
            "key": "minecraft:wither"
          },
          "value": 1.0
        }
      ]
    },
    "tcc_brahma_beasts_gain_imaginary_resistance": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "attribute",
      "item": "tcc:brahma_beasts",
      "requirements": {
        "holdingGunTypes": [
          "pistol"
        ]
      },
      "progress": {
        "attribute": "tcc:imaginary_damage_resistance",
        "operation": "ADDITION",
        "cap": 20.0
      },
      "kills": [
        {
          "entity": {
            "key": "minecraft:ender_dragon"
          },
          "value": 20.0
        }
      ]
    },
    "tcc_salvation_imaginary_resistance_cap": {
      "enabled": true,
      "trigger": "living_death",
      "type": "attribute",
      "item": "tcc:salvation",
      "progress": {
        "attribute": "tcc:imaginary_damage_resistance",
        "operation": "ADDITION",
        "cap": 20.0
      },
      "kills": []
    },
    "tcc_xiora_gain_imaginary_resistance": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "attribute",
      "item": "tcc:xiora",
      "progress": {
        "attribute": "tcc:imaginary_damage_resistance",
        "operation": "ADDITION",
        "cap": 20.0
      },
      "kills": [
        {
          "entity": {
            "key": "minecraft:wither"
          },
          "value": 1.0
        }
      ]
    },
    "tcc_raven_gain_imaginary_resistance": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "attribute",
      "item": "tcc:raven",
      "progress": {
        "attribute": "tcc:imaginary_damage_resistance",
        "operation": "ADDITION",
        "cap": 20.0
      },
      "kills": [
        {
          "entity": {
            "key": "minecraft:wither"
          },
          "value": 1.0
        }
      ]
    },
    "tcc_island_boom_raven_gain_imaginary_resistance": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "attribute",
      "item": "tcc:island_boom_raven",
      "progress": {
        "attribute": "tcc:imaginary_damage_resistance",
        "operation": "ADDITION",
        "cap": 20.0
      },
      "kills": [
        {
          "entity": {
            "key": "minecraft:wither"
          },
          "value": 1.0
        }
      ]
    },
    "tcc_xiora_to_tcc_raven": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "evolve",
      "item": "tcc:xiora",
      "to": "tcc:raven",
      "bindToPlayer": true,
      "requirements": {
        "requiredEffects": [
          "minecraft:invisibility"
        ],
        "holdingGunTypes": [
          "sniper"
        ],
        "kills": [
          {
            "entity": {
              "key": "minecraft:ender_dragon"
            },
            "count": 1
          }
        ]
      },
      "excludeNbtKeys": []
    },
    "tcc_raven_to_tcc_island_boom_raven": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "evolve",
      "item": "tcc:raven",
      "to": "tcc:island_boom_raven",
      "bindToPlayer": true,
      "requirementsRef": [
        {
          "item": "tcc:seven_thunders_thunder_seen",
          "to": "tcc:judgement_key"
        }
      ],
      "requirements": {
        "equippedCurios": [
          "tcc:seven_thunders_thunder_seen"
        ],
        "holdingGunTypes": [
          "sniper"
        ],
        "minDistance": 100.0,
        "kills": [
          {
            "entity": {
              "key": "minecraft:ender_dragon"
            },
            "count": 1
          }
        ],
        "attributes": [
          {
            "attribute": "tcc:imaginary_damage_resistance",
            "comparator": "gt",
            "value": 60.0
          }
        ]
      },
      "excludeNbtKeys": []
    },
    "tcc_summer_beach_to_tcc_brahma_beasts": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "evolve",
      "item": "tcc:summer_beach",
      "to": "tcc:brahma_beasts",
      "requirements": {
        "equippedCurios": [
          "tcc:heaven_fire_apocalypse"
        ],
        "holdingGunTypes": [
          "pistol"
        ],
        "kills": [
          {
            "entity": {
              "key": "minecraft:ender_dragon"
            },
            "count": 1
          }
        ]
      },
      "excludeNbtKeys": []
    },
    "tcc_brahma_beasts_to_tcc_salvation": {
      "enabled": true,
      "trigger": "gun_kill",
      "type": "evolve",
      "item": "tcc:brahma_beasts",
      "to": "tcc:salvation",
      "requirementsRef": [
        {
          "item": "tcc:heaven_fire_apocalypse",
          "to": "tcc:heaven_fire_apocalypse_endless"
        }
      ],
      "requirements": {
        "equippedCurios": [
          "tcc:heaven_fire_apocalypse"
        ],
        "holdingGunTypes": [
          "pistol"
        ],
        "kills": [
          {
            "entity": {
              "key": "minecraft:ender_dragon"
            },
            "count": 2
          }
        ],
        "attributes": [
          {
            "attribute": "tcc:imaginary_damage_resistance",
            "comparator": "gt",
            "value": 80.0
          }
        ]
      },
      "excludeNbtKeys": []
    },
    "tcc_heaven_fire_judgment_to_tcc_heaven_fire_apocalypse": {
      "enabled": true,
      "trigger": "bleeding_settlement",
      "type": "evolve",
      "item": "tcc:heaven_fire_judgment",
      "to": "tcc:heaven_fire_apocalypse",
      "requirements": {
        "attributes": [
          {
            "attribute": "tcc:imaginary_damage_resistance",
            "comparator": "gte",
            "value": 40.0
          }
        ]
      },
      "excludeNbtKeys": []
    }
  }
}
