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

The following examples show how to use net.minecraft.block.material.Material#redstoneLight() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BlockCarvableLamp.java    From Chisel-2 with GNU General Public License v2.0 5 votes vote down vote up
public BlockCarvableLamp() {
	super(Material.redstoneLight);

	powered = false;
	blockUnpowered = this;
	blockPowered = new BlockCarvableLamp(this);

	setHardness(0.3F);
}
 
Example 2
Source File: BlockCarvableLamp.java    From Chisel-2 with GNU General Public License v2.0 5 votes vote down vote up
public BlockCarvableLamp(BlockCarvableLamp unpoweredVersion) {
	super(Material.redstoneLight);

	carverHelper = unpoweredVersion.carverHelper;

	powered = true;
	blockUnpowered = unpoweredVersion;
	blockPowered = this;

	setLightLevel(1.0F);
	setHardness(0.3F);
}
 
Example 3
Source File: BlockMarbleLamp.java    From Chisel with GNU General Public License v2.0 5 votes vote down vote up
public BlockMarbleLamp()
{
    super(Material.redstoneLight);

    powered = false;
    blockUnpowered = this;
    blockPowered = new BlockMarbleLamp(this);

    setHardness(0.3F);
}
 
Example 4
Source File: BlockMarbleLamp.java    From Chisel with GNU General Public License v2.0 5 votes vote down vote up
public BlockMarbleLamp(BlockMarbleLamp unpoweredVersion)
{
    super(Material.redstoneLight);

    carverHelper = unpoweredVersion.carverHelper;

    powered = true;
    blockUnpowered = unpoweredVersion;
    blockPowered = this;

    setLightLevel(1.0F);
    setHardness(0.3F);
}
 
Example 5
Source File: WrapperMaterial.java    From ClientBase with MIT License 4 votes vote down vote up
public WrapperMaterial getRedstoneLight() {
    return new WrapperMaterial(Material.redstoneLight);
}