private static void replaceAllSimilarBlocks(StatBase astatbase[]) {
   replaceSimilarBlocks(astatbase, Block.waterStill.blockID, Block.waterMoving.blockID);
   replaceSimilarBlocks(astatbase, Block.lavaStill.blockID, Block.lavaStill.blockID);
   replaceSimilarBlocks(astatbase, Block.pumpkinLantern.blockID, Block.pumpkin.blockID);
   replaceSimilarBlocks(astatbase, Block.furnaceOn.blockID, Block.furnaceOff.blockID);
   replaceSimilarBlocks(astatbase, Block.oreRedstoneGlowing.blockID, Block.oreRedstone.blockID);
   replaceSimilarBlocks(
       astatbase, Block.redstoneRepeaterOn.blockID, Block.redstoneRepeaterOff.blockID);
   replaceSimilarBlocks(astatbase, Block.torchRedstoneOn.blockID, Block.torchRedstoneOff.blockID);
   replaceSimilarBlocks(astatbase, Block.mushroomRed.blockID, Block.mushroomBrown.blockID);
   replaceSimilarBlocks(astatbase, Block.stairDouble.blockID, Block.stairSingle.blockID);
   replaceSimilarBlocks(astatbase, Block.grass.blockID, Block.dirt.blockID);
   replaceSimilarBlocks(astatbase, Block.tilledField.blockID, Block.dirt.blockID);
 }
示例#2
0
 /** Forces all dual blocks to count for each other on the stats list */
 private static void replaceAllSimilarBlocks(StatBase[] par0ArrayOfStatBase) {
   replaceSimilarBlocks(par0ArrayOfStatBase, Block.waterStill.blockID, Block.waterMoving.blockID);
   replaceSimilarBlocks(par0ArrayOfStatBase, Block.lavaStill.blockID, Block.lavaStill.blockID);
   replaceSimilarBlocks(par0ArrayOfStatBase, Block.pumpkinLantern.blockID, Block.pumpkin.blockID);
   replaceSimilarBlocks(
       par0ArrayOfStatBase, Block.stoneOvenActive.blockID, Block.stoneOvenIdle.blockID);
   replaceSimilarBlocks(
       par0ArrayOfStatBase, Block.oreRedstoneGlowing.blockID, Block.oreRedstone.blockID);
   replaceSimilarBlocks(
       par0ArrayOfStatBase,
       Block.redstoneRepeaterActive.blockID,
       Block.redstoneRepeaterIdle.blockID);
   replaceSimilarBlocks(
       par0ArrayOfStatBase, Block.torchRedstoneActive.blockID, Block.torchRedstoneIdle.blockID);
   replaceSimilarBlocks(
       par0ArrayOfStatBase, Block.mushroomRed.blockID, Block.mushroomBrown.blockID);
   replaceSimilarBlocks(
       par0ArrayOfStatBase, Block.stoneDoubleSlab.blockID, Block.stoneSingleSlab.blockID);
   replaceSimilarBlocks(
       par0ArrayOfStatBase, Block.woodDoubleSlab.blockID, Block.woodSingleSlab.blockID);
   replaceSimilarBlocks(par0ArrayOfStatBase, Block.grass.blockID, Block.dirt.blockID);
   replaceSimilarBlocks(par0ArrayOfStatBase, Block.tilledField.blockID, Block.dirt.blockID);
 }