2012-12-17 21:21:53 +01:00
|
|
|
package com.pahimar.ee3.block;
|
|
|
|
|
2012-12-19 19:09:56 +01:00
|
|
|
import net.minecraft.block.Block;
|
2013-05-03 03:16:10 +02:00
|
|
|
import net.minecraft.item.Item;
|
2013-04-27 19:17:25 +02:00
|
|
|
import net.minecraft.item.ItemStack;
|
2012-12-19 19:09:56 +01:00
|
|
|
|
2012-12-17 21:21:53 +01:00
|
|
|
import com.pahimar.ee3.lib.BlockIds;
|
2013-03-07 01:02:12 +01:00
|
|
|
import com.pahimar.ee3.lib.Strings;
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.registry.GameRegistry;
|
2012-12-17 21:21:53 +01:00
|
|
|
|
|
|
|
/**
|
2013-03-08 19:40:59 +01:00
|
|
|
* Equivalent-Exchange-3
|
2012-12-17 21:21:53 +01:00
|
|
|
*
|
2013-03-08 19:40:59 +01:00
|
|
|
* ModBlocks
|
2012-12-17 21:21:53 +01:00
|
|
|
*
|
|
|
|
* @author pahimar
|
|
|
|
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class ModBlocks {
|
2012-12-19 19:09:56 +01:00
|
|
|
|
2012-12-17 21:21:53 +01:00
|
|
|
/* Mod block instances */
|
2012-12-19 19:09:56 +01:00
|
|
|
public static Block calcinator;
|
2013-05-03 03:16:10 +02:00
|
|
|
public static Block aludelBase;
|
2013-02-19 02:13:24 +01:00
|
|
|
public static Block alchemicalChest;
|
2013-04-19 17:34:45 +02:00
|
|
|
public static Block glassBell;
|
2012-12-19 19:09:56 +01:00
|
|
|
public static Block redWaterStill;
|
|
|
|
public static Block redWaterFlowing;
|
|
|
|
|
|
|
|
public static void init() {
|
|
|
|
|
|
|
|
calcinator = new BlockCalcinator(BlockIds.CALCINATOR);
|
2013-05-03 03:16:10 +02:00
|
|
|
aludelBase = new BlockAludelBase(BlockIds.ALUDEL_BASE);
|
2013-02-19 02:13:24 +01:00
|
|
|
alchemicalChest = new BlockAlchemicalChest(BlockIds.ALCHEMICAL_CHEST);
|
2013-04-19 17:34:45 +02:00
|
|
|
glassBell = new BlockGlassBell(BlockIds.GLASS_BELL);
|
2012-12-19 19:09:56 +01:00
|
|
|
redWaterStill = new BlockRedWaterStill(BlockIds.RED_WATER_STILL);
|
|
|
|
redWaterFlowing = new BlockRedWaterFlowing(BlockIds.RED_WATER_STILL - 1);
|
|
|
|
|
2013-03-07 01:02:12 +01:00
|
|
|
GameRegistry.registerBlock(calcinator, Strings.CALCINATOR_NAME);
|
2013-05-03 03:16:10 +02:00
|
|
|
GameRegistry.registerBlock(aludelBase, Strings.ALUDEL_NAME);
|
2013-03-07 01:02:12 +01:00
|
|
|
GameRegistry.registerBlock(alchemicalChest, Strings.ALCHEMICAL_CHEST_NAME);
|
2013-04-19 17:34:45 +02:00
|
|
|
GameRegistry.registerBlock(glassBell, Strings.GLASS_BELL_NAME);
|
2013-03-05 04:18:15 +01:00
|
|
|
//GameRegistry.registerBlock(redWaterStill, Strings.RED_WATER_STILL_NAME);
|
|
|
|
//GameRegistry.registerBlock(redWaterFlowing, Strings.RED_WATER_FLOWING_NAME);
|
2012-12-19 19:09:56 +01:00
|
|
|
|
|
|
|
initBlockRecipes();
|
|
|
|
}
|
|
|
|
|
|
|
|
private static void initBlockRecipes() {
|
|
|
|
|
2013-04-27 19:17:25 +02:00
|
|
|
GameRegistry.addRecipe(new ItemStack(glassBell), new Object[] {"iii", "i i", "i i", Character.valueOf('i'), Block.glass });
|
2013-05-03 03:16:10 +02:00
|
|
|
GameRegistry.addRecipe(new ItemStack(aludelBase), new Object[] {"iii", "sis", "iii", Character.valueOf('i'), Item.ingotIron, Character.valueOf('s'), Block.stone });
|
2012-12-19 19:09:56 +01:00
|
|
|
}
|
2012-12-17 21:21:53 +01:00
|
|
|
}
|