Fixed Ammo only working in inventory bug
Ammo items were only recognized if they were in the player's inventory
Ammo items wouldn't be seen if in the offhand or hotbar
Fixed Projectiles not going through new Spring to Life blocks
All projectiles wouldn't pass through dry grass, leaf litter, bushes, firefly bushes, cactus flowers, or wildflowers
Updated to Minecraft 1.21.5
Datapack now works on the latest version of Minecraft
Removed "Projectile: [GBG Projectile]" part of gun description
This was previously an unavoidable side-effect of the gun system
Fixed Broken Pistol Model
The item model of the pistol was heavily deformed
Fixed C4 Remote not playing beep sound
When the C4 Remote was used, the beep sound effect wasn't played
Fixed syringe sound not playing
When any syringe item was used, the syringe sound wouldn't play
Fixed non-stacking syringes
When a syringe item was used, the syringe given to the player was technically different from the syringe obtained via crafting
Fixed extra space in gun description when crafted/given
The guns' description had an extra space after each stat, this issue would only exist before the gun was shot/reloaded
Fixed Items not being given when inventory was full
When a turret was either picked up or salvaged, the items wouldn't be given to the player if their inventory was full
When a turret is picked up or salvaged, the items are now instead dropped on the ground at the location of the turret
Fixed some item models breaking when playing with other datapacks
The Syringe, 15V Laser Battery, and 15V Laser Battery Bundle have now been given explicit model definitions in their components
This should hopefully prevent their item models from breaking when played alongside another datapack that happens to still use CMD
Fixed item modifier issues with /function give commands
The Pistol and Minigun items' item modifiers were broken when obtained with /function give
Fixed incorrect initial reload speed value for Bazooka
The initial value in the description for the Bazooka's reload speed was incorrect
Fixed Sentry Turret recipe giving wrong item bug
The recipe for the Sentry Turret gave a Perdition Turret instead
Fixed Turret overlap bug
Turrets could be placed on the same block as a destroyed turret, resulting in strange, unexpected behaviour
Fixed broken waterlogged glass panes making air
When a waterlogged glass pane was shot with a bullet, it would turn to air instead of water
Fixed turrets lagging out server bug
The Auto and Sentry turrets would lag out certain server types whenever a mob was killed
Creepers are no longer visible for a frame when explosions occur
Whenever a custom explosion occurs, creepers will no longer appear for a split second
Thanks Chems!
Added 2-tick rate of fire support for Crossbow guns
The "1-tick" rate of fire functionality for Crossbow Guns has been extended to apply to guns with 2-tick rate of fire
This is because the old "1-tick" rate of fire is techically only 2-tick
True 1-tick rate of fire can be achived by using a red dye gun
Fixed quick rate of fire guns causing players to freeze in place on servers
Now, the recoil for 1-tick and 2-tick rate of fire guns only applies once every 3 shots of the guns
Fixed armored targets being immune to guns upon world first being loaded up
Gun targets with armor (players and zombies) would ignore gun damage until the pistol was shot
Fixed Ray Gun: Red not firing
The Ray Gun: Red wouldn't fire until either another ray gun was fired, or the reload button was pressed
Fixed Recoil Strength value deviating from true value upon reloading
When the player shot a gun and then reloaded a different gun, the recoil strength value in the description would use the value from the shot gun
Fixed players being able to interact with blocks/entities when holding guns
Until the gun was shot/reloaded, the player could interact with blocks/entities
Updated to Minecraft 1.21.4
Datapack now works on the latest version of Minecraft
Fixed all items not having updated forms in recipes
The guns, ammo items, and more all used the old pre-1.21.3 format for components and custom data
Buffed Ray Gun: Pink
The gun now fires faster and has a much higher range
The projectile is a slowcast now
Rewrote medical item descriptions
Now the effects follow the same style as potions
Fixed missing Antidote Syringe item in command bug
The Antidote Syringe was missing from the give:all_medical
give function
Fixed Laser Cannon having Laser Rifle name
The Laser Cannon item had the same name as the Laser Rifle
Fixed Flamethrower having Assault Rifle name
The Flamethrower had the same name as the Assault Rifle
Removed all official GBG addon resources
All models, textures, and sounds for all official GBG addon packs have been removed from the base GBG resource pack
This change drastically reduces the file size of the base GBG resource pack
The official GBG addons will be given resource packs of their own once they are updated to Minecraft 1.21.4
Switched Resource Pack to use GBG namespace
Now, all custom assets are stored in the gbg
namespace, instead of the minecraft
namespace
The exception, of course, are the ammo items that are used in the crafting table
This change also fixed many spelling errors and inconsistencies internally