Started by
Yusufhum3
on
Topic category: Troubleshooting, bugs, and solutions
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 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.
Do you add it in the next update?
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"
where block facing?
nvm found it