promotional bannermobile promotional banner

ModularShoot

an attribute-driven, modularly-assembled gun system.
Back to Files

modularshoot-0.1.4.jar

File namemodularshoot-0.1.4.jar
Uploader
YanbweYanbwe
Uploaded
Aug 11, 2026
Downloads
9
Size
626.5 KB
Mod Loaders
NeoForge
File ID
8621032
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:modularshoot-1643092:8621032"

Learn more about Curse Maven

What's new

[0.1.4] - 2026-08-10

Added

  • Dynamic gun definition providers: GunRegistry gains a registerGunDefinitionProvider channel, extending the getGun lookup order to Java API registration → provider → datapack registry. This enables per-player / runtime-generated dynamic definitions (e.g. "the player is the gun" gameplay), benefiting every in-framework definition lookup site with zero changes. The facade ModularShootAPI.registerGunDefinitionProvider exposes this externally; behavior is completely unchanged when no provider is registered.
  • Plugins support the adds_slots field: after installation a plugin can add a specified number of slots, or even create slot types the gun did not originally have (keys must be fully namespaced or bare modularshoot: keys; values are arbitrary integers, negative ones occupying slots). Effective capacity = gun slots + aggregated adds_slots of installed plugins; install matching and the tooltip plugin bar are both computed with effective slots.
  • Uninstall overflow pre-check: a non-force uninstall that would leave any slot type overflowing after removal is rejected with WOULD_OVERFLOW (not limited to the slot-adding plugin itself — residual overflow after uninstall is refused); force uninstall bypasses this, leaving the overflowing plugin in place but that slot can no longer accept plugins; random uninstall automatically filters out candidates that would trigger overflow.
  • reload validation: adds_slots keys are checked (WARN) for existence against the plugin_types registry.

This mod has no related projects