Вверх ↑
Ответов: 1222
Corp. Chaos
Inceptors
#1: 2013-10-21 20:55:31 ЛС | профиль | цитата
64Impala, код прикрепи
BlockSilicon.java

package net.minecraft.src;

import java.util.Random;

public class BlockSilicon extends Block
{
public BlockSilicon(int i)
{
super(i, 0, Material.rock);
}
public int idDropped(int i, Random random, int j)
{
return Block.BlockSilicon.blockID;
}
public int quantityDropped(Random random)
{
return 1;
}
}
diff Block.java

blockSilicon = (new BlockSilicon(ID)).setHardness(5.0F).setResistance(15F).setStepSound(Block.soundStoneFootstep).setBlockName("Блок Кремния(Шахтерского)");
diff CraftingManager.java

addRecipe(new ItemStack(blockSilicon, 1), new Object[]
{
"###", "###", "###", '#', Item.silicon
});
addRecipe(new ItemStack(Item.silicon, 9), new Object[]
{
"#", '#', blockSilicon
});


P.S. не забудь указать автора :3
карма: 2
FAQ | Helpers | Радио MCGL | Кривые руки - залог провала
0