Changelog
Bugfixes:
- Fixed Throwing Weapon items disappearing when the projectile despawns
- Added a LogHelper wrapper class to prevent mods such as Spartan Compatibility from crashing
Tweaks:
- Reduced the xp cost for replacing enchanted throwing weapon ammo from 2 levels per enchantment level to 1 level. This should prevent the possibility of replacing ammo for a heavily enchanted throwing weapon being too expensive to work in the Anvil.
Changes in version 1.4.0:
[IMPORTANT] This mod now contains version 0.7 of Mixin. This might present compatibility issues with other mods using different versions of Mixin. This should be fixable by adding this mod: https://www.curseforge.com/minecraft/mc-mods/mixin-0-7-0-8-compatibility
Major Additions:
- Throwing weapons have been overhauled to have a combination of ammo, durability and still be enchantable! Look in the Throwing Weapon Overhaul category for full details
- Parrying Daggers are back, baby! They actually work properly now, thanks to Mixins and the ability to override certain functions to prevent standard Shield logic from occuring. They are also no longer considered an experimental weapon and as such, the "Enable Experimental Weapons" config option is now deprecated. Spartan and Fire checks this for some reason which means it cannot be deleted
- The following enchantments have been added:
- Return (backported from vanilla's Loyalty) - Causes Throwing Weapons to return to the player after landing on the ground - Max Levels: 3
- Hydrodynamic (backported from Spartan Weaponry 2.x) - Allows Throwing Weapons to work better underwater. Incompatible with Incendiary - Max Levels: 1
- Supercharge [NEW] - Reduces charging time with Throwing Weapons - Max Levels: 2
- Expanse [NEW] - Increases total ammo capacity for Throwing Weapons - Max Levels: 2
- Rapid Load (backported from vanilla's Quick Charge) - Decreases Crossbow loading time - Max Levels: 3
- Spreadshot (backported from vanilla's Multishot) - Fires two extra Crossbow bolts in a spread around the original bolt - Max Levels: 1
- Sharpshooter [NEW] - Reduces aiming time with Crossbows - Max Levels: 2
- Integrated Mixin version "0.7.11-SNAPSHOT" into the mod. This was required to properly implement Parrying Daggers and fix armor piercing bugs
General Tweaks:
- Major refactoring (removed the Reference class, replaced with Defaults for most default config values)
- Mod ID, Mod name, Mod version, dependencies, Minecraft version, config version, proxy classes, and the Gui Factory class references all have been moved to the main ModSpartanWeaponry class
- Extended Reach now takes into account the Reach attribute value.
- Armor Piercing has been adjusted to now only deal damage once now using a custom damage source, changing damage output by hooking into the damage reduction for armor method. It should work a lot better now!
- Changed the Quarterstaff recipes to use two of the material items to craft, rather than one
API Changes:
- API is now version '6'
- Added a new Weapon Property called "Backstab Damage Bonus". This property inflicts bonus damage based on if the target entity is facing away from the immediate entity (either the player in melee or the projectile when thrown)
- Added Quality values for all Weapon Properties, from version 2.x. This determines the color of the Weapon Property title tooltip. Defaults to positive
- Damage bonuses now only apply to direct damage from the player (this prevents summoned mounts from Lycanite's Mobs from benefitting from those bonuses)
- Tweaked Extra Damage Weapon Properties, which can take into account natural armor before awarding the damage bonus. It is disabled by default, but can be enabled and tweaked to determine how much armor points is required before not awarding the damage bonus.
- Enhanced Knockback should now work on players as well, due to a velocity packet now being sent to the client
- Quivers can now pick up projectiles directly off the ground, rather than just being placed in the inventory, thanks to Mixins
- Two-Handed now also provides a damage reduction in addition to Mining Fatigue for the weapon used. Also configurable
- The only experimental Weapon Property "Blocking" has been renamed to "Melee Block" and is no longer regarded as experimental. It will need to be implemented in the main ItemSwordBase class to be fully usable by addon mods however
- QoL change: Particles will now emit from mobs when any Damage Bonus is inflicted. Positive damage bonuses emit magical crit particles, while negative damage bonuse emit smoke particles
- Parrying Daggers can now be constructed using the API!
- Fixed API documentation typos for Glaives & Quarterstaves
Enchantment tweaks:
- Lightweight has been renamed to Propulsion
- Sharpened has been renamed to Razors Edge
- Lucky Strike has been renamed to Lucky Throw
- Registry names have been changed to match the english names. Conversion between names will happen automatically
UI Tweaks:
- Added off-hand slots for the Quiver GUIs so that the player can manually put any equipped off-hand arrows away
- Fixed alignment issues with the Quiver Ammo HUD element, and anything else that uses them- Added a sanity check to ensure that when the Quiver GUI is open, check and see if the Quiver is still in the player's inventory, or the body Baubles slot. This prevents a duping arrows bug, especially when the ItemPhysic mod is installed and allows items to be thrown with a charge
- Changed the tooltip for Weapon Properties to be more like the newer version to make it look nicer
- Tweaked the Crossbow and Longbow tooltips to make them look prettier and more readable
Projectile tweaks:
- Made DataParameters to store the main ItemStack for all custom Arrows and Throwing Weapons. This should hopefully fix any issues some people were having with throwing weapons that wouldn't render properly or crash
- Most Arrows and Bolts now have configurable range multipliers. This includes Explosive Arrows and Diamond Bolts (which previously didn't have a range multiplier)
- Made Explosive Arrows now make the explosion happen at the hit entitys position when they get hit
- Tweaked Boomerang thrown velocity and distance limits before returning
- Boomerangs also now bounce off surfaces, then attempt to return to the thrower
Quiver tweaks:
- Recipes for Quivers have changed to match the ones from newer versions, minus the Smithing Table. The first tier of Quiver must be crafted first, then it can be upgraded in the Crafting Table with the necessary ingredients
- Added the ability for Quivers to swap any offhand item with ammo from the Quiver. This will move the offhand item to the nearest available slot When unequipping the ammo, it will move the previously offhand item back to the offhand
- Added a keybind to access the Quiver GUI whenever it is in the hotbar or a baubles slot. The active key will show in the Quiver Ammo HUD
- Added Mo' Bends compatibility for rendering the Quiver model on the player's back so it will rotate correctly
Throwing Weapon Overhaul:
- Throwing weapons now have an internal "stack" which affects how much ammo they have. Once empty, the item still exists, but you cannot throw them or use them to inflict melee damage. They can still be picked up from the ground though
- They can still be enchanted, but only the "original" stack can accept enchantments
- Their durability has been reduced by a factor of 4 due to this, and once broken, the thrown weapon will lose 1 ammo, until empty
- Ammo can be added into the stack by adding a new set of the same throwing weapon in an Anvil The XP cost is 2 levels for an unenchanted set, with 2 levels being added for each enchantment level in the original stack
- [IMPORTANT] Addons will need to update their throwing weapon models to add the empty override value in their models. Otherwise it will look like there is still ammo left Alternatively, this can be done via a resource pack
- Added charging variation for each type of Throwing Weapon, which affects their speed/range. By default, Throwing Knives charge in 5 ticks, while Throwing Axes charge in 8 ticks, and Javelins charge in 10 ticks Those values are configurable
- Added a sanity check for Throwing Weapons in their item classes (including melee weapons with the Throwable Weapon Property) to ensure that the spawned throwing weapon entity is valid
Config tweaks:
- Added a *lot* of config options! Some of which have already been explained above- Added config options to configure values of most Weapon Properties
- Added material color options so the values can be tweaked to better support modpacks
- All melee and throwing weapons can now have their melee attack speed values be adjusted in the config
- Added a whitelist for Crossbow enchantments which allow certain enchantments from other mods to be added to the Crossbow. This is mainly so the Lesser, Advanced, and Supreme Bow enchantments from Rin's So Many Enchantments can be used with the Crossbow. The mod will place info in the log if there are any enchantments that are either invalid or misspelled
- Added config options to tweak Armor Piercing values for Bolts. They can now be configured depending on whether or not it is a normal Bolt or a Diamond Bolt
- Added a Backstab Damage Bonus multiplier which allows the damage bonuse to be modified
- Added a config option to disable Spartan HUD: Baubles integration
Integrations:
- Added integration with Spartan HUD: Baubles (a new mod of mine). This allows the HUD from that mod to have extra information overlaid on that slot
- Added more compatibility with Better Combat Rebirth. This means that offhand cooldowns, secondary hurt resist times, random crits, and attack sounds should work properly now. This required a look through Better Combat Rebirth's source code (and one kinda hacky solution to determine offhand use) to add what was needed and calling that mod's functions when necessary
- Added Trinkets and Baubles integration to allow players equipping the Titan Ring to be immune to the Two-Handed penalty. The tooltip for the property will update when Trinkets and Baubles is installed
Localization changes:
- Added even more projectile localization for the following mods: PotionCore, Quark, Tough as Nails (kinda redundant due to being defunct), Simple Difficulty (replacement for TaN), Trinkets & Baubles, Better Survival, Elenai Dodge, Parasites and a mod known as Charm
- Changed the names of the Throwing Weapon enchantments to match the newer versions
- Changed the descriptions for Damage Bonuses and the Two-Handed Weapon Properties to reflect any changes in this release
- The French localization has been edited. Unfortunately due to the substantial changes in this release, it is currently incomplete. This will hopefully be changed in future releases
Bugfixes:
- Blacklisted the Sweeping Edge enchantment from being enchanted on the Greatsword
- Fixed the keybind for the Quiver HUD from overflowing either horizontal side of the screen if it aligns on either the left or right side and the keybind is long
- Made weapon sweeping check the damage value calculated after enchantments
- The Crossbow and Throwing Weapon crosshairs will no longer display if the player is in Spectator mode
- Fixed Battleaxes inconsistent breaking speed with certain wooden blocks
- Fixed Boomerangs not dealing one extra damage due to fist damage (1 point) not being taken into account
There is probably a lot of stuff that I've forgotten about but here is the most important stuff. Have fun!
Files
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
ReleaseVersion number
1.4.1Loaders
Game versions
1.12.2Downloads
52687Publication date
May 31, 2022 at 2:45 PMPublisher
ObliviousSpartan
Owner