Cobblemon Fight or Flight Reborn

New version of original addon from Rufia. Makes run away or fight back when agitated.
Back to Files

[NeoForge 1.21.1] V0.11.4

File namefightorflight-neoforge-0.11.4.jar
Uploaded
Dec 1, 2026
Downloads
841
Size
1.5 MB
Mod Loaders
NeoForge
File ID
9950305
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:cobblemon-fight-or-flight-reborn-1168140:9950305"

Learn more about Curse Maven

What's new

V0.11.4:

New Features:

  • Datapack-driven defensive triggers: when a Pokemon hits another entity, the defender can apply mob effects to itself or to the attacker and scale the damage of that hit.
    • Triggers live in data/<namespace>/fof_ability_trigger/*.json; one file can be shared by several abilities.
    • Selectors: abilities matches Pokemon defenders only, entities / entityTypeTags match any other living entity only. The two lookups never overlap, so a file can carry both.
    • Conditions: move type and move name (empty lists mean "any").
    • Effects: any mob effect with amplifier, duration in ticks and a target (self or attacker), or a direct heal (type: heal) using a fraction of the max health or a flat amount of health points.
    • Damage multiplier: super_effective, not_very_effective, no_effect, custom (with damageMultiplierValue) or none. The first three reuse the multipliers from the Type Effectiveness config.
    • ignoredByMoldBreaker decides whether Mold Breaker (ability or move) bypasses the trigger; it defaults to true.
    • Shipped defaults: 17 abilities (Lightning Rod, Water Absorb, Volt Absorb, Earth Eater, Sap Sipper, Storm Drain, Flash Fire, Well-Baked Body, Motor Drive, Dry Skin, Steam Engine, Thermal Exchange, Water Compaction, Justified, Rattled, Levitate, Eelevate) and one entity example (minecraft:magma_cube will grand Resistance I for 30 seconds. It's weaker than Water Compaction ability because it's just a demo). Most turn the matching type into no_effect_multiplier and then heal a quarter of the max health (with heal(), not Instant Health or Regeneration) or grant a 30 second stat boost; Dry Skin also takes 1.25x Fire damage. See the files for the exact values.(Idk if anyone care, but Flash Fire ability only increase the Fire-type move damage in the core series, but I'm lazy so it works like Sap Sipper now)
    • New config option activate_defensive_trigger (default true). /reload applies data changes.
  • Config screen. Use command /fofconfig to open the screen. Can be accessed in the mod menu from the NeoForge side. Fabric side doesn't support the ModMenu currently.
  • Add charge moves to melee attacks: when a Pokemon uses a charge move, it charges forward and damages every target along the path.
    • Charge moves are configured in charge_moves; moves with a wider hit area go in wide_charge_moves(a larger radius and a taller hit box). A move listed in wide_charge_moves is also treated as a charge move, so it does not need to be repeated in charge_moves.
    • Charge distance, duration in ticks, hit box size and damage multiplier are configurable. The hit box is a multiplier of the Pokemon's own collision box; wide charges use higher multipliers.
    • A minimum charge distance(min_charge_distance, default 2 block) keeps the lunge even when the target is already in melee range; the Pokemon passes the target in that case.
    • Type-based particles fill the hit box while charging.
    • The move stays in use for the charge duration, so its cooldown cannot start in the middle of a charge.
    • Special moves can charge too: while the move effect system is enabled, a charge move is always executed as a contact move, regardless of its damage category.
  • Moves that deal recoil damage can inflict the damage to the user now. Magic Guard and Rock Head can prevent that. Reckless can increase the damage of the Pokemon if the Pokemon is using moves with recoil damage.

Bug Fixes:

  • Fix the bug that wild Pokemon can be hurt even if player hurting pokemon is disabled.
  • An arrow that hits an entity other than the one it was fired at rolls the damage again for the actual victim, as long as the shooter is still around.
  • A move effect that is triggered on-use/on-hit no longer applies when the move has no effect against the target.

This mod has no additional files