bullet breaking blocks

Started by Tonie on

Topic category: Help with modding (Java Edition)

Last seen on 13:22, 8. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bullet breaking blocks

Hello i just want to make projectile what can break farmland and dirt bellow it but its dont break anything or sometimes block on left to projetile somebody can help?

https://drive.google.com/file/d/1i04BVVE6Shr6Pwv3gw6jF7stVo3bdNAJ/view?…

This is my procedure and i use it on while bullet is flying tick (sorry for my bad english)

Last seen on 15:45, 10. Apr 2024
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i recommend using the…
Tue, 09/28/2021 - 14:59

i recommend using the procedure on the "when bullet hits block" event.

Last seen on 13:22, 8. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Still nothing
Tue, 09/28/2021 - 15:13

Still nothing

Last seen on 13:22, 8. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i add set pitch and yaw to 0…
Tue, 09/28/2021 - 15:26

i add set pitch and yaw to 0 and its work

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this should be your…
Tue, 09/28/2021 - 15:40

this should be your procedure:

if block at X Y Z = FARM_LAND AND block at X Y - 1 Z = DIRT

   do remove block at X Y Z

         remove block at X Y - 1 Z

and put it on the trigger that freddy says

Last seen on 13:22, 8. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this should be your…
Tue, 09/28/2021 - 17:48

this should be your procedure:

if block at X Y Z = FARM_LAND AND block at X Y - 1 Z = DIRT

   do remove block at X Y Z

         remove block at X Y - 1 Z

and put it on the trigger that freddy says

It should work great but i more like my solution

Thanks 

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so supposing I understand…
Tue, 09/28/2021 - 18:02

so supposing I understand what you mean, in your procedure, what you are doing is telling to minecraft, "when my bullet hits a block, if there is dirt or farmland below it, remove the block below it" so it will just work for dirt as you can't place a block in top of farmland.

PS: what I think you mean is that if the bullet hits farmland, it removes that and the dirt below it right? or am I wrong?