promotional bannermobile promotional banner

epicfight global stun

Have you ever felt it strange that when playing with Epic Fight and awesome boss mods, your character doesn't even flinch during combat? This mod might just solve that!

EpicFight GlobalStun

📝 Overview This mod adds hit stun and impact to attacks from entities and bosses that lack default Epic Fight damage sources. When playing with boss mods that are incompatible with Epic Fight, players can otherwise just mash attacks without caring about incoming damage. This mod puts an end to that kind of reckless "face-tanking" and button-mashing. You will need to properly dodge and guard against enemy attacks, making the combat experience much more souls-like and tense! The targets, stun types, stun durations, and impact values can all be fully customized via the configuration file.

Showcase
- Video 1: [https://www.youtube.com/watch?v=kFSOqYS0gio](https://www.youtube.com/watch?v=kFSOqYS0gio)
- Video 2: [https://www.youtube.com/watch?v=34se7Wq2WiQ](https://www.youtube.com/watch?v=34se7Wq2WiQ)
- Video 3 (Debug Command Preview): [https://www.youtube.com/watch?v=ENFbPBXlewI](https://www.youtube.com/watch?v=ENFbPBXlewI)

⚙️ Configuration You can customize stun rules, impacts, and durations in the .toml config file.

  • mode:

    • DEFAULT_APPLY: Applies a short stun to all entity attacks by default, which can be overridden or customized by rules. Exclusions can be added under [excludes].

    • WHITELIST(Default): Applies no stuns by default. Stuns are applied only to targets matching specific rule settings.

  • entityIds: Standard entity IDs used in /summon, e.g., ["minecraft:warden"].

  • classes: Fully qualified Java class names of attackers (entity IDs are generally recommended).

  • tags: Entity tags or Forge official boss tags, e.g., ["forge:bosses"].

  • msgIds: Damage message IDs, which can be checked using the debug command.

  • damageTypes: General damage types, or specific spell IDs when Iron's Spells 'n Spellbooks is installed, e.g., ["irons_spellbooks:sonic_boom"].

  • applyToProjectiles: Whether to apply the same stun type to projectiles fired by the registered entity.

  • impact: Epic Fight standard impact (stagger) value.

  • stunTime: Stun duration in seconds.

  • excludes: Targets listed here are excluded with the highest priority.

📋 Config Example

 

[general]
	# Global mode: DEFAULT_APPLY (Default short stun to all, override with rules) or WHITELIST (Vanilla by default, apply only to targets)
	# Allowed Values: DEFAULT_APPLY, WHITELIST
	mode = "DEFAULT_APPLY"

[long_stun]
	entityIds = []
	classes = []
	tags = ["forge:bosses"]
	msgIds = []
	damageTypes = ["irons_spellbooks:sonic_boom"]
	applyToProjectiles = false
	impact = 3.0
	stunTime = 0.4

	[long_stun.excludes]
		entityIds = []
		classes = []
		tags = []
		msgIds = []
		damageTypes = []

[knockdown_stun]
	entityIds = []
	classes = []
	tags = []
	msgIds = []
	damageTypes = []
	applyToProjectiles = false
	impact = 5.0
	stunTime = 1.0

	[knockdown_stun.excludes]
		entityIds = []
		classes = []
		tags = []
		msgIds = []
		damageTypes = []

[neutralize_stun]
	entityIds = []
	classes = []
	tags = []
	msgIds = []
	damageTypes = []
	applyToProjectiles = false
	impact = 4.0
	stunTime = 3.0

	[neutralize_stun.excludes]
		entityIds = []
		classes = []
		tags = []
		msgIds = []
		damageTypes = []

[short_stun]
	entityIds = []
	classes = []
	tags = []
	msgIds = []
	damageTypes = []
	applyToProjectiles = false
	impact = 1.5
	stunTime = 0.2

	[short_stun.excludes]
		entityIds = []
		classes = []
		tags = []
		msgIds = []
		damageTypes = []

 

🔍 Debug Commands Dedicated commands are provided to identify damage types and message IDs (requires permission level 2 or higher):

  • Check damage received: /efglobalstun debug receive <true / false>

  • Check damage dealt: /efglobalstun debug deal <true / false>

⚠️ Notice This mod was created in collaboration with AI. As this is my very first mod release, there may be unknown bugs. Feel free to report any issues!

The epicfight global stun Team

profile avatar
  • 1
    Followers
  • 1
    Projects
  • 22
    Downloads