55 lines
1.6 KiB
Java
55 lines
1.6 KiB
Java
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;
|
|
public static Block aludel;
|
|
public static Block redWaterStill;
|
|
public static Block redWaterFlowing;
|
|
|
|
public static void init() {
|
|
|
|
calcinator = new BlockCalcinator(BlockIds.CALCINATOR);
|
|
aludel = new BlockAludel(BlockIds.ALUDEL);
|
|
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(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 });
|
|
*/
|
|
}
|
|
|
|
}
|