Spartan Weaponry Addon Toolkit

Spartan Weaponry Addon Toolkit

Mod

Developer tools for easier creation of Spartan Weaponry addons.

Client and server EquipmentLibrary

30.4k downloads
6 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...
  • Fixed #3 - Long loading times under certain conditions
  • Weapons are now enchanted only in creative menus and in recipes generated using this or later version
  • Added an itemstack sensitive isEnabled check to all weapon traits
  • Introduce methods for ranged traits for modifying both dealt and taken damage and customizing behavior on tick and on hit
  • Allows addon developers to define the order in which weapon traits are displayed in their weapons' tooltips
  • 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)
  • 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
  • Allows material bonus action traits on melee weapons with no action traits
  • Made onHitEntity trigger even when a non-player entity attacks
  • Added rarity and attack damage and speed modifiers as SpartanMaterial's attributes
  • Material attribute setters were introduced to discourage the use of anonymous classes for materials
  • Added a simpler SpartanMaterial constructor for most use cases
  • Fix crash on devices in Turkish and potentially other locales
  • Added logo.png
  • Changed homepage in mods.toml to the mod's Modrinth site
  • 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 8 months ago
Updated 13 days ago