#Entity Custom Component?

1 messages · Page 1 of 1 (latest)

agile gazelle
#

I want to run a constant script that replaces items inside entities inventories with new ones every random tick, basically the same as a custom block component when a crop grows every random tick.

is this possible?

fresh halo
#

That's not how random ticks work. Random ticks work by selecting random blocks in the chunk every tick

#

You could use a timer with randomized min and max times to do it though probably

agile gazelle
#

I see the vision but what would be the trigger for the timer?

#

can a timer trigger an event indefinitely?