Modscraper Modscraper Minecraft
Dispenspear logo

Dispenspear

Mod

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

Type

Mod

Modrinth Downloads

1,061

Modrinth ID

cs5LMrl3

Last Updated

Apr 13, 2026

Description

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 的专用服务器上,而玩家客户端无需安装即可正常加入和使用其功能;当然,它也完全支持在单人模式下使用。

Compatibility

Mod Loaders

Fabric

Game Versions

1.21.11

Screenshots

Similar Mods

Included in Modpacks

External Resources