"when block loaded" trigger

Not applicable
Issue description

I want a procedure trigger when block loaded,provided dependencies:

x y z world

so I can do such a thing like

when block loaded(dependencies:x y z world):
if <block at (x) (y) (z)> is <block DIRT>:
    replace block at (x) (y) (z) to <custom block NEW DIRT> keep inventory FALSE keep nbt FALSE


Issue comments

I cant use When block added as LOAD,but PLACE.

Second:Not able to set triggers for vanilla block&items

Yes, this would do the trick, but it will not be loaded instantly as random tick is, well, random

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.