Block Attributes

onActivated

This attribute defines the script that is executed every render tick. This is only called on the client, so don't do anything else than drawing stuff.

Examples

onDraw = "renderer.drawString('Hello!', 0, 0, 0x000000);";