You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All ID's may specify a namespace (for hooking into common calibers, etc..)
Pack (/pack.json)
{"name": "PACK_ID",// Name of the pack, used for the namespace of guns/bullets/entities."author": ["John Doe <[email protected]>"// Authors in this format.],"mod": false// Does it contain java classes that need loading?}
Gun (/guns/NAME.json)
{"name" : "GUN_ID",// Id of the gun, identifier: PACK_ID:GUN_ID"caliber": ["PACK_ID:5.56"],// Allowed calibers (Identifier format). Register inter-pack calibers on minbal:*"defaultCaliber": null,// If null, chooses first caliber in list. WIP for future."rpm": 3600,// Firing rate in RPM"firingModes": ["SINGLE","SEMI"],// Available firing modes from ["SINGLE", "SEMI", "AUTO", "BURST"]"firingMode": "SINGLE",// Firing mode. If null, chooses first in list."attachments": ["PACK_ID:scopes"],// Same thing as with calibers."sounds": {"fire": "PACK_ID:fire",// Sounds"reload": "PACK_ID:fire"// May be extended to more actions in the future. (Unload and load separately)},"rawClass": "org.example.pack.CustomGun"// Only allowed in packs where mod is true.}
Bullet (/bullets/NAME.json)
{"name": "BULLET_ID","caliber": "PACK_ID:caliber","baseDamage": 20.0,// Base damage of the projectile. This data is passed to the entity."baseVelocity": 10.0,// Base velocity in b/s. This data is passed to the entity."baseSpread": 1.0,// Base spread. This data is passed to the entity as well."baseDrag": 0.02,// Base drag in % of velocity per tick. Guess where this goes..."model": "PACK_ID:model","entity": "PACK_ID:entity"}