mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-23 21:59:51 +00:00
Fixed a minor bug
This commit is contained in:
1 parent
19826d4d91
commit
1df88f5587
7 files changed
+36
-15
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package info.jbcs.minecraft.chisel.block;
|
||||
|
||||
import net.minecraft.block.BlockContainer;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
/**
|
||||
* Created by Pokefenn.
|
||||
* Licensed under MIT (If this is one of my Mods)
|
||||
*/
|
||||
public class BlockAutoChisel extends BlockContainer
|
||||
{
|
||||
public BlockAutoChisel()
|
||||
{
|
||||
super(Material.rock);
|
||||
setBlockName("autoChisel");
|
||||
setHardness(1F);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createNewTileEntity(World var1, int var2)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -27,9 +27,7 @@ public class BlockMarbleIce extends BlockIce implements ICarvable
|
||||
public BlockMarbleIce()
|
||||
{
|
||||
super();
|
||||
|
||||
carverHelper = new CarvableHelper();
|
||||
|
||||
setCreativeTab(Chisel.tabChisel);
|
||||
}
|
||||
|
||||
@@ -61,15 +59,11 @@ public class BlockMarbleIce extends BlockIce implements ICarvable
|
||||
public void harvestBlock(World par1World, EntityPlayer par2EntityPlayer, int par3, int par4, int par5, int par6)
|
||||
{
|
||||
super.harvestBlock(par1World, par2EntityPlayer, par3, par4, par5, par6);
|
||||
return;
|
||||
|
||||
/*
|
||||
par2EntityPlayer.addStat(StatList.mineBlockStatArray[Block.getIdFromBlock(this)], 1);
|
||||
par2EntityPlayer.addExhaustion(0.025F);
|
||||
|
||||
if(par1World.isRemote)
|
||||
return;
|
||||
|
||||
/*
|
||||
if(this.canSilkHarvest(par1World, par2EntityPlayer, par3, par4, par5, par6) && EnchantmentHelper.getSilkTouchModifier(par2EntityPlayer))
|
||||
{
|
||||
ItemStack itemstack = this.createStackedBlock(par6);
|
||||
|
||||
Reference in new issue
Block a user