Java Code Examples for net.minecraft.block.material.Material.REDSTONE_LIGHT
The following are Jave code examples for showing how to use
REDSTONE_LIGHT 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: Backmemed File: BlockRedstoneLight.java View Source Code | 5 votes |
public BlockRedstoneLight(boolean isOn) { super(Material.REDSTONE_LIGHT); this.isOn = isOn; if (isOn) { this.setLightLevel(1.0F); } }
Example 2
Project: CustomWorldGen File: BlockRedstoneLight.java View Source Code | 5 votes |
public BlockRedstoneLight(boolean isOn) { super(Material.REDSTONE_LIGHT); this.isOn = isOn; if (isOn) { this.setLightLevel(1.0F); } }