Started by supermj767
on Tue, 03/24/2020 - 14:03
Topic category: Help with modding (Java Edition)
I want to make my guns in my gun mod be able to break glass when the bullet hits it but it doesent work iv'e tried everything, i made a procedure on "when bullet hits block" Break block (If is type "Glass") but it just breaks only at the players position not where the bullet landed,
Its tracking the players position not the bullets position,
so basically i need a procedure that will break a glass block when a bullet hits it
Thank you!
Procedure Trigger (2020.1): When bullet hits block
In procedure: "If Get block at x y z = glass: Place air at x y z"
Looks like this:
Oh wait it's tracking player position instead of bullet position for you... strange
You can't really do this effectively without using custom code, really. The only way to do this would be to remove a 3x3 area while the bullet is flying.
Yeah it is but thanks anyway :)
Okay that's fine Thank you