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

Started by Yusufhum3 on Sun, 12/17/2017 - 19:31

Topic category: Bugs and solutions

Last seen on 21:27, 26. Nov 2020
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 21:27, 26. Nov 2020
Joined Dec 2017
User points:

User statistics:

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

Do you add it in the next update?

Last seen on 17:47, 2. Dec 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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"