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

The following examples show how to use net.minecraft.block.material.Material#circuits() . 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: BlockQuantumLogic.java    From qcraft-mod with Apache License 2.0 5 votes vote down vote up
protected BlockQuantumLogic()
{
    super( Material.circuits );
    setBlockBounds( 0.0F, 0.0F, 0.0F, 1.0F, 0.125F, 1.0F );
    setHardness( 0.0F );
    setStepSound( Block.soundTypeWood );
    setBlockName( "qcraft:automatic_observer" );
    setCreativeTab( QCraft.getCreativeTab() );
}
 
Example 2
Source File: BlockRoadLine.java    From Chisel-2 with GNU General Public License v2.0 5 votes vote down vote up
public BlockRoadLine() {
	super(Material.circuits);

	if (Configurations.useRoadLineTool) {
		this.setHarvestLevel(Configurations.getRoadLineTool, Configurations.roadLineToolLevel);
	}
	this.setBlockBounds(0.0f, 0.0f, 0.0f, 1.0f, 0.00390625f, 1.0f);
	// this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.0625F, 1.0F);
}
 
Example 3
Source File: BlockSpikes.java    From Chisel with GNU General Public License v2.0 5 votes vote down vote up
public BlockSpikes(Material mat)
{
    super(Material.circuits);

    this.setCreativeTab(CreativeTabs.tabDecorations);
    this.setBlockBounds(0.0f, 0.0f, 0.0f, 1.0f, 1.0f / 16, 1.0f);
}
 
Example 4
Source File: BlockRoadLine.java    From Chisel with GNU General Public License v2.0 5 votes vote down vote up
public BlockRoadLine()
    {
        super(Material.circuits);

        this.setBlockBounds(0.0f, 0.0f, 0.0f, 1.0f, 0.00390625f, 1.0f);
//        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.0625F, 1.0F);

        setCreativeTab(Chisel.tabChisel);
    }
 
Example 5
Source File: WrapperMaterial.java    From ClientBase with MIT License 4 votes vote down vote up
public WrapperMaterial getCircuits() {
    return new WrapperMaterial(Material.circuits);
}
 
Example 6
Source File: BlockKnowledgeBook.java    From Gadomancy with GNU Lesser General Public License v3.0 4 votes vote down vote up
public BlockKnowledgeBook() {
    super(Material.circuits);
    setBlockBounds(0.0625F, 0.125F, 0.0625F, 0.9375F, 0.5F, 0.9375F);
    setCreativeTab(RegisteredItems.creativeTab);
}
 
Example 7
Source File: BlockGauge.java    From archimedes-ships with MIT License 4 votes vote down vote up
public BlockGauge()
{
	super(Material.circuits);
	setBlockBounds(0F, 0F, 0F, 1F, 0.1F, 1F);
}
 
Example 8
Source File: BlockLaserBeam.java    From Artifacts with MIT License 4 votes vote down vote up
public BlockLaserBeam() {
	super(Material.circuits);
	this.setTickRandomly(true);
       this.setBlockTextureName("artifacts:laser");
}