RLCombat

From RLCraft Wiki
Jump to navigation Jump to search

RLCombat is a mod by fonnymunkey forked from Better Combat Rebirth (by SanAndreaP) for RLCraft.

Features

Like the original Better Combat, RLCombat adds the ability to attack with weapons in the offhand alongside the mainhand, as well as other features such as new hit and crit sounds, sweeping particle effects, and config for changing things such as if attacking while sprinting stops your sprint, or if offhand should be weaker while attacking.

RLCombat itself implements multiple changes over Better Combat, such as:

  • A rework of the offhand cooldown system to work properly just like the mainhand cooldown.
  • Attributes properly applying to the weapon when attacking in offhand, instead of offhand attacks always using mainhand attributes.
  • Compatibility with Quality Tool's weapon attributes when using a weapon in offhand.
  • Adds compatibility for attacking Ice and Fire's multipart entities such as dragons from the offhand.
  • Makes missing an offhand attack properly apply cooldown and still swing the weapon.

Compatibility

  • RLCombat posts new events during RLCombat's attack handling to allow other mods to add compatibility easier
  • Additionally, RLCombat now depends on the mod ReachFix for proper handling of player's reach while attacking

RLMixins

  • Offhand enchantment compatibility is in RLMixins (https://www.curseforge.com/minecraft/mc-mods/rlmixins) as it requires modifying Vanilla code.
  • Every RLMixins tweak is opt-in, so you can use it just for the purpose of the offhand-enchantment fixes (As well as offhand compat for SoManyEnchantments.)