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;
|
|
|
|
|
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-02-18 03:30:11 +01:00
|
|
|
public static Block aludel;
|
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-04-16 22:06:30 +02:00
|
|
|
aludel = new BlockAludelBase(BlockIds.ALUDEL);
|
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);
|
|
|
|
GameRegistry.registerBlock(aludel, Strings.ALUDEL_NAME);
|
|
|
|
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() {
|
|
|
|
|
|
|
|
// Calcinator Recipe
|
|
|
|
/*
|
|
|
|
* Temporarily disabled for pre-release 1, as it is not completely
|
|
|
|
* functional GameRegistry.addRecipe(new ItemStack(calcinator), new
|
|
|
|
* Object[] {"i i","iii","sfs", Character.valueOf('i'), Item.ingotIron,
|
|
|
|
* Character.valueOf('s'), Block.stone, Character.valueOf('f'),
|
|
|
|
* Item.flintAndSteel });
|
|
|
|
*/
|
|
|
|
}
|
2012-12-17 21:21:53 +01:00
|
|
|
}
|