• 7/27/22 11:51 am
- 1.9k views • 1 today
- save_alt 169 downloads
- Compatibility
- Minecraft 1.14
- to version
- Minecraft 1.19
- Changes include
- Functions
23
With this data pack, arrows shot from crossbows enchanted with piercing can go through blocks.
The higher the level of piercing is, the more blocks the arrow can go through.
You can use the command /function pierce:__help__ to get help.
If you find any bugs, report it to me, plz.
The higher the level of piercing is, the more blocks the arrow can go through.
You can use the command /function pierce:__help__ to get help.
If you find any bugs, report it to me, plz.
More like this
5659734
119



Have something to say?
I've already implemented numerous additions, like a custom Fletching Table GUI, TNT Firework Rockets that explode on impact, TNT Target blocks that explode on being shot like red barrels, etc.
I have altered arrows shot from Power bows to instead increase the initial velocity of arrows; I saw that online somewhere, but I can't find the datapack page anymore.
I would like to also implement your piercing-through-blocks idea. It's smart. So I would like to ask for your permission, as well as how to give you credit since this is entirely your concept. If not, then that's alright, I've loads of other features in this datapack anyways!
Also. There's a bug – if a mob is standing very close against the block, the piercing arrow doesn't hit it, but goes through it too. I would suspect the solution is to decrease the distance of each step in the raycast loop, but I'm not too sure!
And about that bug, I knew it before I released this data pack, but I don't know how to fix it perfectly, because even if I decrease the distance of each step, the arrow will still be in the hit box of the mob behind the wall and won't hit it if it's close enough.
By the way, your data pack is really cool, I'm looking forward to your new one!
Yeah. So actually I've found that if you stand right up against a dispenser shooting an arrow, it goes through you — the arrow's initial Pos starts in your hitbox, so it doesn't count as a collision, and it just phases through you. It's weird. They really should patch that. But thank you for telling me this, now I know it's an unavoidable bug!