Описание
### Musket Mod
Adds craftable rudimentary firearms.
A currently true-port of ewewukek's Musket Mod with active support and updated for modern Minecraft versions. Original mod can be found [here](https://modrinth.com/mod/musket-mod).
Enhancements and Additions will come in future, along with backports of the said features.
Please do not report issues or give suggestions for this to the original creator, use the linked GitHub that is on the page.
### Forge / Neoforge
Requires [Cloth Config API](https://modrinth.com/mod/cloth-config).
### Fabric
Requires [Fabric API](https://modrinth.com/mod/fabric-api) and [Cloth Config API](https://modrinth.com/mod/cloth-config).
### Mechanics
RMB loads and fires guns. Full sized ones can't be used from offhand.
All guns are unusable inside water and bullets lose power when flying through it.
Bullets can ignite TNT and destroy some blocks (only non-stained glass panes by default).
Headshots increase bullet damage by 30% (applies to most bipedal mobs).
#### Musket

Damage: 16\
Durability: 250\
Enchantments: Knockback
#### Musket upgrade smithing template

Required to craft upgraded muskets. Has a high chance to spawn in strongholds and woodland mansions and with a lower chance in other overworld structures.
#### Musket with Bayonet

Melee damage: 5\
Enchantments: Sharpness, Smite, Bane of Arthropods
#### Scoped Musket

Zoom factor: 3x\
Durability: 150\
Enchantments: Knockback
Greatly improved accuracy and reduced bullet drop. Use RMB to aim and LMB to fire.
#### Blunderbuss

Damage: 21\
Durability: 200\
Enchantments: Flame
Fires 9 pellets with much higher spread than musket.
#### Flintlock Pistol

Damage: 12\
Durability: 200\
Enchantments: Quick Charge
Can be fired from any and both hands. You can reload both by holding down RMB.
#### Paper cartridge (ammunition)

Dispensers can fire them dealing 10 damage.
### Monsters
Pillagers and skeletons (all kinds) can use guns. They also may spawn with one (20% for pillagers with a pistol, 5% for skeletons with a musket).
Monsters deal 50% damage with guns by default.
### Configuration
Settings can be accessed from NeoForge's mods menu or via [Mod Menu](https://modrinth.com/mod/modmenu) on Fabric.
Bullet spread follows normal distribution like in real life but it is awkward to configure. Here is a simple table that could help with that: [bulletStdDev](STDDEV.md "bulletStdDev")
Loot tables in namespace `musketmod` add items to matching vanilla loot tables. `pillager_weapon` and `skeleton_weapon` control what gun corresponding monster will get.
`item/enchantable/*` tags control what enchantments can be added to the guns.\
`block/*_by_bullets` tags control which blocks would be destroyed or dropped by bullets.\
`entity_type/headshotable` tag controls which mobs are considered for headshot detection.
#### 3D Modeling
Mod provides following model predicates:
- "loaded" - hammer is cocked
- "loading" - matches loading animation in 3rd person
- "aiming" - matches crossbow hold pose in 3rd person
Example: [musket.json](src/main/resources/assets/musketmod/models/item/musket.json#L255)
Mod's blockbench models can be found [here](blockbench).
### Permissions
You may include this mod in any modpack, private or public, along with any modifications.
### Credits
- ewewukek (original mod)
- Mojang (duh)
- Minecraft Forge and guys from the forum
- Funny NeoForge people
- FabricMC
- lilypuree (fixes and Korean translation)
- MikhailTapio (Chinese translation)
- Xannosz & SkpC9 (1.20.x update)
- Lufurrius (1.21.11 update)