Dispenser Spear

Dispenser Spear

Make dispensers use spears like a weapon!

by
568 Downloads
fabricforgegame-mechanicsutility
Rent Server with this Mod

Screenshots

All Spears
Cross spears
Pig stabbed with wooden spear
All the spears in a line
Stabby Stab Stab
Pig stabbed with netherite spear

About this Mod

Dispenser Spear

License
Last Commit
Language
Version
Made By

Make dispensers use spears like a weapon!

Info

Every spear gives their own 'Jab' damage:

Spear Type Damage
Wooden HartHalf Hart
Stone HartHart
Copper HartHart
Iron HartHartHalf Hart
Golden HartHalf Hart
Diamond HartHartHart
Netherite HartHartHartHalf Hart

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

Dispenser Spear 2.1 Forgerelease
MC 1.21.11forge
March 26, 2026
Dispenser Spear 2.1 Fabricrelease
MC 1.21.11fabric
March 26, 2026
Dispenser Spear 2.0 Forgerelease
MC 1.21.11forge
March 26, 2026
Dispenser Spear 2.0 Fabricrelease
MC 1.21.11fabric
March 26, 2026
Dispenser Spear 1.0 Forgerelease
MC 1.21.11forge
March 26, 2026

How to Install Dispenser Spear on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

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

fabricforge

Minecraft Versions

1.21.11

Server-side

Required

Recommended 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.

Rent Modded Server

Install Dispenser Spear with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
BSD 3-Clause "New" or "Revised" License
Server-side
Required

Supported Versions

1.21.11