An open API service indexing awesome lists of open source software.

https://github.com/btarg/gunsdatapack

A test of my datapack knowledge - not finished!
https://github.com/btarg/gunsdatapack

datapack guns minecraft resourcepack

Last synced: 4 months ago
JSON representation

A test of my datapack knowledge - not finished!

Awesome Lists containing this project

README

          

# Minecraft Guns Data Pack
## Why a data pack?
Mods are annoying to download and update. I want this to be entirely server-side with no required downloads for clients, other than a resource pack.
## Not a plugin?
Plugins require more maintenance due to breaking changes to Minecraft and the custom server software, e.g. Paper. They also don't work on vanilla Minecraft servers. Datapacks work across all server softwares and can be easily upgraded with new Minecraft updates.
## What makes this different?
Other plugins and datapacks often use raycasting or "hitscan" functions to determine when a gun has hit an enemy. I am instead using projectile-based weapons, and will be adding different kinds of weapons in the future, such as launchers, grenades and select-fire guns.
## Bedrock compatibility
Unfortunately, due to the usage of ["offhand detection",](https://youtu.be/Ejg_5l-bR_M) Bedrock players will not be able to reload their weapons. Mojang have insisted on not providing feature parity with Java Edition for years now, and I can't be bothered to work around this. Left-click detection will be used for other functionality later down the line and therefore left clicking will not be used for reloading.
## Credits and special thanks
- [Minecraft Commands Discord](https://discord.gg/9wNcfsH) (you have all been immensely helpful!)
- https://mc-datapacks.github.io/en/tips/shulker_box_inventory_manipulation.html
- [Cloud Wolf's](https://www.youtube.com/@CloudWolfMinecraft) "How to code guns in Minecraft" series