@@ -0,0 +1,1290 @@
+package tlf.lightingtest.common;%0A%0Aimport cpw.mods.fml.common.Mod;%0Aimport cpw.mods.fml.common.Mod.EventHandler;%0Aimport cpw.mods.fml.common.event.FMLInitializationEvent;%0Aimport cpw.mods.fml.common.registry.GameRegistry;%0Aimport cpw.mods.fml.common.registry.LanguageRegistry;%0A%0Aimport net.minecraft.block.Block;%0Aimport net.minecraft.client.Minecraft;%0Aimport net.minecraft.creativetab.CreativeTabs;%0Aimport net.minecraft.item.Item;%0Aimport net.minecraft.item.ItemStack;%0A%0A@Mod(modid = %22LT%22, name = %22LightingTest%22, version = %22pre-alpha%22)%0Apublic class LightingTest%0A%7B%0A%09public static final Block lightBlock = new BlockLight(1000).setUnlocalizedName(%22lightBlock%22);%0A%09public static final BlockSpotlight spotlight = (BlockSpotlight) (new BlockSpotlight(1001).setStepSound(Block.soundGlassFootstep).setUnlocalizedName(%22spotlight%22).setCreativeTab(CreativeTabs.tabDecorations));%0A%09%0A%09public static boolean errored = false;%0A%0A%09@EventHandler%0A%09public void onInit(FMLInitializationEvent event)%0A%09%7B%0A%09%09GameRegistry.registerBlock(lightBlock, %22lightingtest.lightblock%22);%0A%09%09GameRegistry.registerBlock(spotlight, %22lightingtest.spotlight%22);%0A%0A%09%09LanguageRegistry.addName(spotlight, %22Spotlight%22);%0A%0A%09%09GameRegistry.addRecipe(new ItemStack(spotlight, 1), %0A%09%09%09%09%22XXX%22, %22 * %22, %22 * %22,'X', Block.blockLapis, '*', Item.stick%0A%09%09%09%09);%0A%09%7D%0A%7D%0A

Create LightingTest.java