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.
+ Save this method
Example 1
Project: DecompiledMinecraft   File: BlockRedstoneLight.java   View Source Code Vote up 5 votes
public BlockRedstoneLight(boolean isOn)
{
    super(Material.redstoneLight);
    this.isOn = isOn;

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

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

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

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