#Connectable custom blocks using script

1 messages · Page 1 of 1 (latest)

lusty aurora
#

Hence, block events are deprecated and will remove in the future, how could I replace connectable block using script? I use queued_ticking event to update permutation depending on the blocks nearby. How should I do it in script? I want to do it in stable API.

lusty aurora
#

Up

proven wolf
#

what

lusty aurora
#

Basically, I want to replace queued_ticking in custom blocks with scripts, hence events are deprecated.

lusty aurora
#

Up?

#

Seems there's no replacement yet for this block event.

proven wolf
#

cuz not everyone knows other addon stuff

lusty aurora
#

Basically, I want to update the state of block every tick.

proven wolf
#

then wata issue

#

use run interval

lusty aurora
#

The problem is getting the block in the entire world.

proven wolf
#

no way non script addon ssytem do that

peak cedar
#

the best solution here would probably be to use the playerPlaceBlock event and just update the surrounding blocks when a block is placed

proven wolf
#

yea

lusty aurora
proven wolf
#

its almost impossible

lusty aurora
#

I have an alternative ideas, but I'm afraid this will cause lots lags. So block events is still more practical to use.

#

I'll stick with it for now.

proven wolf
#

even block place is not better

trim abyss
# proven wolf its almost impossible

I've found a way to do this but its not the most performant, having a database of each placed block and in randomized ticks over a period of time check them in the database like in-game minecraft blockticking events, then you can do those checks then incase its been updated.