Spartan Weaponry Addon Toolkit

Spartan Weaponry Addon Toolkit

Mod

Developer tools for easier creation of Spartan Weaponry addons.

Client and server EquipmentLibrary

12.2k downloads
4 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
  • Added an attack damage modifier attribute to SpartanMaterial
  • Added an attack speed modifier attribute to SpartanMaterial
  • Fix crash on devices in Turkish and potentially other locales
  • Updated to Spartan Weaponry 3.1.1
  • Allows addon developers to define the order in which weapon traits are displayed in their weapons' tooltips
  • BetterWeaponTrait now has an overridable getDescription method as a more intuitive and flexible alternative to SpartanAddon.getTraitDescriptions()
  • Fix isEnabled checks being ignored by throwing weapon traits
  • Translatable components of weapon trait descriptions are now generated from the traits' registry names instead of type names to allow for multiple levels of a trait type having different descriptions
  • Traits that have multiple levels can now be registered automatically
  • Stopped supporting roman numerals in trait registry names in favor of using the automated system with arabic numerals (this is also consistent with base Spartan Weaponry)
  • Add an itemstack sensitive isEnabled check to all weapon traits
  • Allow material bonus action traits on melee weapons with no action traits
  • Introduce methods for ranged traits for modifying both dealt and taken damage and customizing behavior on tick and on hit
  • Add a method for adding a rarity to all weapons of a material
  • Made onHitEntity trigger even when a non-player entity attacks
  • Added a simpler SpartanMaterial constructor for most use cases
  • Material attribute setters were introduced to discourage the use of anonymous classes for materials
  • Changed homepage in mods.toml to the mod's Modrinth site
  • Corrected mixin refmap reference
  • Updated to 1.20.1
  • Creative tabs are now put between Spartan Weaponry ones
  • Updated to 1.19.2
  • Removed deprecated fields
  • Added more utility methods
  • Names of generated recipes' criterions are now based on materials instead of all being "has_item"

Initial release


Project members

KreloX

Member

Details

Licensed MIT
Published 4 months ago
Updated 2 months ago