**Added**
- Added an item editor: players with OP level 2 in creative mode can open it with `/battlecorrection edit` or the I key to edit 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, such as a chest or spawner, under the crosshair.
- Added ten editor pages: Name, Lore, Tags, Enchantments, Attributes, Curios, NBT Tree, SNBT, Templates and My Slots; Name, Lore, Tags and similar pages show a live tooltip preview on the right, and the Curios and My Slots pages require Curios.
- Added & color codes and `&#RRGGBB` hex colors for names and lore; the palette can pick colors or build gradients with 2 to 8 stops (10 presets included) and remembers the 16 most recently used colors.
- Added search for every enchantment and attribute in the game, including those from other mods, on the Enchantments and Attributes pages; the NBT Tree can search, jump to a path and copy or paste nodes, the SNBT page has syntax highlighting, line numbers, find and one-click formatting, and the O and P keys open the SNBT page and the NBT Tree directly.
- Added editor support for F4 to change the item type (keeping NBT and count), Ctrl+Z / Ctrl+Y to undo and redo, Ctrl+S to save, importing a /give command or SNBT from the clipboard and copying the item as a /give command; frequently used items can be saved as templates and applied to other items.
- Added Curio Mark (requires Curios): hold an item and run `/battlecorrection curio add <slot|any>` to let that single item be worn in the given curio slot, run `curio attr add` to give it attributes that only apply while worn, or tick the slots on the editor's Curios page.
- Made marked items curio-only: their own attributes (armor, attack damage and NBT attributes) apply only in a curio slot, marked armor can no longer be worn in the armor slots, they can be shift-clicked or right-clicked straight into a curio slot, and their tooltip lists the attributes gained in each slot.
- Added Third-party Magic Recognition: spells from Iron's Spells 'n Spellbooks, Goety, Ars Nouveau, Sweet Magic and Geomancy Plus count as magic damage by default and receive the Magic Damage attribute and magic multipliers; the namespaces, whitelist and blacklist can be edited in the config, or the feature can be turned off entirely.
- Added player environmental damage multipliers, a general one plus Fall, Fire, Drowning, Freezing and Explosion, applied after armor reduction; 0 means immunity, and 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, so a player's spell fireball now takes both the projectile and the magic multiplier; in 2.0.2 spells only received the magic multiplier.
- Changed the Projectile Damage attribute to also apply to magic projectiles.
- Changed the flat Arrow, Projectile and Magic damage bonuses to be added before critical hits are calculated; the Magic Damage Bonus only applies to magic damage that has an attacker, and hits that deal no damage, such as snowballs and eggs, no longer receive bonuses.
- Changed falling blocks that hit a player to count as environmental damage instead of using Melee Damage Resistance.
- Optimized curio attributes to take effect when an item is put on and be removed when it is taken off, lowering the performance cost of drawing a bow or eating with many curios equipped.
- 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 as in 2.0.2, which is lighter when many mobs are affected.
- Changed the license to CC BY-NC-SA 4.0; previously released versions keep their original license.
**Fixed**
- 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, and other values give vanilla 10 ticks × (1 + value).
- Fixed Combo Correction cutting every melee hit to half damage and Lifesteal and Almighty Lifesteal misjudging a full charge; both now use the charge at the moment of the swing, fully charged hits are not reduced, and lifesteal heals based on the final damage after all multipliers.
- Fixed a PVP Damage Multiplier of 0 also blocking a player's self-damage.
- Fixed Hunger Damage Decay having no effect when Hunger Damage Decay Limit was 0 (no limit).
- Fixed two curios with identical attributes counting as one, and Jump Boost ignoring curio bonuses.
- Fixed disabling Attack Cooldown writing a permanent attack speed bonus into player data; it is now a temporary bonus that is not saved, and any bonus left by 2.0.2 or earlier is removed when the player joins a world.
- Fixed the reset button in the config screen setting Bow Draw Speed and Item Use Speed to 0, which made bows and items unusable.
- 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 3.0.0; a client cannot join a server running a different version.
- Cloth Config is bundled with the mod and does not need to be installed separately.
- Curios remains optional, but if installed it must be 5.14.1 or newer; with an older version the game will not start.
- With default settings, all mobs and players have vanilla hit invulnerability again, so rapid repeated hits deal less damage than in 2.0.2; set both invulnerability time multipliers to -0.99 to keep the 2.0.2 behavior.
- If the two invulnerability time multipliers were changed in 2.0.2, subtract 1 from the old values (minimum -0.99) to keep the same timing; for example, an old 1.0 is now 0.
- Vanilla-format attributes on unmarked curios, for example max health written in NBT, now apply by default; set `curioNbtAttributes` to `MOD_ONLY` to count only this mod's attributes as in 2.0.2.
- If Hunger Damage Decay was set above 0 in 2.0.2 with its limit left at 0, the decay now actually takes effect.
- Modpacks that tuned the magic multipliers should recheck spell damage: spells from Iron's Spells 'n Spellbooks and the other mods listed above now count as magic by default, and the magic multiplier now stacks on the melee, arrow and projectile multipliers.
- The new I, O and P keys are under Options → Controls → Key Binds → Battle Correction; P is also vanilla's default Social Interactions Screen key and opens that screen first on a server, so rebind one of the two.
- The item editor is enabled by default and lets any OP level 2 player in creative mode modify items, entities and block entities; servers that do not want this can set `itemEditorEnabled` to false in `battlecorrection-attribute.toml`.
Optional dependencies
Curios API
Any compatible version
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" }