equivalent-exchange-3/ee3_common/com/pahimar/ee3/block/ModBlocks.java

59 lines
1.8 KiB
Java
Raw Normal View History

package com.pahimar.ee3.block;
import net.minecraft.block.Block;
import com.pahimar.ee3.lib.BlockIds;
import com.pahimar.ee3.lib.Strings;
import cpw.mods.fml.common.registry.GameRegistry;
/**
* ModBlocks
*
* Class containing all the EE3 custom blocks
*
* @author pahimar
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
public class ModBlocks {
/* Mod block instances */
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;
public static Block redWaterStill;
public static Block redWaterFlowing;
public static void init() {
calcinator = new BlockCalcinator(BlockIds.CALCINATOR);
2013-02-18 03:30:11 +01:00
aludel = new BlockAludel(BlockIds.ALUDEL);
2013-02-19 02:13:24 +01:00
alchemicalChest = new BlockAlchemicalChest(BlockIds.ALCHEMICAL_CHEST);
redWaterStill = new BlockRedWaterStill(BlockIds.RED_WATER_STILL);
redWaterFlowing = new BlockRedWaterFlowing(BlockIds.RED_WATER_STILL - 1);
GameRegistry.registerBlock(calcinator, Strings.CALCINATOR_NAME);
GameRegistry.registerBlock(aludel, Strings.ALUDEL_NAME);
GameRegistry.registerBlock(alchemicalChest, Strings.ALCHEMICAL_CHEST_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);
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 });
*/
}
}