
Dispenspear
Enhances dispensers with spear thrusting and trident launching. Full animations with enchantment support.
Screenshots





About this Mod
Dispenspear
Dispenspear empowers dispensers with the ability to wield spears just like a player, while also bringing Bedrock Edition's trident-launching mechanics to Java Edition!
🗡️ Spears
Spears placed inside a dispenser will no longer be ejected as items. Instead, the dispenser will perform a powerful "Thrust" attack:
- Fluid Animation: Features a complete extend-and-retract animation. The attack offset is lowered by 0.125 blocks to perfectly align with the dispenser's "mouth."
- Witty Death Messages: Includes 8 random custom death messages.
- Damage Scaling: Attack damage strictly follows the spear's material tier (from Wooden to Netherite, calculated as "Charging").
- Enchantment Support: Damage scaling correctly incorporates Sharpness. Send your enemies flying straight out of the dispenser with Knockback.
- Durability: Each strike consumes durability, which can be mitigated by the Unbreaking enchantment.
🔱 Tridents
Dispensers can now launch Tridents as projectiles, consistent with Bedrock Edition:
- Retrievable: Launched tridents function as entities and can be picked up by players after landing.
- Enchantment Support: Fully compatible with Sharpness, Impaling, and other combat enchantments.
- Durability: Launching consumes durability and is affected by the Unbreaking enchantment.
🛠️ Technical Details
- Server-Side Only: Powered entirely by vanilla Item Display and Trident entities.
- Client-Independent: Install it on your dedicated 1.21.11 server without requiring players to download anything. It works flawlessly in Singleplayer worlds as well.
---------------- CHINESE DESC BELOW ----------------
矛发射器
矛发射器 模组让发射器也拥有像玩家一样挥动长矛的能力,并为 Java 版带来了与基岩版一致的发射器投掷三叉戟功能!
🗡️ 矛
现在,当长矛被放入发射器时,不再是以掉落物形式喷出,而是执行一次强力的突刺攻击:
- 完美动画: 拥有完整的刺出与收回动画。甚至还下移了 0.125 格以和发射器的“嘴巴”对齐。
- 死亡消息: 英文、简体中文、繁体中文、文言各有8条随机玩梗的死亡消息
- 伤害数值: 攻击力匹配长矛的材质等级(从木质到下界合金,按“冲锋”状态计算)并受附魔加成。
- 附魔支持: 伤害会将锋利附魔考虑进去,击退附魔也可以将刺到的可怜蛋撅飞
- 损耗机制: 每次发动攻击都会消耗耐久度,并受耐久附魔影响。
🔱 三叉戟
发射器现在可以像基岩版一样投掷三叉戟:
- 可回收: 射出的三叉戟为实体状态,着陆后可被玩家回收。
- 附魔兼容: 支持锋利、穿刺附魔。
- 损耗机制: 发射时会消耗耐久度,同样支持耐久附魔。
🛠️ 模组说明
- 仅服务端 (Server-Side Only): 该模组完全由原版物品展示实体与三叉戟实体驱动。
- 兼容性: 你可以仅将其安装在 1.21.11 的专用服务器上,而玩家客户端无需安装即可正常加入和使用其功能;当然,它也完全支持在单人模式下使用。
Available Versions
How to Install Dispenspear 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 "Dispenspear". 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
Dispenspear 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 Dispenspear compatible with fabric?
Dispenspear officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Dispenspear – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Dispenspear 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 Dispenspear with just one click on your server.