FANDOM


CS1 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.

LitBlock

One lone block stands against the darkness.

The light attribute, as one would expect, governs how much light a block gives off. By default blocks to not emit light, and require this attribute in order to do so regardless of block type.

You set the light value for a block like so:

light=1;

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.

Light values in Minecraft
Fire 15
Jack-O-Lantern 15
Lava 15
Glowstone 15
Torch 14
Lit Furnace 13
Portal 11
Redstone Ore (when lit) 9
Redstone Repeater (active) 9
Redstone Torch (lit) 7
Brown Mustroom 1
Dragon Egg 1
Brewing Stand 1

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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.