bullet breaking blocks

Started by Tonie on

Topic category: Help with Minecraft modding (Java Edition)

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)

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.

Joined Sep 2021
Points:

User statistics:

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

Still nothing

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

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

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 

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?