GBG V1.28.1
Updated to Minecraft 26.1
- Datapack now works on the 26.1 version of Minecraft
Added All Copper Bars to Raycast Passable List
- All projectiles can now shoot/pass through the copper bars
GBG V1.28
Added Gun Accuracy
- Each gun now has an accuracy stat that will slightly offset the projectile when fired
- The accuracy of a gun is determined by the
accuracystat in the guns custom data - The accuracy is on a scale from 0-100%, with 0 being the worst and 100 being the best
- Guns without an accuracy stat defined have an accuracy value of 100
Fully Added Headshots
- While initial code was implemented a while back, headshots are now fully integrated into all the guns
- A headshot is when a 'humanoid' target is hit in the head part of their model
- How much damage the headshot does is determined by a defined
headshot_damagestat; the amount of an increase is dependent on the gun - Baby versions of these mobs cannot take headshots
- The headshot stat is listed in the description of the gun, right next to the damage value
- If the headshot damage isn't specified, the regular damage stat is used instead
Added 'Armor Penetration Label' Stat
- Guns can now optionally display in their description their armor piercing
- It's an arbitrary string, separate from the gun's
damage_type - The value appears right after the damage stat
Updated Gun Descriptions
- The the damage stat now shows both the regular and headshot damages and the armor penetration of the gun
- The range stat now shows the gun's accuracy as well
- The text "Rate of Fire" has been changed to "Fire Rate" and the text "ticks" and "blocks" have been capitalized
- This change mandates a new stat called
deals_explosive_damage, guns without it won't render thedamagestat properly - Unfortunately, all currently existing guns will now have visual problems with their description
- (This problem is just visual, it doesn't affect how the gun performs)
Nerfed Pellets Piercing
- Hitting a target now increases distance traveled more, 6 -> 9 blocks (This means less targets can be pierced through overall)
- If a hit target has 8 or more armor points, the projectile stops early
New Gun Stats
- In addition to new stats, some guns have had their stats changed as well to compensate
- Pistol: headshot damage: 11, range: 64, accuracy: 70
- Assault Rifle: headshot damage: 5, range: 44, accuracy: 50
- Shotgun: headshot damage: 19, range: 32, accuracy: 35
- Sniper Rifle: headshot damage: 27, range: 120, accuracy: 95
- Minigun: headshot damage: 6, range: 42, accuracy: 45
- Grenade Launcher: accuracy: 90
- Bazooka: range: 110, accuracy: 95
- Flamethrower: headshot damage: 3, accuracy 60
- Laser Pistol: headshot damage: 26, range: 76, accuracy: 90
- Laser Rifle: headshot damage: 36, range: 96, accuracy: 95
- Assault Laser Rifle: headshot damage: 6, range: 80, accuracy: 75
- Laser Cannon: range: 130, accuracy: 95
Updated Resource Pack Icon
- The
pack.pngicon still used the old pistol model from pre-GBG V1.27
Fixed has_above_text Value Not Copying
- The
has_above_textstat wouldn't copy when shoot types were cycled through
Fixed crafted Snipers having broken Zoom Models
- When the Sniper Rifle was crafted, its zoom model didn't appear correctly
Fixed Z-Fighting on Grenade Launcher
- The Grenade Launcher had some z-fighting on the back parts of the model
Fixed Sniper Inventory Zoom Model Clipping
- The Sniper Rifle's model would clip behind the inventory slot when zoomed with
Fixed Minor Formatting Issue in Explosive Weapon Descriptions
- The Bazooka, Grenade Launcher & Laser Cannon, before being shot/reloaded, were missing the 'blocks' label of the range stat
GBG V1.27
Added Grenade Launcher
- There's a brand-new gun in Gamingbarn's Guns, the Grenade Launcher
- It's much like the Milkor MGL from Modern Guns in terms of rough stats and function
- The gun is rather expensive to craft, and has very costly ammunition, only being edged out by the Bazooka and its rockets
- The Grenade Launcher uses the Grenade throwable as ammunition
Updated Standard Gun Models
- The models for the Pistol, Assault Rifle, Shotgun, and Sniper Rifle have been updated
- These updated models are inspired/copied from Modern Guns
Resized Gun Models in Inventory
- The models of the guns in the inventory have been resized to fit within the inventory square
- Larger guns no longer overflow into other slots, making other items harder to see
Resized Gun Models on Ground
- The gun models are now much smaller when dropped on the ground
Updated Resource Pack Link
- The resource pack verification popup has had the download link for the resource pack updated
- The link now shows all resource pack versions, instead of dp+rp versions
Fixed Multiple Custom Data Components Breaking Ammo Items
- If an ammo item had multiple data entries in its
custom_datacomponent, the ammo wouldn't be recognized by GBG - Ammo items can now have anything in their
custom_datacomponent, so long as the ammo item tag is present at the root
Fixed Minigun Item Frame Model
- The Minigun model in the item frame was misshapen
Adjusted Laser Weapon Zoom Models
- The Laser Weapon zoom models now inherit the regular model
- This results in slightly adjusted first-person zoom model views
GBG V1.26.7
Added Separate Recipes for each Ray Gun Mode
- In order to alleviate confusion caused by the new Ray Gun, the five Ray Gun modes have been given each a custom recipe
- The recipe uses colored concrete, much like the recipes from before the Ray Guns were condensed
- Despite having their own separate recipes, the Ray Guns are all still one item
- Any of the new recipes can be used not only for the selected Ray Gun, but for the other four as well
Added Proper Shelf Positions to all Items
- All GBG items now appear properly on the 1.21.9 shelves
Added Minimum Range to Guns
- All guns now have a minimum range of one block
- This change is to make using guns while riding mounts much less hazardous
- If shot straight down, players may still shoot their mount, but it's much trickier
Rebalanced Several Recipes
- Removed the iron bars from the Laser Rifle recipe
- Increased 9V Laser Battery crafted amount from 3 to 4
- Increased Syringe crafted amount from 1 to 3
- Allowed waxed copper blocks to be used in the 15V Laser Battery recipe
Tweaked Pistol Magazine Model
- A hole has been added to the top of the mag, and the mag is no longer square
Increased Amount of Particles Displayed with Light Bullets
- Particle frequency has been increased from 5 to 3
Fixed Dismounting Mount When Shooting Bug
- When a gun was shot while riding any mount at all, the player would automatically dismount the mob
Fixed Broken C4 Model
- Due to a change introduced in Minecraft 1.21.11, the C4 model wouldn't render
Fixed Incorrect Value in Assault Rifle Description
- Before shooting/reloading, the AR would say it had a Fire Rate of 10 ticks, instead of 4 ticks
Fixed 0 Durability Shoot Type Swap Bug
- When swapping shoot types, if the swapped shoot type didn't have any ammo, the durability was set to 0 instead of 2, causing visual problems
Fixed Blank Ray Gun Negative Ammo Bug
- If a Blank Ray Gun was shot, reloaded, and then shot, the current ammo would go into a negative value and allow the gun to be shot more
- This bug mainly made it trickier to figure out how shoot types worked, as once the negative ammo took affect, the instructions on the description would disappear
GBG V1.26.6
Updated to Minecraft 1.21.11
- Datapack now works on the latest version of Minecraft
GBG V1.26.5
Added Bullet Whiz-by Feature
- The Bullet and Light Bullet projectile types will now play a whiz-by sound when passing players
- The sound can be heard when projectile passes within 3-4 blocks of the given player
- This serves not only as a cool touch, but to signify if you are under fire when you hear gunshots
Added Water Weakness Feature
- All bullet-based projects now slowed down significantly in water
- Pellets slow down the fastest, followed by light bullets, and then regular bullets
Added C4 & Landmine Disarming Feature
- Laser guns can now disarm both C4s and Landmines when shot at
- This also works for any custom guns using the Laser Standard or Laser Strong damage type
Added custom Damage Type support
- Developers can now use the
damage_type_blockordamage_type_entityfunction tag to call functions on projectile impact - The
damage_type_blocktag will be called upon raycast/slowcast impacting a block - The
damage_type_entitytag is called whenever a raycast or slowcast hits a valid entity - For checking the damage type for raycasts, use the scoreboard:
gbg.damage_type gbg.temp - For checking the damage type for slowcasts, use the scoreboard:
marker_damage_type gbg.temp
Slightly Increased Swap-Shoot Type Threshold
- Increased the threshold from 12 ticks (0.6 sec) to 16 ticks (0.8 sec)
Fixed Gun Duplication Bug
- When reloads were initiated with certain guns with guns in both hands, the guns could duplicate
- To fix this, gun reloading is fully disabled if guns are present in both hands
- (As a bit of a bonus, guns can now be "dual-weidled" in a sense, where a gun can be stored in the offhand for quick switching)
GBG V1.26.4
Fixed GBG Incompatibility Message Persisting
- The message informing the player that GBG and GC are incompatible wouldn't go away, even after GBG was removed
- This was a bug primarily with Gun Core, but requires changes to Gamingbarn's Guns as well to properly fix


