Adds some simple Terraria-like guns and bullets to go with them.
If you want to make an addon or have compatibility with GWR, you can use the Modrinth maven. I don't know if there is a better way for it with my current setup, but it works good enough for me. There are also a few tags I've noted on the Github wiki pages that I'd like you to fill if you do an addon.
Just be aware that:
- Those jars do not carry the javadoc, so browse through the code here to see it (not ideal I know).
- The version number are funky because I screwed up when making my gradle setup, in game they are
minecraftversion-modversion, for example1.20.1-2.3.0, but I think on modrinth it's just the normal version number. Sorry.
You can see Guns Without Roses Additions as an example if you want.
- Guns are instances/extend
GunItem. There are a lot of methods to override if you want to mess with the behavior. - Gatlings are instances/extend
GatlingItem. This handles the fractional fire delay and the hold to fire. - Bullets implement
IBullet, though for most uses using/overridingBulletItemshould be good enough. There's several methods inIBulletto override for more behavior (likeExplosiveBulletItemfor example), but you may need a custom entity overridingBulletEntityfor more complex projectile behavior (such asPiercingBulletEntityused byPiercingBulletItem). - There are a few tags that you should fill with your new content, look over at the github wiki pages for that. They also have explainations for some stats.