Tile Entity Attributes

onUpdate

This attribute defines the script that is executed every tick.

Examples

onUpdate = "position.y += 15; world.createExplosion(position, 5.0, false);";