Gear Core

Gear Core

Mod

Library mod for the creation of equipment modifiers that can apply entity attributes or track a variety of events like taking damage, killing mobs, and more.

Client and server EquipmentGame MechanicsLibrary

161.5k downloads
21 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...
Filter channels...
  • Impelement new Fzzy Core 0.5.0 modifier defaults system.

Fixed items that extended KillTracking no longer triggering off of kills.

  • Added ConfigEquipmentModifier, that configs can hook into to disable/enable modifiers as needed.
  • Re-implemented the attribute modification system to work with the new Fzzy Core 0.3.1 SlotId system, fixing several issues with attributes not applying or applying weirdly.

Added new ModifierTargets

  • RANGED: ranged weapons (bows, crossbows, tridents)
  • ANY_WEAPON: combines WEAPON (melee weapons) and the new RANGED (ranged weapons)

Added BaseFunctions with basic attack and damage functions and methods for combining functions into a collected function.

Versions below 1.20 are no longer updated. Version 1.20.2 is todo.

  • Re-implemented equipment modifiers with the new Fzzy Core 0.3.0 modifier system.
  • Overhauled modifier hooks, cleaning up and optimizing a lot of the code there.
  • Fix over-usage of memory from garbage object creation.
  • Ranged persistent projectiles (Arrows, Tridents, etc) now proc the onAttack hooks for modifiers.

Further fix over-caching issues

  • Fixed issue with over-caching of gear sets on the client in certain situations. Gear sets are no longer cached in the same way at all, and are only recached on network packet receipt.
  • Fixed the BLANK fallback modifier adding duplicated references to itself to the targetMap everytime a non-modified piece of equipment was queried.
  • Fixed client gear sets not syncing properly on reload or on join.

Project members

fzzyhmstrs

Owner

Details

Licensed MIT
Published 2 years ago
Updated 6 months ago