How can i make a Block that destroy`s the block in front

Started by Yusufhum3 on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i make a Block that destroy`s the block in front
Sun, 12/17/2017 - 19:33 (edited)

I want to make a Block remover for a skyblock mod that destroys the block in front (to automate cobblegenerators)  And how can i make that the block faces in the opposite direction that you`re looking at while placing (like dispensers,Pistons if you look upwards and place them they`ll look down) Please help someone that would be nice thanks :D

Edited by Yusufhum3 on Sun, 12/17/2017 - 19:33
You can use update tick…
Mon, 12/18/2017 - 20:38

You can use update tick event and add destroy block event result for all sides. If you want the block to drop gems, use destroy block with drop event result.

Block facing is not supported yet but is one of the planned features for upcoming updates.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you add it in the next…
Tue, 12/19/2017 - 15:48

Do you add it in the next update?

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If block facing north,   …
Fri, 08/14/2020 - 18:19

If block facing north,

   execute command "setblock ~ ~ ~1 air destroy"

If block facing east,

   execute command "setblock ~1 ~ ~ air destroy"

If block facing south,

   execute command "setblock ~ ~ ~-1 air destroy"

If block facing west,

   execute command "setblock ~-1 ~ ~ air destroy"

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where block facing?
Sun, 12/12/2021 - 18:25

where block facing?