package mcjty.deepresonance.blocks.generator;
import mcjty.deepresonance.blocks.ModBlocks;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class GeneratorSetup {
public static GeneratorBlock generatorBlock;
public static void setupBlocks() {
generatorBlock = new GeneratorBlock();
}
@SideOnly(Side.CLIENT)
public static void setupModels() {
generatorBlock.initModel();
}
public static void setupCrafting() {
GameRegistry.addRecipe(new ItemStack(generatorBlock), "nRn", "iMi", "nRn", 'M', ModBlocks.machineFrame, 'n', Items.GOLD_NUGGET, 'R', Blocks.REDSTONE_BLOCK,
'i', Items.IRON_INGOT);
}
}