Some blocks need to be able to update blocks around them like pipes or note blocks so we should add a basic implementation for this functionality. A more advanced implementation is https://github.com/GentenStudios/Phoenix/issues/114
Example add an on click event to a block and add a update "block next to me" function in that. Now build a chain of these and you can make a little power wire of blocks. you'd even be able to make the game of life with blocks once this feature is added but these are only really scratching the surface.
MVP
What are the minimum features needed for this story?
[ ] Add update block at (target)
[ ] Make (target) be able to be any XYZ location relative to executor. (E.g Update block X+2 Y- 5 relative to executor)
[ ] Add function to Lua API
Stretch
What are some non-required features for this story?
[ ] Make (target) be able to be any XYZ location relative to the world.
[ ] Allow to check multiple directions at once.
[ ] Add a "sides" function to refer to Z+/- X+/- in one go.
[ ] Add a "all" function to refer to Z+/- X+/- Y+/- in one go.
[ ] Being able to specify specific rules for what/not to update and when (E.g only update LampBlock at "sides" relative to executor if lampblock_power = false set power = true)
Story
Some blocks need to be able to update blocks around them like pipes or note blocks so we should add a basic implementation for this functionality. A more advanced implementation is https://github.com/GentenStudios/Phoenix/issues/114
Example add an on click event to a block and add a update "block next to me" function in that. Now build a chain of these and you can make a little power wire of blocks. you'd even be able to make the game of life with blocks once this feature is added but these are only really scratching the surface.
MVP
What are the minimum features needed for this story?
Stretch
What are some non-required features for this story?