Files
TinkersConstruct/tinker/tconstruct/blocks/SearedBrick.java
T
2013-02-11 12:25:40 -08:00

23 lines
502 B
Java

package tinker.tconstruct.blocks;
import net.minecraft.block.material.Material;
import net.minecraft.world.World;
public class SearedBrick extends TConstructBlock
{
public SearedBrick(int id, int tex, Material material, float hardness, int sub)
{
super(id, tex, material, hardness, sub);
}
public float getBlockHardness (World world, int x, int y, int z)
{
int meta = world.getBlockMetadata(x, y, z);
if (meta <= 2)
return 10f;
else
return 3f;
//return this.blockHardness;
}
}