**Added**
- Added an item editor: players with OP level 2 in creative mode can open it with `/battlecorrection edit` or the I key, while the O and P keys open the SNBT page and the NBT Tree directly; it edits the main-hand item or the item under the mouse in an inventory or chest, and with an empty hand also the NBT of the entity (players excluded) or block entity under the crosshair.
- Added nine editor pages: Name, Lore, Tags, Enchantments, Attributes, Baubles, NBT Tree, SNBT and Templates; the Baubles page requires Baubles.
- Added editor support for F4 to change the item type, Ctrl+Z / Ctrl+Y to undo and redo, importing a /give command or SNBT from the clipboard and copying the item as a /give command; since 1.12.2 only has the 16 vanilla colors, palette gradients are snapped to the nearest ones.
- Added Bauble Mark (requires Baubles): hold an item and run `/battlecorrection bauble add <slot|any>` to let that single item be worn in the given bauble slot, run `bauble attr add` to give it attributes that only apply while worn, or tick the slots on the editor's Baubles page.
- Made marked items bauble-only: their own attributes apply only in a bauble slot, marked armor cannot be worn in the armor slots, right-clicking puts them into a bauble slot first, and their tooltip lists the attributes gained in each slot.
- Added Third-party Magic Recognition: damage type prefixes (`magicDamageTypePrefixes`), a whitelist and a blacklist decide which damage from other mods counts as magic, while melee hits that summons or pets deal for their owner never count as magic.
- Added player environmental damage multipliers, a general one plus Fall, Fire, Drowning and Explosion, applied after armor reduction; void damage and /kill are not affected.
- Added an environmental damage floor, set as a share of max health or a flat amount, off by default.
- Added the Lifesteal Uses Healing Bonus config (`lifestealAffectedByHealBonus`, on by default); when it is off, Lifesteal and Almighty Lifesteal always heal exactly damage × lifesteal ratio without the healing bonus.
**Changed**
- Changed magic damage to stack on top of the melee, arrow and projectile multipliers; in 1.2.0 spells only received the magic multiplier.
- Changed fireballs and shulker bullets to count as projectiles.
- Changed the flat Arrow, Projectile and Magic damage bonuses to be added before critical hits are calculated; hits that deal no damage, such as snowballs and eggs, no longer receive them.
- Changed the config screen to show four categories, Battle Configuration, Attribute Configuration, Bauble Mark and Item Editor; in 1.2.0 only the battle settings could be changed in game.
- Changed the effects applied by the Riot, Brawl and Elimination Staffs to be kept when the world is saved, and they no longer show particles.
- Optimized target searching for mobs under Riot, Brawl or Elimination: after losing a target they look for a new one about once a second instead of scanning 64 blocks every tick.
- Changed the license to CC BY-NC-SA 4.0; previously released versions keep their original license.
**Fixed**
- Fixed vanilla jump critical hits dealing only half of a normal hit's damage with the default config; they now add equipment and config bonuses on top of vanilla's 1.5×.
- Fixed Entity Invulnerability Time and Player Invulnerability Time at the default 0 removing the hit invulnerability of all mobs and players; 0 now means vanilla.
- Fixed Combo Correction, Lifesteal and Almighty Lifesteal reading an attack charge that did not match the current hit; lifesteal now heals based on the final damage after all multipliers.
- Fixed a PVP Damage Multiplier of 0 also blocking self-damage.
- Fixed Hunger Damage Decay having no effect when Hunger Damage Decay Limit was 0 (no limit).
- Fixed disabling Attack Cooldown writing a permanent attack speed bonus into player data.
- Fixed two identical baubles counting as one, Jump Boost ignoring bauble bonuses, and the mod not loading after Baubles, which could leave bauble attributes unread.
- Fixed the Enemy Staff making a mob target itself when the same mob was clicked twice.
**Upgrade notes**
- Both client and server must be updated to 1.3.0.
- On first launch, old configs are converted to the new meanings and the original file is backed up as `battlecorrection.cfg.v0.bak`: Vanilla Critical Damage is reduced by 0.5 (minimum 0); Bow Draw Speed and Item Use Speed are increased by 1, so actual speeds stay the same; Hunger Damage Decay and Hunger Damage Decay Limit still at the pre-1.2.0 default of 0.05, and the two invulnerability time multipliers still at the pre-1.2.0 default of 1.0, are reset to 0; customized values are kept.
- Vanilla-format attributes on unmarked baubles now apply by default; set `baubleNbtAttributes` to `MOD_ONLY` to keep the 1.2.0 behavior.
- With default settings, all mobs and players have vanilla hit invulnerability again; set both invulnerability time multipliers to -0.99 to keep the 1.2.0 behavior.
- Apart from the pre-1.2.0 default of 1.0 becoming 0, customized invulnerability time multipliers are not converted; subtract 1 from the old value (minimum -0.99) to match 1.2.0.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }