soufeyan'gun banner
soufeyan'gun icon

soufeyan'gun

its an ak47 and it can shot but its shot tnt and you can zoom and you can make it like anyting and it makes the hud look like doom 1

00
fabricBoth1.21.1mod

soufeyan'gun mod notes

What it does

  • Adds the Soufeyan'Gun: a rapid-fire rifle that lobs primed TNT rounds with a short fuse.
  • Holding right-click while the gun is in hand keeps firing TNT bursts and applies a zoomed-in view for aiming.
  • A Doom-inspired HUD bar appears while the gun is held, showing TNT count, health readout, and weapon label.
  • The gun sits in the combat creative tab; it has durability but uses no ammo by default.

How to use

  • Craft or give yourself the Soufeyan'Gun item and hold it in either hand.
  • Hold right-click to start firing TNT; keep holding to sustain fire. Each round launches forward with light spread and explodes after a short delay.
  • Zoom is automatic while aiming; releasing the use button restores your normal field of view.

Implementation details

  • The gun is registered under item id soufeyangun:soufeyan_gun with custom model and bundled texture.
  • TNT rounds are spawned as regular primed TNT entities with adjusted velocity and fuse time; firing adds a brief cooldown and uses item durability.
  • Client-only logic handles zooming (via the FOV option) and renders the Doom-style status bar using Fabric HUD callbacks.

Known limitations / ideas

  • TNT projectiles ignore ammo and can damage the shooter if fired at close range; adjust fuse or add ammo checks if desired.
  • Zoom temporarily alters the FOV setting while aiming; if the game is closed mid-zoom it will restore on the next tick once the player loads back in.
  • Sound and visuals are intentionally minimal; add custom sounds, particles, or stronger recoil if you want a heavier feel.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.