Java Code Examples for net.minecraft.block.material.Material.redstoneLight()

The following are Jave code examples for showing how to use redstoneLight() of the net.minecraft.block.material.Material class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: BaseClient   File: BlockRedstoneLight.java   Source Code and License Vote up 5 votes
public BlockRedstoneLight(boolean isOn)
{
    super(Material.redstoneLight);
    this.isOn = isOn;

    if (isOn)
    {
        this.setLightLevel(1.0F);
    }
}
 
Example 2
Project: BaseClient   File: BlockRedstoneLight.java   Source Code and License Vote up 5 votes
public BlockRedstoneLight(boolean isOn)
{
    super(Material.redstoneLight);
    this.isOn = isOn;

    if (isOn)
    {
        this.setLightLevel(1.0F);
    }
}