From 6310d80e7ca0f8ceb91fe3ef3e2ab8f57f5c8e57 Mon Sep 17 00:00:00 2001 From: MuteTiefling Date: Sat, 15 Jul 2023 22:31:04 -0400 Subject: [PATCH 1/4] Apotheosis updates for rebalancing --- .../apotheosis/minibosses/occultism.js | 10 ++++----- .../apotheosis/minibosses/twilightforest.js | 22 +++++-------------- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/occultism.js b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/occultism.js index aadeb8e9b..a7d447424 100644 --- a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/occultism.js +++ b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/occultism.js @@ -33,7 +33,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 190, steps: 10, step: 2 } + value: 200 } ] } @@ -61,7 +61,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 100, steps: 10, step: 2 } + value: 100 } ] } @@ -88,7 +88,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 75, steps: 10, step: 2 } + value: 75 } ] }, @@ -128,7 +128,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 80, steps: 10, step: 2 } + value: 80 } ] }, @@ -185,7 +185,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 75, steps: 10, step: 2 } + value: 80 } ] }, diff --git a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/twilightforest.js b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/twilightforest.js index 072c31497..d196a9bda 100644 --- a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/twilightforest.js +++ b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/twilightforest.js @@ -33,7 +33,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 50, steps: 1, step: 0 } + value: { min: 20, steps: 1, step: 0 } } ] }, @@ -82,13 +82,7 @@ ServerEvents.highPriorityData((event) => { { effect: 'minecraft:strength', amplifier: 0, chance: 1.0 }, { effect: 'minecraft:resistance', amplifier: 0, chance: 1.0 } ], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 30, steps: 10, step: 2 } - } - ] + attribute_modifiers: [] } }, { @@ -109,13 +103,7 @@ ServerEvents.highPriorityData((event) => { { effect: 'minecraft:strength', amplifier: 1, chance: 1.0 }, { effect: 'minecraft:resistance', amplifier: 0, chance: 1.0 } ], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 30, steps: 10, step: 2 } - } - ] + attribute_modifiers: [] }, supporting_entities: [ { @@ -249,7 +237,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 200, steps: 1, step: 0 } + value: 100 } ] } @@ -273,7 +261,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 300, steps: 1, step: 0 } + value: 300 } ] } From 7d5b94de1eb6c5dfae94358ca2c744be40ad489b Mon Sep 17 00:00:00 2001 From: MuteTiefling Date: Sat, 15 Jul 2023 23:32:23 -0400 Subject: [PATCH 2/4] apo bosses --- config/attributefix.json | 244 ++++--- .../recipes/apotheosis/bosses/overworld.js | 555 +--------------- .../apotheosis/bosses/the_bumblezone.js | 149 +++-- .../recipes/apotheosis/bosses/the_end.js | 323 +--------- .../recipes/apotheosis/bosses/the_nether.js | 415 +----------- .../apotheosis/bosses/twilight_forest.js | 416 +----------- .../recipes/apotheosis/bosses/overworld.js | 595 +++++++----------- .../apotheosis/bosses/the_bumblezone.js | 149 +++-- .../recipes/apotheosis/bosses/the_end.js | 323 +--------- .../recipes/apotheosis/bosses/the_nether.js | 409 +----------- .../apotheosis/bosses/twilight_forest.js | 416 +----------- 11 files changed, 729 insertions(+), 3265 deletions(-) diff --git a/config/attributefix.json b/config/attributefix.json index eac132b09..303d0826e 100644 --- a/config/attributefix.json +++ b/config/attributefix.json @@ -55,15 +55,15 @@ "value": 10000000 } }, - "forge:nametag_distance": { + "apotheosis:healing_received": { "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 64, - "value": 10000000 + "default": 10, + "value": 10 } }, "forge:entity_gravity": { @@ -88,29 +88,29 @@ "value": 10000000 } }, - "ars_nouveau:ars_nouveau.perk.percent_max_mana": { + "apotheosis:draw_speed": { "enabled": false, "min": { - "default": 0, - "value": 0 + "default": 1, + "value": 1 }, "max": { - "default": 10000, + "default": 4, "value": 10000000 } }, - "minecraft:generic.attack_speed": { + "minecraft:generic.luck": { "enabled": true, "min": { - "default": 0, - "value": 0 + "default": -1024, + "value": -1024 }, "max": { "default": 1024, "value": 10000000 } }, - "apotheosis:cold_damage": { + "apotheosis:ghost_health": { "enabled": false, "min": { "default": 0, @@ -121,95 +121,117 @@ "value": 10000000 } }, - "ars_nouveau:ars_nouveau.perk.mana_regen": { + "apotheosis:prot_pierce": { "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 2000, - "value": 10000000 + "default": 34, + "value": 34 } }, - "minecraft:generic.attack_damage": { - "enabled": true, + "apotheosis:armor_pierce": { + "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 2048, - "value": 10000000 + "default": 1000, + "value": 1000 } }, - "apotheosis:draw_speed": { + "apotheosis:prot_shred": { "enabled": false, "min": { + "default": 0, + "value": 0 + }, + "max": { "default": 1, "value": 1 + } + }, + "ars_nouveau:ars_nouveau.perk.saturation": { + "enabled": false, + "min": { + "default": 0, + "value": 0 }, "max": { - "default": 4, + "default": 10000, "value": 10000000 } }, - "minecraft:generic.luck": { - "enabled": true, + "forge:reach_distance": { + "enabled": false, "min": { - "default": -1024, - "value": -1024 + "default": 0, + "value": 0 }, "max": { "default": 1024, "value": 10000000 } }, - "ars_nouveau:ars_nouveau.perk.feather": { + "apotheosis:arrow_damage": { "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 1, + "default": 1024, "value": 10000000 } }, - "ars_nouveau:max_mana": { + "apotheosis:fire_damage": { "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 10000, + "default": 1024, "value": 10000000 } }, - "minecraft:generic.armor": { + "apotheosis:piercing": { + "enabled": false, + "min": { + "default": 1, + "value": 1 + }, + "max": { + "default": 2, + "value": 10000000 + } + }, + "minecraft:zombie.spawn_reinforcements": { "enabled": true, "min": { "default": 0, "value": 0 }, "max": { - "default": 30, + "default": 1, "value": 10000000 } }, - "apotheosis:crit_damage": { + "apotheosis:current_hp_damage": { "enabled": false, "min": { "default": 1, "value": 1 }, "max": { - "default": 1024, + "default": 2, "value": 10000000 } }, - "apotheosis:ghost_health": { + "apotheosis:overheal": { "enabled": false, "min": { "default": 0, @@ -220,30 +242,41 @@ "value": 10000000 } }, - "ars_nouveau:ars_nouveau.perk.saturation": { + "apotheosis:crit_chance": { "enabled": false, + "min": { + "default": 1, + "value": 1 + }, + "max": { + "default": 1024, + "value": 10000000 + } + }, + "minecraft:generic.attack_knockback": { + "enabled": true, "min": { "default": 0, "value": 0 }, "max": { - "default": 10000, + "default": 5, "value": 10000000 } }, - "ars_nouveau:mana_regen": { + "forge:swim_speed": { "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 2000, + "default": 1024, "value": 10000000 } }, - "minecraft:generic.flying_speed": { - "enabled": true, + "ars_nouveau:ars_nouveau.perk.wixie": { + "enabled": false, "min": { "default": 0, "value": 0 @@ -253,40 +286,62 @@ "value": 10000000 } }, - "forge:reach_distance": { - "enabled": false, + "minecraft:generic.armor_toughness": { + "enabled": true, "min": { "default": 0, "value": 0 }, "max": { - "default": 1024, + "default": 20, "value": 10000000 } }, - "ars_nouveau:ars_nouveau.perk.toughness": { + "forge:nametag_distance": { "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 1024, + "default": 64, "value": 10000000 } }, - "apotheosis:life_steal": { + "apotheosis:dodge_chance": { "enabled": false, "min": { + "default": 0, + "value": 0 + }, + "max": { "default": 1, "value": 1 + } + }, + "ars_nouveau:ars_nouveau.perk.percent_max_mana": { + "enabled": false, + "min": { + "default": 0, + "value": 0 + }, + "max": { + "default": 10000, + "value": 10000000 + } + }, + "minecraft:generic.attack_speed": { + "enabled": true, + "min": { + "default": 0, + "value": 0 }, "max": { "default": 1024, "value": 10000000 } }, - "apotheosis:arrow_damage": { + "apotheosis:cold_damage": { "enabled": false, "min": { "default": 0, @@ -297,29 +352,29 @@ "value": 10000000 } }, - "apotheosis:experience_gained": { + "ars_nouveau:ars_nouveau.perk.mana_regen": { "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 1024, + "default": 2000, "value": 10000000 } }, - "minecraft:generic.movement_speed": { + "minecraft:generic.attack_damage": { "enabled": true, "min": { "default": 0, "value": 0 }, "max": { - "default": 1024, + "default": 2048, "value": 10000000 } }, - "caelus:fall_flying": { + "ars_nouveau:ars_nouveau.perk.feather": { "enabled": false, "min": { "default": 0, @@ -330,62 +385,62 @@ "value": 10000000 } }, - "apotheosis:fire_damage": { + "ars_nouveau:max_mana": { "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 1024, + "default": 10000, "value": 10000000 } }, - "minecraft:generic.max_health": { + "minecraft:generic.armor": { "enabled": true, "min": { - "default": 1, - "value": 1 + "default": 0, + "value": 0 }, "max": { - "default": 1024, + "default": 30, "value": 10000000 } }, - "apotheosis:piercing": { + "apotheosis:crit_damage": { "enabled": false, "min": { "default": 1, "value": 1 }, "max": { - "default": 2, + "default": 1024, "value": 10000000 } }, - "minecraft:zombie.spawn_reinforcements": { - "enabled": true, + "ars_nouveau:mana_regen": { + "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 1, + "default": 2000, "value": 10000000 } }, - "apotheosis:current_hp_damage": { - "enabled": false, + "minecraft:generic.flying_speed": { + "enabled": true, "min": { - "default": 1, - "value": 1 + "default": 0, + "value": 0 }, "max": { - "default": 2, + "default": 1024, "value": 10000000 } }, - "apotheosis:overheal": { + "ars_nouveau:ars_nouveau.perk.toughness": { "enabled": false, "min": { "default": 0, @@ -396,7 +451,7 @@ "value": 10000000 } }, - "apotheosis:crit_chance": { + "apotheosis:life_steal": { "enabled": false, "min": { "default": 1, @@ -407,91 +462,102 @@ "value": 10000000 } }, - "minecraft:horse.jump_strength": { - "enabled": true, + "apotheosis:experience_gained": { + "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 2, + "default": 1024, "value": 10000000 } }, - "ars_nouveau:ars_nouveau.perk.spell_damage": { - "enabled": false, + "minecraft:generic.movement_speed": { + "enabled": true, "min": { "default": 0, "value": 0 }, "max": { - "default": 10, + "default": 1024, "value": 10000000 } }, - "minecraft:generic.attack_knockback": { - "enabled": true, + "caelus:fall_flying": { + "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 5, + "default": 1, "value": 10000000 } }, - "forge:swim_speed": { + "apotheosis:armor_shred": { "enabled": false, "min": { "default": 0, "value": 0 }, + "max": { + "default": 2, + "value": 2 + } + }, + "minecraft:generic.max_health": { + "enabled": true, + "min": { + "default": 1, + "value": 1 + }, "max": { "default": 1024, "value": 10000000 } }, - "ars_nouveau:ars_nouveau.perk.warding": { - "enabled": false, + "minecraft:horse.jump_strength": { + "enabled": true, "min": { "default": 0, "value": 0 }, "max": { - "default": 1024, + "default": 2, "value": 10000000 } }, - "ars_nouveau:ars_nouveau.perk.wixie": { + "ars_nouveau:ars_nouveau.perk.spell_damage": { "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 1024, + "default": 10, "value": 10000000 } }, - "minecraft:generic.knockback_resistance": { - "enabled": true, + "ars_nouveau:ars_nouveau.perk.warding": { + "enabled": false, "min": { "default": 0, "value": 0 }, "max": { - "default": 1, + "default": 1024, "value": 10000000 } }, - "minecraft:generic.armor_toughness": { + "minecraft:generic.knockback_resistance": { "enabled": true, "min": { "default": 0, "value": 0 }, "max": { - "default": 20, + "default": 1, "value": 10000000 } } diff --git a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/overworld.js b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/overworld.js index 5abe158ed..e31efc336 100644 --- a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/overworld.js +++ b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/overworld.js @@ -13,517 +13,6 @@ ServerEvents.highPriorityData((event) => { } const id_prefix = 'apotheosis:bosses/overworld/'; const recipes = [ - { - entity: 'minecraft:goat', - weight: 1, - quality: 5, - size: { width: 1.4, height: 1.4 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'mythic', - max_rarity: 'mythic', - stats: { - mythic: { - enchant_chance: 0.75, - enchantment_levels: [25, 20, 50, 40], - effects: [ - { effect: 'minecraft:fire_resistance', chance: 1 }, - { effect: 'minecraft:jump_boost', amplifier: { min: 3, max: 3 }, chance: 1 } - ], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 600, steps: 100, step: 5 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 10, step: 0.01 } - }, - { attribute: 'minecraft:generic.attack_knockback', operation: 'ADDITION', value: 5 }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'ADDITION', - value: { min: 40, steps: 20, step: 2 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 } - ] - } - } - }, - { - entity: 'minecraft:husk', - weight: 150, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.25, - enchantment_levels: [12, 8, 20, 14], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 20, steps: 20, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.05, steps: 5, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 20, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.3 } - ] - }, - epic: { - enchant_chance: 0.35, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'minecraft:skeleton', - weight: 180, - quality: 0, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld_bow'], - dimensions: ['minecraft:overworld'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.25, - enchantment_levels: [12, 8, 20, 14], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 20, steps: 20, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.05, steps: 5, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 20, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.25 } - ] - }, - epic: { - enchant_chance: 0.3, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.33 } - ] - } - } - }, - { - entity: 'minecraft:stray', - weight: 150, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld_bow'], - dimensions: ['minecraft:overworld'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.25, - enchantment_levels: [12, 8, 20, 14], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 20, steps: 20, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.05, steps: 5, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 20, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.25 } - ] - }, - epic: { - enchant_chance: 0.35, - enchantment_levels: [17, 12, 25, 18], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 45, steps: 30, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 10, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.35 } - ] - } - } - }, - { - entity: 'minecraft:vindicator', - weight: 100, - quality: 4, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'epic', - max_rarity: 'epic', - stats: { - epic: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 70, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.45 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 7 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 3.5 } - ] - } - } - }, - { - entity: 'minecraft:witch', - weight: 100, - quality: 4, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'epic', - max_rarity: 'epic', - stats: { - epic: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 70, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.45 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 7 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 3.5 } - ] - } - } - }, - { - entity: 'minecraft:zombie', - weight: 200, - quality: 0, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.25, - enchantment_levels: [12, 8, 20, 14], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 20, steps: 20, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.05, steps: 5, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 20, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.3 } - ] - }, - epic: { - enchant_chance: 0.3, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'ars_nouveau:wilden_hunter', - weight: 33, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'epic', - max_rarity: 'epic', - stats: { - epic: { - enchant_chance: 0.35, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'ars_nouveau:wilden_guardian', - weight: 33, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'epic', - max_rarity: 'epic', - stats: { - epic: { - enchant_chance: 0.35, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'ars_nouveau:wilden_stalker', - weight: 33, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'epic', - max_rarity: 'epic', - stats: { - epic: { - enchant_chance: 0.35, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, { entity: 'ars_elemental:water_mage', weight: 20, @@ -546,35 +35,51 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } + }, + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 + }, + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - const disabled_recipes = [{ entity: 'minecraft:bee' }]; - - disabled_recipes.forEach((recipe) => { - recipes.push({ entity: recipe.entity, conditions: [{ type: 'forge:false' }] }); - }); - - printSpawnChances(recipes, 'overworld'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); diff --git a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_bumblezone.js b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_bumblezone.js index e50cf30c0..5165088a9 100644 --- a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_bumblezone.js +++ b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_bumblezone.js @@ -31,32 +31,44 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 600, steps: 1.0, step: 5 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 10, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { - attribute: 'minecraft:generic.flying_speed', + attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } }, { - attribute: 'minecraft:generic.attack_knockback', + attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', - value: { min: 2, steps: 6, step: 0.5 } + value: 0.5 }, { - attribute: 'minecraft:generic.attack_damage', + attribute: 'minecraft:generic.armor', operation: 'ADDITION', - value: { min: 40, steps: 20, step: 2 } + value: 4 }, { - attribute: 'minecraft:generic.knockback_resistance', + attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', - value: 1 + value: 2 } ] } @@ -80,81 +92,44 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 600, steps: 1.0, step: 5 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 10, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_knockback', - operation: 'ADDITION', - value: { min: 2, steps: 6, step: 0.5 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', - operation: 'ADDITION', - value: { min: 40, steps: 20, step: 2 } - }, - { - attribute: 'minecraft:generic.knockback_resistance', - operation: 'ADDITION', - value: 1 - } - ] - } - } - }, - { - entity: 'minecraft:cave_spider', - weight: 250, - quality: 6, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#the_bumblezone'], - dimensions: ['the_bumblezone:the_bumblezone'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 1.0, - enchantment_levels: [36, 30, 100, 85], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1.0 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 600, steps: 1.0, step: 5 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 10, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } }, { - attribute: 'minecraft:generic.attack_knockback', + attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', - value: { min: 2, steps: 6, step: 0.5 } + value: 0.5 }, { - attribute: 'minecraft:generic.attack_damage', + attribute: 'minecraft:generic.armor', operation: 'ADDITION', - value: { min: 40, steps: 20, step: 2 } + value: 4 }, { - attribute: 'minecraft:generic.knockback_resistance', + attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', - value: 1 + value: 2 } ] } @@ -182,29 +157,51 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } + }, + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 + }, + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - printSpawnChances(recipes, 'the_bumblezone'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); diff --git a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_end.js b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_end.js index 8da09d6a5..18143d54e 100644 --- a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_end.js +++ b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_end.js @@ -13,285 +13,6 @@ ServerEvents.highPriorityData((event) => { } const id_prefix = 'apotheosis:bosses/the_end/'; const recipes = [ - { - entity: 'minecraft:evoker', - weight: 200, - quality: 6, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'mythic', - max_rarity: 'mythic', - stats: { - mythic: { - enchant_chance: 1, - enchantment_levels: [36, 30, 100, 85], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 300, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } - ] - } - } - }, - { - entity: 'minecraft:phantom', - weight: 140, - quality: 3, - size: { width: 2.5, height: 1 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.8, - enchantment_levels: [30, 24, 50, 40], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 160, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.16, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.6, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.6 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [32, 25, 60, 50], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 220, steps: 90, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.4, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 14 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 10 } - ] - } - } - }, - { - entity: 'minecraft:shulker', - weight: 200, - quality: 3.5, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'mythic', - max_rarity: 'mythic', - stats: { - mythic: { - enchant_chance: 0.85, - enchantment_levels: [32, 25, 60, 50], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 220, steps: 90, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.4, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 14 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 10 } - ] - } - } - }, - { - entity: 'minecraft:enderman', - weight: 400, - size: { width: 1, height: 3 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.8, - enchantment_levels: [30, 24, 50, 40], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 160, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.16, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.6, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.6 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [32, 25, 60, 50], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 220, steps: 90, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.9, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 14 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 10 } - ] - } - } - }, - { - entity: 'minecraft:endermite', - weight: 40, - quality: 1, - size: { width: 1, height: 3 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.8, - enchantment_levels: [30, 24, 50, 40], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 160, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.16, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.6, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.6 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [32, 25, 60, 50], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 220, steps: 90, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.9, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 14 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 10 } - ] - } - } - }, { entity: 'ars_elemental:air_mage', weight: 20, @@ -314,35 +35,51 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } + }, + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 + }, + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - const disabled_recipes = []; - - disabled_recipes.forEach((recipe) => { - recipes.push({ entity: recipe.entity, conditions: [{ type: 'forge:false' }] }); - }); - - printSpawnChances(recipes, 'the_end'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); diff --git a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_nether.js b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_nether.js index ae85e6962..1ae977da0 100644 --- a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_nether.js +++ b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/the_nether.js @@ -13,371 +13,6 @@ ServerEvents.highPriorityData((event) => { } const id_prefix = 'apotheosis:bosses/the_nether/'; const recipes = [ - { - entity: 'minecraft:blaze', - weight: 200, - quality: 7, - size: { width: 1.6, height: 1.6 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.75, - enchantment_levels: [26, 22, 40, 30], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 120, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.55 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [30, 25, 48, 35], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 180, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.65 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 10 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 6 } - ] - } - } - }, - { - entity: 'minecraft:piglin', - weight: 200, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.55, - enchantment_levels: [22, 15, 32, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.7, - enchantment_levels: [25, 20, 35, 28], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 100, steps: 70, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - } - } - }, - { - entity: 'minecraft:piglin_brute', - weight: 80, - quality: 4, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'epic', - max_rarity: 'epic', - stats: { - epic: { - enchant_chance: 0.75, - enchantment_levels: [26, 22, 40, 30], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 120, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.55 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - } - } - }, - { - entity: 'minecraft:wither_skeleton', - weight: 200, - quality: 0, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_nether', '#the_nether_bow'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4 } - ] - } - } - }, - { - entity: 'minecraft:zoglin', - weight: 100, - quality: 7, - size: { width: 1.6, height: 1.6 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.75, - enchantment_levels: [26, 22, 40, 30], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 120, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.55 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [30, 25, 48, 35], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 180, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.65 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 10 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 6 } - ] - } - } - }, - { - entity: 'minecraft:zombified_piglin', - weight: 200, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - } - } - }, { entity: 'ars_elemental:fire_mage', weight: 20, @@ -385,10 +20,10 @@ ServerEvents.highPriorityData((event) => { size: { width: 1, height: 2 }, valid_gear_sets: ['#the_nether_mage'], dimensions: ['minecraft:the_nether'], - min_rarity: 'mythic', - max_rarity: 'mythic', + min_rarity: 'epic', + max_rarity: 'epic', stats: { - mythic: { + epic: { enchant_chance: 1, enchantment_levels: [36, 30, 100, 85], effects: [ @@ -401,35 +36,51 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } + }, + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 + }, + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - const disabled_recipes = []; - - disabled_recipes.forEach((recipe) => { - recipes.push({ entity: recipe.entity, conditions: [{ type: 'forge:false' }] }); - }); - - printSpawnChances(recipes, 'the_nether'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); diff --git a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/twilight_forest.js b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/twilight_forest.js index 57a32b609..26b853edf 100644 --- a/kubejs/server_scripts/expert/recipes/apotheosis/bosses/twilight_forest.js +++ b/kubejs/server_scripts/expert/recipes/apotheosis/bosses/twilight_forest.js @@ -13,366 +13,6 @@ ServerEvents.highPriorityData((event) => { } const id_prefix = 'apotheosis:bosses/twilight_forest/'; const recipes = [ - { - entity: 'twilightforest:carminite_golem', - weight: 100, - quality: 7.5, - size: { width: 2, height: 3 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'common', - max_rarity: 'rare', - stats: { - common: { - enchant_chance: 0.75, - enchantment_levels: [26, 22, 40, 30], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 120, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.55 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - rare: { - enchant_chance: 0.85, - enchantment_levels: [30, 25, 48, 35], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 180, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.65 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 10 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 6 } - ] - } - } - }, - { - entity: 'twilightforest:lower_goblin_knight', - weight: 100, - quality: 6, - size: { width: 1.4, height: 2.5 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'common', - max_rarity: 'rare', - stats: { - common: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - rare: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4 } - ] - } - } - }, - { - entity: 'twilightforest:helmet_crab', - weight: 80, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 0.85, - enchantment_levels: [30, 25, 60, 35], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 180, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.65 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 10 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 6 } - ] - } - } - }, - { - entity: 'twilightforest:kobold', - weight: 200, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'twilightforest:redcap_sapper', - weight: 200, - quality: 3, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'common', - max_rarity: 'rare', - stats: { - common: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - rare: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4 } - ] - } - } - }, - { - entity: 'minecraft:skeleton', - weight: 100, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#twilight_bow'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'twilightforest:skeleton_druid', - weight: 200, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#twilight_bow'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, { entity: 'ars_elemental:earth_mage', weight: 20, @@ -395,48 +35,52 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } + }, + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 + }, + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - printSpawnChances(recipes, 'twilight'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); - - // Disable 'twilight' versions. Everything moved to 'twilight_forest' namespace above. - const disabled_recipes = [ - 'carminite_golem', - 'goblin_knight', - 'helmet_crab', - 'knight_phantom', - 'kobold', - 'redcap_sapper', - 'skeleton', - 'skeleton_druid' - ]; - - disabled_recipes.forEach((recipe) => { - event.addJson(`apotheosis:bosses/twilight/${recipe}.json`, { - conditions: [{ type: 'forge:false' }] - }); - }); }); diff --git a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/overworld.js b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/overworld.js index 0eabe5b64..bb445be2a 100644 --- a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/overworld.js +++ b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/overworld.js @@ -14,222 +14,119 @@ ServerEvents.highPriorityData((event) => { const id_prefix = 'apotheosis:bosses/overworld/'; const recipes = [ { - entity: 'minecraft:goat', - weight: 1, - quality: 5, - size: { width: 1.4, height: 1.4 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'mythic', - max_rarity: 'mythic', - stats: { - mythic: { - enchant_chance: 0.75, - enchantment_levels: [25, 20, 50, 40], - effects: [ - { effect: 'minecraft:fire_resistance', chance: 1 }, - { effect: 'minecraft:jump_boost', amplifier: { min: 3, max: 3 }, chance: 1 } - ], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 600, steps: 100, step: 5 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 10, step: 0.01 } - }, - { attribute: 'minecraft:generic.attack_knockback', operation: 'ADDITION', value: 5 }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'ADDITION', - value: { min: 40, steps: 20, step: 2 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 } - ] - } - } - }, - { - entity: 'minecraft:husk', - weight: 150, + entity: 'ars_nouveau:wilden_hunter', + weight: 33, quality: 2, size: { width: 1, height: 2 }, valid_gear_sets: ['#overworld'], dimensions: ['minecraft:overworld'], - min_rarity: 'uncommon', - max_rarity: 'rare', + min_rarity: 'rare', + max_rarity: 'epic', stats: { - uncommon: { - enchant_chance: 0.25, - enchantment_levels: [12, 8, 20, 14], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 20, steps: 20, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.05, steps: 5, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 20, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.3 } - ] - }, rare: { - enchant_chance: 0.35, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], + enchant_chance: 0.5, + enchantment_levels: [19, 12, 27, 22], + effects: [ + { + effect: 'minecraft:fire_resistance', + chance: 1.0 + } + ], attribute_modifiers: [ { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } + value: { + min: 40, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } + value: { + min: 0.1, + steps: 12, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } + value: { + min: 0.25, + steps: 30, + step: 0.01 + } }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'minecraft:skeleton', - weight: 180, - quality: 0, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld_bow'], - dimensions: ['minecraft:overworld'], - min_rarity: 'uncommon', - max_rarity: 'rare', - stats: { - uncommon: { - enchant_chance: 0.25, - enchantment_levels: [12, 8, 20, 14], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ { - attribute: 'minecraft:generic.max_health', + attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', - value: { min: 20, steps: 20, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.05, steps: 5, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 20, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.25 } + value: 0.4 + } ] }, - rare: { - enchant_chance: 0.3, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, + epic: { + enchant_chance: 0.65, + enchantment_levels: [21, 16, 30, 25], + effects: [ { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.33 } - ] - } - } - }, - { - entity: 'minecraft:stray', - weight: 150, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld_bow'], - dimensions: ['minecraft:overworld'], - min_rarity: 'uncommon', - max_rarity: 'rare', - stats: { - uncommon: { - enchant_chance: 0.25, - enchantment_levels: [12, 8, 20, 14], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], + effect: 'minecraft:fire_resistance', + chance: 1.0 + } + ], attribute_modifiers: [ { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 20, steps: 20, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.05, steps: 5, step: 0.01 } + value: { + min: 0.15, + steps: 15, + step: 0.01 + } }, { - attribute: 'apotheosis:arrow_damage', + attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 20, step: 0.01 } + value: { + min: 0.25, + steps: 30, + step: 0.01 + } }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.25 } - ] - }, - rare: { - enchant_chance: 0.35, - enchantment_levels: [17, 12, 25, 18], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ { - attribute: 'minecraft:generic.max_health', + attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', - value: { min: 45, steps: 30, step: 2 } + value: 0.45 }, { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 10, step: 0.01 } + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 5 }, { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.35 } + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 3 + } ] } } }, { - entity: 'minecraft:vindicator', - weight: 100, - quality: 4, + entity: 'ars_nouveau:wilden_guardian', + weight: 33, + quality: 2, size: { width: 1, height: 2 }, valid_gear_sets: ['#overworld'], dimensions: ['minecraft:overworld'], @@ -239,287 +136,209 @@ ServerEvents.highPriorityData((event) => { rare: { enchant_chance: 0.5, enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 40, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, + effects: [ { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], + effect: 'minecraft:fire_resistance', + chance: 1.0 + } + ], attribute_modifiers: [ { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 70, steps: 60, step: 2 } + value: { + min: 40, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } + value: { + min: 0.1, + steps: 12, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } + value: { + min: 0.25, + steps: 30, + step: 0.01 + } }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.45 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 7 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 3.5 } - ] - } - } - }, - { - entity: 'minecraft:witch', - weight: 100, - quality: 4, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ { - attribute: 'minecraft:generic.max_health', + attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', - value: { min: 40, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } + value: 0.4 + } ] }, epic: { enchant_chance: 0.65, enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 70, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, + effects: [ { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.45 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 7 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 3.5 } - ] - } - } - }, - { - entity: 'minecraft:zombie', - weight: 200, - quality: 0, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'uncommon', - max_rarity: 'rare', - stats: { - uncommon: { - enchant_chance: 0.25, - enchantment_levels: [12, 8, 20, 14], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], + effect: 'minecraft:fire_resistance', + chance: 1.0 + } + ], attribute_modifiers: [ { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 20, steps: 20, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.05, steps: 5, step: 0.01 } + value: { + min: 0.15, + steps: 15, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 20, step: 0.01 } + value: { + min: 0.25, + steps: 30, + step: 0.01 + } }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.3 } - ] - }, - rare: { - enchant_chance: 0.3, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ { - attribute: 'minecraft:generic.max_health', + attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } + value: 0.45 }, { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 5 }, { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 3 + } ] } } }, { - entity: 'ars_nouveau:wilden_hunter', + entity: 'ars_nouveau:wilden_stalker', weight: 33, quality: 2, size: { width: 1, height: 2 }, valid_gear_sets: ['#overworld'], dimensions: ['minecraft:overworld'], min_rarity: 'rare', - max_rarity: 'rare', + max_rarity: 'epic', stats: { rare: { - enchant_chance: 0.35, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], + enchant_chance: 0.5, + enchantment_levels: [19, 12, 27, 22], + effects: [ + { + effect: 'minecraft:fire_resistance', + chance: 1.0 + } + ], attribute_modifiers: [ { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } + value: { + min: 40, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } + value: { + min: 0.1, + steps: 12, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } + value: { + min: 0.25, + steps: 30, + step: 0.01 + } }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.4 + } ] - } - } - }, - { - entity: 'ars_nouveau:wilden_guardian', - weight: 33, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 0.35, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], + }, + epic: { + enchant_chance: 0.65, + enchantment_levels: [21, 16, 30, 25], + effects: [ + { + effect: 'minecraft:fire_resistance', + chance: 1.0 + } + ], attribute_modifiers: [ { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } + value: { + min: 0.15, + steps: 15, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } + value: { + min: 0.25, + steps: 30, + step: 0.01 + } }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'ars_nouveau:wilden_stalker', - weight: 33, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#overworld'], - dimensions: ['minecraft:overworld'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 0.35, - enchantment_levels: [15, 10, 23, 17], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ { - attribute: 'minecraft:generic.max_health', + attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', - value: { min: 40, steps: 30, step: 2 } + value: 0.45 }, { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 8, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 5 }, { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 25, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 3 + } ] } } @@ -531,10 +350,10 @@ ServerEvents.highPriorityData((event) => { size: { width: 1, height: 2 }, valid_gear_sets: ['#overworld_mage'], dimensions: ['minecraft:overworld'], - min_rarity: 'rare', - max_rarity: 'rare', + min_rarity: 'mythic', + max_rarity: 'mythic', stats: { - rare: { + mythic: { enchant_chance: 1, enchantment_levels: [36, 30, 100, 85], effects: [ @@ -546,35 +365,51 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } + }, + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 + }, + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - const disabled_recipes = [{ entity: 'minecraft:bee' }]; - - disabled_recipes.forEach((recipe) => { - recipes.push({ entity: recipe.entity, conditions: [{ type: 'forge:false' }] }); - }); - - printSpawnChances(recipes, 'overworld'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); diff --git a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_bumblezone.js b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_bumblezone.js index dcefbbd65..af89d619e 100644 --- a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_bumblezone.js +++ b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_bumblezone.js @@ -31,32 +31,44 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 600, steps: 1.0, step: 5 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 10, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { - attribute: 'minecraft:generic.flying_speed', + attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } }, { - attribute: 'minecraft:generic.attack_knockback', + attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', - value: { min: 2, steps: 6, step: 0.5 } + value: 0.5 }, { - attribute: 'minecraft:generic.attack_damage', + attribute: 'minecraft:generic.armor', operation: 'ADDITION', - value: { min: 40, steps: 20, step: 2 } + value: 4 }, { - attribute: 'minecraft:generic.knockback_resistance', + attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', - value: 1 + value: 2 } ] } @@ -80,81 +92,44 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 600, steps: 1.0, step: 5 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 10, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_knockback', - operation: 'ADDITION', - value: { min: 2, steps: 6, step: 0.5 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', - operation: 'ADDITION', - value: { min: 40, steps: 20, step: 2 } - }, - { - attribute: 'minecraft:generic.knockback_resistance', - operation: 'ADDITION', - value: 1 - } - ] - } - } - }, - { - entity: 'minecraft:cave_spider', - weight: 250, - quality: 6, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#the_bumblezone'], - dimensions: ['the_bumblezone:the_bumblezone'], - min_rarity: 'mythic', - max_rarity: 'mythic', - stats: { - mythic: { - enchant_chance: 1.0, - enchantment_levels: [36, 30, 100, 85], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1.0 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 600, steps: 1.0, step: 5 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 10, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.45, steps: 10, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } }, { - attribute: 'minecraft:generic.attack_knockback', + attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', - value: { min: 2, steps: 6, step: 0.5 } + value: 0.5 }, { - attribute: 'minecraft:generic.attack_damage', + attribute: 'minecraft:generic.armor', operation: 'ADDITION', - value: { min: 40, steps: 20, step: 2 } + value: 4 }, { - attribute: 'minecraft:generic.knockback_resistance', + attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', - value: 1 + value: 2 } ] } @@ -182,29 +157,51 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } + }, + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 + }, + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - printSpawnChances(recipes, 'the_bumblezone'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); diff --git a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_end.js b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_end.js index 037800028..e4ee02020 100644 --- a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_end.js +++ b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_end.js @@ -13,285 +13,6 @@ ServerEvents.highPriorityData((event) => { } const id_prefix = 'apotheosis:bosses/the_end/'; const recipes = [ - { - entity: 'minecraft:evoker', - weight: 200, - quality: 6, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'mythic', - max_rarity: 'mythic', - stats: { - mythic: { - enchant_chance: 1, - enchantment_levels: [36, 30, 100, 85], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 300, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } - ] - } - } - }, - { - entity: 'minecraft:phantom', - weight: 140, - quality: 3, - size: { width: 2.5, height: 1 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.8, - enchantment_levels: [30, 24, 50, 40], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 160, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.16, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.6, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.6 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [32, 25, 60, 50], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 220, steps: 90, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.4, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 14 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 10 } - ] - } - } - }, - { - entity: 'minecraft:shulker', - weight: 200, - quality: 3.5, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'mythic', - max_rarity: 'mythic', - stats: { - mythic: { - enchant_chance: 0.85, - enchantment_levels: [32, 25, 60, 50], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 220, steps: 90, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.4, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 14 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 10 } - ] - } - } - }, - { - entity: 'minecraft:enderman', - weight: 400, - size: { width: 1, height: 3 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.8, - enchantment_levels: [30, 24, 50, 40], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 160, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.16, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.6, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.6 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [32, 25, 60, 50], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 220, steps: 90, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.9, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 14 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 10 } - ] - } - } - }, - { - entity: 'minecraft:endermite', - weight: 40, - quality: 1, - size: { width: 1, height: 3 }, - valid_gear_sets: ['#the_end'], - dimensions: ['minecraft:the_end'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.8, - enchantment_levels: [30, 24, 50, 40], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 160, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.16, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.6, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.6 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [32, 25, 60, 50], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 220, steps: 90, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.2, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.9, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 14 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 10 } - ] - } - } - }, { entity: 'ars_elemental:air_mage', weight: 20, @@ -314,35 +35,51 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } + }, + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 + }, + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - const disabled_recipes = []; - - disabled_recipes.forEach((recipe) => { - recipes.push({ entity: recipe.entity, conditions: [{ type: 'forge:false' }] }); - }); - - printSpawnChances(recipes, 'the_end'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); diff --git a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_nether.js b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_nether.js index 36f10e292..050dad80b 100644 --- a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_nether.js +++ b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/the_nether.js @@ -13,371 +13,6 @@ ServerEvents.highPriorityData((event) => { } const id_prefix = 'apotheosis:bosses/the_nether/'; const recipes = [ - { - entity: 'minecraft:blaze', - weight: 200, - quality: 7, - size: { width: 1.6, height: 1.6 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.75, - enchantment_levels: [26, 22, 40, 30], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 120, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.55 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [30, 25, 48, 35], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 180, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.65 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 10 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 6 } - ] - } - } - }, - { - entity: 'minecraft:piglin', - weight: 200, - quality: 2, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.55, - enchantment_levels: [22, 15, 32, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.7, - enchantment_levels: [25, 20, 35, 28], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 100, steps: 70, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - } - } - }, - { - entity: 'minecraft:piglin_brute', - weight: 80, - quality: 4, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'epic', - max_rarity: 'epic', - stats: { - epic: { - enchant_chance: 0.75, - enchantment_levels: [26, 22, 40, 30], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 120, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.55 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - } - } - }, - { - entity: 'minecraft:wither_skeleton', - weight: 200, - quality: 0, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_nether', '#the_nether_bow'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4 } - ] - } - } - }, - { - entity: 'minecraft:zoglin', - weight: 100, - quality: 7, - size: { width: 1.6, height: 1.6 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.75, - enchantment_levels: [26, 22, 40, 30], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 120, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.55 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [30, 25, 48, 35], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 180, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.65 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 10 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 6 } - ] - } - } - }, - { - entity: 'minecraft:zombified_piglin', - weight: 200, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#the_nether'], - dimensions: ['minecraft:the_nether'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 12, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - } - } - }, { entity: 'ars_elemental:fire_mage', weight: 20, @@ -401,35 +36,51 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } + }, + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 + }, + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - const disabled_recipes = []; - - disabled_recipes.forEach((recipe) => { - recipes.push({ entity: recipe.entity, conditions: [{ type: 'forge:false' }] }); - }); - - printSpawnChances(recipes, 'the_nether'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); diff --git a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/twilight_forest.js b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/twilight_forest.js index 69c0faca5..c731c23ae 100644 --- a/kubejs/server_scripts/normal/recipes/apotheosis/bosses/twilight_forest.js +++ b/kubejs/server_scripts/normal/recipes/apotheosis/bosses/twilight_forest.js @@ -14,366 +14,6 @@ ServerEvents.highPriorityData((event) => { const id_prefix = 'apotheosis:bosses/twilight_forest/'; const recipes = [ - { - entity: 'twilightforest:carminite_golem', - weight: 100, - quality: 7.5, - size: { width: 2, height: 3 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'epic', - max_rarity: 'mythic', - stats: { - epic: { - enchant_chance: 0.75, - enchantment_levels: [26, 22, 40, 30], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 120, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.12, steps: 25, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.55 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4.5 } - ] - }, - mythic: { - enchant_chance: 0.85, - enchantment_levels: [30, 25, 48, 35], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 180, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.flying_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.65 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 10 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 6 } - ] - } - } - }, - { - entity: 'twilightforest:lower_goblin_knight', - weight: 100, - quality: 6, - size: { width: 1.4, height: 2.5 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4 } - ] - } - } - }, - { - entity: 'twilightforest:helmet_crab', - weight: 80, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'mythic', - max_rarity: 'mythic', - stats: { - mythic: { - enchant_chance: 0.85, - enchantment_levels: [30, 25, 60, 35], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 180, steps: 75, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.15, steps: 35, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.32, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.65 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 10 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 6 } - ] - } - } - }, - { - entity: 'twilightforest:kobold', - weight: 200, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'twilightforest:redcap_sapper', - weight: 200, - quality: 3, - size: { width: 1, height: 1 }, - valid_gear_sets: ['#twilight'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'rare', - max_rarity: 'epic', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - }, - epic: { - enchant_chance: 0.65, - enchantment_levels: [21, 16, 30, 25], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 22, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.35, steps: 35, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.5 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 8 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 4 } - ] - } - } - }, - { - entity: 'minecraft:skeleton', - weight: 100, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#twilight_bow'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, - { - entity: 'twilightforest:skeleton_druid', - weight: 200, - size: { width: 1, height: 2 }, - valid_gear_sets: ['#twilight_bow'], - dimensions: ['twilightforest:twilight_forest'], - min_rarity: 'rare', - max_rarity: 'rare', - stats: { - rare: { - enchant_chance: 0.5, - enchantment_levels: [19, 12, 27, 22], - effects: [{ effect: 'minecraft:fire_resistance', chance: 1 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 40, step: 2 } - }, - { - attribute: 'minecraft:generic.movement_speed', - operation: 'MULTIPLY_BASE', - value: { min: 0.1, steps: 18, step: 0.01 } - }, - { - attribute: 'minecraft:generic.attack_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { - attribute: 'apotheosis:arrow_damage', - operation: 'MULTIPLY_BASE', - value: { min: 0.25, steps: 30, step: 0.01 } - }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 0.4 } - ] - } - } - }, { entity: 'ars_elemental:earth_mage', weight: 20, @@ -396,48 +36,52 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 90, steps: 60, step: 2 } + value: { + min: 60, + steps: 40, + step: 2 + } }, { attribute: 'minecraft:generic.movement_speed', operation: 'MULTIPLY_BASE', - value: { min: 0.3, steps: 35, step: 0.01 } + value: { + min: 0.2, + steps: 20, + step: 0.01 + } }, { attribute: 'minecraft:generic.attack_damage', operation: 'MULTIPLY_BASE', - value: { min: 1.2, steps: 40, step: 0.01 } + value: { + min: 0.35, + steps: 35, + step: 0.01 + } }, - { attribute: 'minecraft:generic.knockback_resistance', operation: 'ADDITION', value: 1 }, - { attribute: 'minecraft:generic.armor', operation: 'ADDITION', value: 20 }, - { attribute: 'minecraft:generic.armor_toughness', operation: 'ADDITION', value: 20 } + { + attribute: 'minecraft:generic.knockback_resistance', + operation: 'ADDITION', + value: 0.5 + }, + { + attribute: 'minecraft:generic.armor', + operation: 'ADDITION', + value: 4 + }, + { + attribute: 'minecraft:generic.armor_toughness', + operation: 'ADDITION', + value: 2 + } ] } } } ]; - printSpawnChances(recipes, 'twilight'); - recipes.forEach((recipe) => { event.addJson(`${id_prefix}${recipe.entity.split(':')[1]}.json`, recipe); }); - - // Disable 'twilight' versions. Everything moved to 'twilight_forest' namespace above. - const disabled_recipes = [ - 'carminite_golem', - 'goblin_knight', - 'helmet_crab', - 'knight_phantom', - 'kobold', - 'redcap_sapper', - 'skeleton', - 'skeleton_druid' - ]; - - disabled_recipes.forEach((recipe) => { - event.addJson(`apotheosis:bosses/twilight/${recipe}.json`, { - conditions: [{ type: 'forge:false' }] - }); - }); }); From 61bb58c8123fd3654482c910611b0380f8682585 Mon Sep 17 00:00:00 2001 From: MuteTiefling Date: Sat, 15 Jul 2023 23:40:20 -0400 Subject: [PATCH 3/4] minibosses --- .../apotheosis/minibosses/ars_nouveau.js | 2 +- .../apotheosis/minibosses/minecraft.js | 40 ++++--------------- .../apotheosis/minibosses/twilightforest.js | 6 +-- 3 files changed, 12 insertions(+), 36 deletions(-) diff --git a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/ars_nouveau.js b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/ars_nouveau.js index 7163d2ad2..bcfe33bfd 100644 --- a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/ars_nouveau.js +++ b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/ars_nouveau.js @@ -53,7 +53,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 140, steps: 1, step: 0 } + value: 140 }, { attribute: 'minecraft:generic.knockback_resistance', diff --git a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/minecraft.js b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/minecraft.js index f47d9bd74..69f4c24f7 100644 --- a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/minecraft.js +++ b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/minecraft.js @@ -59,13 +59,7 @@ ServerEvents.highPriorityData((event) => { enchant_chance: 1.0, enchantment_levels: [15, 15, 15, 15], effects: [{ effect: 'minecraft:strength', amplifier: 0, chance: 1.0 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: 20 - } - ] + attribute_modifiers: [] } }, { @@ -90,7 +84,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: 40 + value: 20 } ] } @@ -138,7 +132,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: 200 + value: 90 } ] } @@ -186,7 +180,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: 30 + value: 24 } ] } @@ -272,13 +266,7 @@ ServerEvents.highPriorityData((event) => { enchant_chance: 1.0, enchantment_levels: [15, 20, 15, 20], effects: [], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: 30 - } - ] + attribute_modifiers: [] } }, { @@ -300,7 +288,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: 50 + value: 30 } ] } @@ -417,13 +405,7 @@ ServerEvents.highPriorityData((event) => { enchant_chance: 1.0, enchantment_levels: [15, 15, 15, 15], effects: [{ effect: 'minecraft:resistance', amplifier: 0, chance: 1.0 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: 40 - } - ] + attribute_modifiers: [] } }, { @@ -441,13 +423,7 @@ ServerEvents.highPriorityData((event) => { enchant_chance: 1.0, enchantment_levels: [15, 15, 15, 15], effects: [{ effect: 'minecraft:resistance', amplifier: 0, chance: 1.0 }], - attribute_modifiers: [ - { - attribute: 'minecraft:generic.max_health', - operation: 'ADDITION', - value: { min: 60, steps: 1, step: 0 } - } - ] + attribute_modifiers: [] } } ]; diff --git a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/twilightforest.js b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/twilightforest.js index d196a9bda..4d5e20457 100644 --- a/kubejs/server_scripts/base/recipes/apotheosis/minibosses/twilightforest.js +++ b/kubejs/server_scripts/base/recipes/apotheosis/minibosses/twilightforest.js @@ -33,7 +33,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: { min: 20, steps: 1, step: 0 } + value: 20 } ] }, @@ -237,7 +237,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: 100 + value: 90 } ] } @@ -261,7 +261,7 @@ ServerEvents.highPriorityData((event) => { { attribute: 'minecraft:generic.max_health', operation: 'ADDITION', - value: 300 + value: 90 } ] } From 82717b1412833f14da19b9150059de788084dd20 Mon Sep 17 00:00:00 2001 From: MuteTiefling Date: Sat, 15 Jul 2023 23:41:42 -0400 Subject: [PATCH 4/4] Update CHANGELOG.md --- changelogs/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelogs/CHANGELOG.md b/changelogs/CHANGELOG.md index 2a4e1d2fb..ea7a31b86 100644 --- a/changelogs/CHANGELOG.md +++ b/changelogs/CHANGELOG.md @@ -16,6 +16,7 @@ - Farmers Delight recipes are now covered by Create Mixing. Don't overheat them or they'll burn! [\#487](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/487) ([MuteTiefling](https://github.com/MuteTiefling)) - Stable Wormholes may now be reset in a crafting table [\#487](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/487) ([MuteTiefling](https://github.com/MuteTiefling)) - Add many items to Mekanism's Painting system [\#494](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/494) ([MuteTiefling](https://github.com/MuteTiefling)) +- Apotheosis bosses largely reverted to new defaults. Remaining bosses brought more in line with the new balancing. [\#495](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/495) ([MuteTiefling](https://github.com/MuteTiefling)) ### 🐛 Fixed Bugs