mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Changed Recipes around a bit, Ore Magnet Textures
This commit is contained in:
parent
0c39a29bc0
commit
e88d5b0d46
5 changed files with 8 additions and 3 deletions
|
@ -21,6 +21,9 @@ import java.util.List;
|
|||
|
||||
public class BlockOreMagnet extends BlockContainerBase implements INameableItem{
|
||||
|
||||
private IIcon topIcon;
|
||||
private IIcon bottomIcon;
|
||||
|
||||
public BlockOreMagnet(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
|
@ -36,13 +39,15 @@ public class BlockOreMagnet extends BlockContainerBase implements INameableItem{
|
|||
|
||||
@Override
|
||||
public IIcon getIcon(int side, int meta){
|
||||
return this.blockIcon;
|
||||
return (side == 1 ? this.topIcon : (side == 0 ? this.bottomIcon : this.blockIcon));
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerBlockIcons(IIconRegister iconReg){
|
||||
this.blockIcon = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":"+this.getName());
|
||||
this.topIcon = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":"+this.getName()+"Top");
|
||||
this.bottomIcon = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":"+this.getName()+"Bottom");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -92,7 +92,7 @@ public class BlockCrafting{
|
|||
//Lava Factory
|
||||
if(ConfigCrafting.LAVA_FACTORY.isEnabled())
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLavaFactoryController),
|
||||
" C ", "ISI", " L ",
|
||||
"SCS", "ISI", "LLL",
|
||||
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
||||
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
||||
'I', "blockIron",
|
||||
|
@ -100,7 +100,7 @@ public class BlockCrafting{
|
|||
|
||||
//Casing
|
||||
if(ConfigCrafting.CASING.isEnabled())
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 8, TheMiscBlocks.LAVA_FACTORY_CASE.ordinal()),
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 32, TheMiscBlocks.LAVA_FACTORY_CASE.ordinal()),
|
||||
"ICI",
|
||||
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
||||
'I', "blockIron"));
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 658 B |
Binary file not shown.
After Width: | Height: | Size: 706 B |
Binary file not shown.
After Width: | Height: | Size: 740 B |
Loading…
Reference in a new issue