Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Utility of Gunpowder Barrel #5989

Draft
wants to merge 6 commits into
base: 1.20.4
Choose a base branch
from

Conversation

voidsong-dragonfly
Copy link
Contributor

The intent of this PR is to make the gunpowder barrel a useful tool for dealing with large volumes of rock.

As a part of this PR, gunpowder barrels are:

  • Instant explosions once again
  • Directional explosions that are biased against the direction with the most "hardness"
  • More powerful than TNT because they are actual bombs and not "gunpowder mixed with sand"
  • Better for antipersonnel damage when on the surface, but better at breaking rocks when inside rock

Fixes #5904, Fixes #3692

 - Powder barrel explosion is now directional
 - Powder barrel explosion breaks more blocks
 - Powder barrel explosion keeps all blocks
 - Powder barrel explosion is instantaneous
 - Powder barrel explosion breaks more blocks when it is submerged in a rock face and not up top
 - Shockwave now propagates appropriately
 - Three modes: surface, subsurface, blasting
     - Surface is mostly shockwave
     - Subsurface is a mix
     - Blasting is mostly block removal
 - Still many bugs to iron out!
 - Explosion type is now based on number of blocks around the barrel, rather than blast resistances
 - Blast resistances still determine explosion size
 - Propagation direction is set up to depend upon blocks in a direction, with a bias from resistance, but has not yet been done so

 - Explosion is now properly handled only on the server side
 - A few more client/server tweaks to obtain TNT parity
 - Make explosion movement properly directional
 - Clean up some old code left in comments
 - Make step determination clearer and simpler
 - Gunpowder Barrels no longer jump to make sure centering can happen
 - Direction biasing based upon resistance is no longer possible (for now)
 - Scan size is slightly smaller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Making the Gunpowder Barrel actually useful. [1.14.4 | 0.14-93] [Suggestion] Gunpowder Barrel issues
1 participant