Fixed gun sounds cutting off bug
When certain gun sounds were used in 1-tick guns, they would be cut off
Made Large Laser projectile type actually large
Before, it was the same size as the regular laser projectile type
Optimized projectile raycasts
Should result in increased performance and less lag on multiplayer servers
Fixed Perdition Turret not changing model when destroyed
When the Perdition Turret entered the destroyed phase, its model wouldn't change
Fixed Perdition Turret dummy HP shield bug
The Perdition Turret would have an addition 60 hp of damage it could sustain before taking actual damage
Added custom Explosion Sound and particles to Perdition Turret death
When the Perdition Turret changes to be destroyed, it now plays another sound effect and some particles appear
Fixed reloading ammo tag abuse bug
The player could reload a gun, even if they didn't have the proper ammo item It would only matter if the player had an item with the proper ammo tag
Added 4 new Reload Types
There are 4 new reload types that can be used by players with custom guns
Partial 25/50/75 (3/4/5) - Refills the gun 25/50/75% at the cost of 1 ammo item
Bullets (6) - Refills the gun completely at the cost of 1 ammo item per shot the gun needs refilled
Buffed Laser Pistol and Laser Rifle
The Laser Pistol max ammo is now 8 and now uses the partial 50 reload type The Laser Rifle damage has been increased to 28 from 27
Tweaked Assault Laser Rifle
The max ammo has been raised to 48, but the gun now uses the partial 50 reload type
Updated to Minecraft 1.21
Datapack now works on the latest version of Minecraft
Fixed dead players using medical items bug
When a player died whilst using a medical item they would continue using the item until it disapeared This issue was also present with throwables
Fixed wooden axe backwards bug
The vanilla wooden axe sprite was backwards
Fixed give:ray_gun_blue giving Ray Gun: Red bug
The give function for the Ray Gun: Blue gave the wrong gun
Optimized recoil system
Changed the recoil system to immediately apply the camera motion
This was done in order to optimize the shoot function of the datapack
If you feel like the new recoil values are not good, please give feedback
Tweaked Modern Gun models
Made several small changes to many of the Modern Gun models
Added melee weapon textures and models
They currently aren't used for anything, but will be in the future
Fixed broken Modern Gun models
The model files for all modern guns were broken
Improved various models
Made small tweaks and improvments to various pipe guns and modern gun models
Added new Modern Gun Models
Added 5 new gun models to be included in future Modern Guns update
Added NES Zapper Model
You're welcome, Jefferwald
Fixed broken GBZ Minor Infection Cure
The item, when used, wouldn't disapear The syringe also had a chance of being given to the wrong player
Fixed broken gun zooming
Zooming in with guns was broken for all guns
Added back give_all give functions
Updated give functions
All give functions are now fully functional and updated
Fixed Assault Rifle Naming Bug
The Assault Rifle had the Sniper Rifle name
Fixed small visual issue that occurred with the config menu
Added Pipe Guns and Modern Guns Assets
This is to remove the necessity to weld the packs when wanting to play with content from both packs
Modified Medical Item System
Medical items have been changed Players must now hold right click until a progress bar has filled completely Once the bar is full, the player will receive the effects of the medical item Items like medkits and bandages take longer to use than syringes Medical item stacking has also been increased from 1 to 8
Modified Throwable Item System
Throwable items have also been changed Now, instead of being spam-thrown like vanilla eggs or snowballs Throwabales now must "ready" themselves by holding right click This nerf was necessary as the throwables, especially the grenade, were too powerful when in large amounts
Buffed Mekit regen
raised from 5 to 8 seconds
Fixed Pipe Bomb damage inconsistency bug
The pipe bomb said it dealt 16 damage, but it actually dealt 5 damage (to both players and mobs) The pipe bomb has been modified to deal 14 damage
Buffed Molotov Cocktail damage
Increased from 1 to 2 damage
Removed crafting manuals
They are now obsolete since the recipes can now be viewed in the vanilla recipe book All recipes are given to players automatically, no need to unlock them
Added Added Antidote Syringe
Can be used to dispel poison or wither status effects Quicker to use than a medkit, but doesn't provide any regen or other buffs
Changed gun attribute formatting**
**The names of the custom components that guns use have been changed
Changed turret item stack sizes
It has been reduced from 64 to 4 This is to make it more difficult to spam turrets at enemy bases.
Removed feature enable/disable config system
Would be much more difficult to implement with the new crafting system If you would like to remove a player's ability to craft an item, go into the datapack and delete the recipe file
Fixed Unbreakable ammo bug
All ammunition would say that is "unbreakable"
Increased gun "durability"
The durability bar that indicated the ammo left on guns has been increased from 25 to 200
Fixed Large Laser projectile type unable to go through glass bug
Guns with the large laser projectile type were unable to shoot through glass
Renamed "Flame Thrower" to "Flamethrower"
The way it should have been from the start
Tweaked all gun models
They now face the player instead of facing away
Fixed Minigun Ammo white name bug
The color of the Minigun Canister item was supposed to be yellow
Removed "give_all_" give functions
Fixed broken multiplayer c4 and landmine crafting
When crafting a c4 or landmine, there was a chance the item would be given to a player other than the one that crafted it This issue also occurred with the give functions
Optimized and cleaned up up datapack
Removed old, unused files and organized existing files There were a lot of old files This fact combined with the removal of the crafting advancements and functions means the size of the datapack should be considerably smaller now
Re-added shotgun cocking noise
The cocking sound for the shotgun was removed when the datapack switched to be more data-driven
Nerfed flamethrower cost
No longer costs an iron block
Removed "Press [key.swapOffhand] to reload" from guns that don't use/need ammo
Slightly buffed Ray Gun: Pink rate of fire
Removed give functions
They will be back in the next update
Fixed turret death message saying pig
Whenever a player died to a turret, it would say they were shot by pig
Fixed "turret menu ran!" bug
The message "turret menu ran" would be sent alongside the turret menu when it was pulled up Probably something left over from debugging
Removed pre-V1.19 turret backwards compatability
Update was long enough ago
Made gun name apear in gun explosion death messages
Before, it would say "Player was blown up by Gun Explosion"
Fixed broken turret vs player ai
Turrets would behave very strangly when their target type was set to player
Added gun reloading actionbar indicator
When players reload, they can see how long until they can shoot again via a timer in their actionbar This can be disabled globally by running the command: /function config:actionbar_items_off
Added default turret target type config option
Operators can now change the default target type for turrets when they are spawned This default will affect all newly placed turrets
Added GBG config menu
A command can be ran to access an text-based menu to change various config settings This is much easier than manually typing out different commands You can access it by running the command: /function config:gbg
Fixed gun duplication in nether and end bug
When you reloaded in the end or nether your gun would be duplicated
Removed player_damage_on/off config functions
They didn't even work in this version
Added Minor Infection Cure give command
Will only give the item if GBZ is installed alongside GBG
Fixed broken Minigun crafting bug
The Minigun couldn't be crafted
Fixed broken Rocket crafting bug
The Rocket couldn't be crafted
Updated gun item NBT
Fixed naming inconsistencies This change will break all guns from version prior to GBG V1.20 To update those guns, simply shoot them on GBG V1.20 and then shoot them again on this version
Added use of custom shoot and reload sounds
The sound used for the gun when it shoots or reloads is specified in the gun's nbt data
Added use of custom ammo in guns
The nbt tag and base item of the gun's ammo is specified in the gun's nbt data
Separated projectile type and damage type
Guns can now have projectile particles and behavior separate from the what the gun does on impact
Changed Minigun and Bazooka name colors to be yellow
Fit the rarity name coloring system of Minecraft
Slightly increased Sniper Rifle rate of fire
Small buff for our little friend mr. sniper rifle I will probably never balance him correctly
Renamed explosive_laser projectile type to large_laser
The separation of projectile type and damage type meant that the explosive laser no longer had to be explosive
Fixed fire weapons not dealing proper damage
Weapons that used a fire projectile type would not deal proper damage to their targets
Fixed broken turret menu
Players could bring up the turret menu, but couldn't do anything
Fixed Sniper Rifle piercing when close to target
Players could still pierce with the Sniper Rifle (and other long range guns) when very close to their targets
Increased Sniper Rifle rate of fire
Nessesary buff since piercing was removed a couple updates ago
Fixed broken ammoless gun bug
Ammoless guns, ray guns or custom guns, wouldn't shoot on right click
Added bubble_column and kelp to raycast pass lists
Cleaned up tag lists
Fixed broken death messages bug
Death messages were accidentally broke in V1.20
Added Minigun
Very high rate of fire, very high magazine size, very low range
Fixed z-fighting on Sniper Rifle
Was only noticable when the item was dropped
Increased 9V and 15V Laser Batteries cost
Reduced Flame Thrower cost