Mineuniverse
Log in Register
Mods

command library for datapck guns

adds 2 commands (and one gamerule) to help datapackers make guns
by HotheadB
Download Claim this project
82 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library MCreator

To fire, use the fire bullet command. It’s syntax is as follows /fire (who fired it) (# of projectiles) (damage, 0.0 is a half heart, 0.1 is one full heart, ect) (knockback) (perces through # enemies) (speed, use 10-100 for a good range) (spread) (ticks of cooldown till command works again) (uses # of durability points) (how much an item needs to be damaged to be empty) (tag to put on bullet to easily identify with commands) (is full auto enabled)

 

To swap the model of what the player is holding use the swapmodel command. It’s syntax is as follows /swapmodel (player to run on) (new model data to appy to held item)

 

 

YOU MUST SET THE BINDS MANULY

datapack_guns_lib-1.0.0-forge-1.20.1.jar
MC Client, 1.20.1, Forge, Server
Release 2025-10-22 Get

More from HotheadB

Blocky Blocks - modpack assister
6

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314