AccurateSpears
MasUno Spears is a Mod for FABRIC 1.21.8 that adds the new Spear from Minecraft Live 2025 to Minecraft! YOU NEED TO USE THE TEXTURE PACK FOR THIS PLUGIN TO WORK
Dependencies:
- ProtocolLib
- Spear Texture Pack
Optimizer
You can use the optimizer (If the server has this feature enabled) to avoid getting "ghost hits".
Ghost hits is when a player gets hit in your screen but the server doesn't register it.
Spear Attributes
Spear has 1 extra block of reach, but has a 1 second cooldown on every normal hit. Spears gain attack damage when moving really fast towards your enemy.

Commands
You can use the following commands to enable/disable/change different features:
/spear cooldown all_hits/melee_only - Whether Spears should have a cooldown on jab attacks or every hit
/spear damage - Sets a value to multiply the spear damage
/spear hold_delay - Sets how many ticks do players need to hold the spear for it to attack
/spear formula linear/decreasing- Changes which damage scaling formula to use (defaults to linear)
/spear debug on/off - Enables a display that tells the player how much damage they dealt each hit
/spear give - Gives a player all spears
/spear teleport_damage - If set more than 0, when a player teleports, the damage will increase by this number as if they moved really fast
/spear allow_optimizer_mod on/off - Whether the client-side spear optimizer mod works in the server

Spears Attacks:
Jab Attack (Left Click)
- 1 block of extra reach
Charge Attack (Hold Right Click)
While holding it, you won´t be able to attack~~~~ with right-click
Everything that gets in your crosshair will get hit
The damage dealt depends on the speed between you and your victim Examples: If your victim is moving towards you, damage = speed If you are moving towards your victim, damage = speed If you both are moving towards eachother, damage = speed x 2
If you hold the spear for too long, it will enter a cooldown state
Heavier tiers (like netherite) last less than weaker tiers (like gold or wood)