Example usage for net.minecraftforge.common ToolType PICKAXE

List of usage examples for net.minecraftforge.common ToolType PICKAXE

Introduction

In this page you can find the example usage for net.minecraftforge.common ToolType PICKAXE.

Prototype

ToolType PICKAXE

To view the source code for net.minecraftforge.common ToolType PICKAXE.

Click Source Link

Usage

From source file:com.teambrmodding.assistedprogression.common.block.GrinderBlock.java

License:Creative Commons License

/**
 * Base Constructor//from   w ww  .  ja  v a  2s  .  c  om
 */
public GrinderBlock() {
    super(Properties.create(new Material(MaterialColor.STONE, false, false, true, false, false, false, false,
            PushReaction.NORMAL)).harvestTool(ToolType.PICKAXE).hardnessAndResistance(2.0F), "grinder",
            GrinderTile.class);
}

From source file:com.teambrmodding.assistedprogression.common.block.RedstoneClockBlock.java

License:Creative Commons License

/**
 * Constructor/*from  w ww.ja  va 2 s  . c o m*/
 */
public RedstoneClockBlock() {
    super(Properties.create(Material.ROCK).hardnessAndResistance(2.0F).harvestTool(ToolType.PICKAXE),
            "redstone_clock", RedstoneClockTile.class);
    setDefaultState(getStateContainer().getBaseState().with(PressurePlateBlock.POWERED, false));
}