
Dispenser Spear
Make dispensers use spears like a weapon!
Screenshots






About this Mod

Make dispensers use spears like a weapon!
Info
Every spear gives their own 'Jab' damage:
| Spear Type | Damage |
|---|---|
| Wooden | |
| Stone | |
| Copper | |
| Iron | |
| Golden | |
| Diamond | |
| Netherite |
You need to put 2 spears in a dispenser to make it work, we are still trying to make it work with just 1.
Added / Fixed
- If you break a dispenser while spear is extended the game crashed (Origin) (Bug)
- Make spear also retract if dispenser is empty (Bug)
- Added a helper class for public functions (Feat)
- using orbinuity link as home page instead of curse forge (Feat)
Plans
- Add sound effects (Feat)
- Add collision to the spear (Feat)
- Make enchantments work (Feat)
License
Before copying any part of this project, please read the LICENSE file to understand the terms and conditions.
Available Versions
How to Install Dispenser Spear on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Dispenser Spear". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Dispenser Spear server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Dispenser Spear compatible with fabric and forge?
Dispenser Spear officially supports fabric, forge for Minecraft 1.21.11. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Dispenser Spear – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Dispenser Spear consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Dispenser Spear with just one click on your server.