|Custom Stuff 1
Information presented below this line is outdated syntax or information used for Custom Stuff 1. It will not work with Custom Stuff 2.
You set the light value for a block like so:
The integer value can be set from 0 (emitting no light), to 15(as much as a glowstone block). The value can actually be set up to 255, but the game cannot handle values in excess of 15 and will automatically reduce it to 15 if a greater value is input. Be aware that most hostile mobs require a light level of 7 or less, and that the light level drops with each block it travels. As such, a block with a light level of 7 will only stop hostile mobs from spawning on the block itself and is really only useful for decorative purposes.
Values in Vanilla Minecraft
There are several blocks in the vanilla Minecraft game that emit light. Below are their listed values.
|Redstone Ore (when lit)||9|
|Redstone Repeater (active)||9|
|Redstone Torch (lit)||7|
Light in CS2
To get blocks to light up is also very easy in Custom Stuff 2.
To set a light value for a block you put
light[Metadata] = Light Level