This is fork of official MrCrayfish's Gun Mod, but with some fixes, addons and features.
Important
remove fire in onMouseClick
to avoid two shots in one tick
spreadAdsReduction
, like recoilAdsReduction
, it can reduce spread when aiming, default 0.5
projectileBurst
, gun can shoot several times in a short time, default 1
recoilDuration
, change the number of ticks the recoil persists, default 6.67
recoilRadian
, change the recoil direction in radian, default 0
- Includes nine unique weapons: Pistol, Shotgun, Rifle, Grenade Launcher, Bazooka, Mini Gun, Assault Rifle, Machine Pistol and Heavy Rifle!
- Adds Attachments to customise your weapon. Add different types of scopes and stocks to your weapon, put a new grip under the barrel or make your weapon quiet with a silencer!
- Nine unique enchantments to create an even more powerful weapon!
- Immersive experience with custom sounds and animations.
- The ability to headshot any vanilla mob in the game.
- Datapack support to allow you to change the base properties of all weapons.
- Integration into Controllable to allow you to play this mod with a Controller.
- A well designed code base that allows developers to create addons.
As of version 1.0, the mod is now data driven. This means in order to change the properties of a weapon, you must now use a datapack instead of the config file. This allows myself to patch the default properties of weapons while still allowing everyone to customise as needed. Template coming soon!