Fix harvest level
This commit is contained in:
parent
676e326ec0
commit
5fe4798e6b
4 changed files with 8 additions and 8 deletions
|
@ -73,6 +73,11 @@ public class GT_Block_Ores extends GT_Block_Ores_Abstract {
|
|||
return "gt.blockores";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getHarvestLevel(int aMeta) {
|
||||
return aMeta == 5 || aMeta == 6 ? 2 : aMeta % 8;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArrayList<ItemStack> getDrops(World aWorld, int aX, int aY, int aZ, int aMeta, int aFortune) {
|
||||
TileEntity tTileEntity = aWorld.getTileEntity(aX, aY, aZ);
|
||||
|
|
|
@ -109,7 +109,7 @@ public abstract class GT_Block_Ores_Abstract extends GT_Generic_Block implements
|
|||
}
|
||||
|
||||
public int getHarvestLevel(int aMeta) {
|
||||
return aMeta % 8;
|
||||
return 2;
|
||||
}
|
||||
|
||||
public float getBlockHardness(World aWorld, int aX, int aY, int aZ) {
|
||||
|
@ -200,9 +200,4 @@ public abstract class GT_Block_Ores_Abstract extends GT_Generic_Block implements
|
|||
public abstract void getSubBlocks(Item aItem, CreativeTabs aTab, List aList);
|
||||
|
||||
public abstract ITexture[] getStoneTexture(int aTextureIndex, GT_RenderedTexture aIconSet);
|
||||
|
||||
@Override
|
||||
public int getMixedBrightnessForBlock(IBlockAccess p_149677_1_, int p_149677_2_, int p_149677_3_, int p_149677_4_) {
|
||||
return super.getMixedBrightnessForBlock(p_149677_1_, p_149677_2_, p_149677_3_, p_149677_4_);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -112,7 +112,7 @@ public class GT_Block_Ores_UB1 extends GT_Block_Ores_Abstract {
|
|||
aList.add(new ItemStack(aItem, 1, i + 6000));
|
||||
aList.add(new ItemStack(aItem, 1, i + 7000));
|
||||
aList.add(new ItemStack(aItem, 1, i + 16000));
|
||||
aList.add(new ItemStack(aItem, 1, i + 1700));
|
||||
aList.add(new ItemStack(aItem, 1, i + 17000));
|
||||
aList.add(new ItemStack(aItem, 1, i + 18000));
|
||||
aList.add(new ItemStack(aItem, 1, i + 19000));
|
||||
aList.add(new ItemStack(aItem, 1, i + 20000));
|
||||
|
|
|
@ -51,7 +51,7 @@ public class GT_Block_Stones extends GT_Block_Stones_Abstract {
|
|||
}
|
||||
|
||||
public int getHarvestLevel(int aMeta) {
|
||||
return 3;
|
||||
return 2;
|
||||
}
|
||||
|
||||
public float getBlockHardness(World aWorld, int aX, int aY, int aZ) {
|
||||
|
|
Loading…
Reference in a new issue