// Path: src/main/java/romelo333/notenoughwands/ModRenderers.java
// public final class ModRenderers {
// 
//     public static void init() {
//         ClientRegistry.bindTileEntitySpecialRenderer(LightTE.class, new LightRenderer());
//         MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.lightBlock), new LightItemRenderer());
//     }
// 
//     public static void renderBillboardQuad(double scale, float vAdd1, float vAdd2) {
//         GL11.glPushMatrix();
// 
//         rotateToPlayer();
// 
//         Tessellator tessellator = Tessellator.instance;
//         tessellator.startDrawingQuads();
//         tessellator.addVertexWithUV(-scale, -scale, 0, 0, 0+vAdd1);
//         tessellator.addVertexWithUV(-scale, +scale, 0, 0, 0+vAdd1+vAdd2);
//         tessellator.addVertexWithUV(+scale, +scale, 0, 1, 0+vAdd1+vAdd2);
//         tessellator.addVertexWithUV(+scale, -scale, 0, 1, 0+vAdd1);
//         tessellator.draw();
//         GL11.glPopMatrix();
//     }
// 
//     public static void rotateToPlayer() {
//         GL11.glRotatef(-RenderManager.instance.playerViewY, 0.0F, 1.0F, 0.0F);
//         GL11.glRotatef(RenderManager.instance.playerViewX, 1.0F, 0.0F, 0.0F);
//     }
// }
// 
// Path: src/main/java/romelo333/notenoughwands/NotEnoughWands.java
// @Mod(modid = NotEnoughWands.MODID, name="Not Enough Wands", dependencies =
//         "required-after:Forge@["+ NotEnoughWands.MIN_FORGE_VER+",)",
//         version = NotEnoughWands.VERSION)
// public class NotEnoughWands {
//     public static final String MODID = "NotEnoughWands";
//     public static final String VERSION = "1.2.3";
//     public static final String MIN_FORGE_VER = "10.13.2.1291";
// 
//     @SidedProxy(clientSide="romelo333.notenoughwands.proxy.ClientProxy", serverSide="romelo333.notenoughwands.proxy.ServerProxy")
//     public static CommonProxy proxy;
// 
//     @Mod.Instance("NotEnoughWands")
//     public static NotEnoughWands instance;
//     public static Logger logger;
//     public static File mainConfigDir;
//     public static File modConfigDir;
//     public static Configuration config;
// 
//     public static CreativeTabs tabNew = new CreativeTabs("NotEnoughWands") {
//         @Override
//         @SideOnly(Side.CLIENT)
//         public Item getTabIconItem() {
//             return ModItems.teleportationWand;
//         }
//     };
// 
//     /**
//      * Run before anything else. Read your config, create blocks, items, etc, and
//      * register them with the GameRegistry.
//      */
//     @Mod.EventHandler
//     public void preInit(FMLPreInitializationEvent e) {
//         logger = e.getModLog();
//         mainConfigDir = e.getModConfigurationDirectory();
//         modConfigDir = new File(mainConfigDir.getPath());
//         config = new Configuration(new File(modConfigDir, "notenoughwands.cfg"));
//         proxy.preInit(e);
// 
// //        FMLInterModComms.sendMessage("Waila", "register", "mcjty.wailasupport.WailaCompatibility.load");
//     }
// 
//     /**
//      * Do your mod setup. Build whatever data structures you care about. Register recipes.
//      */
//     @Mod.EventHandler
//     public void init(FMLInitializationEvent e) {
//         proxy.init(e);
//     }
// 
//     /**
//      * Handle interaction with other mods, complete your setup based on this.
//      */
//     @Mod.EventHandler
//     public void postInit(FMLPostInitializationEvent e) {
//         proxy.postInit(e);
//     }
// }


import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import romelo333.notenoughwands.ModRenderers;
import romelo333.notenoughwands.NotEnoughWands;
package romelo333.notenoughwands.blocks;


@SideOnly(Side.CLIENT)
public class LightRenderer extends TileEntitySpecialRenderer {
    ResourceLocation texture = new ResourceLocation(NotEnoughWands.MODID.toLowerCase(), "textures/blocks/light.png");

    @Override
    public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float time) {
        bindTexture(texture);

// Path: src/main/java/romelo333/notenoughwands/ModRenderers.java
// public final class ModRenderers {
// 
//     public static void init() {
//         ClientRegistry.bindTileEntitySpecialRenderer(LightTE.class, new LightRenderer());
//         MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.lightBlock), new LightItemRenderer());
//     }
// 
//     public static void renderBillboardQuad(double scale, float vAdd1, float vAdd2) {
//         GL11.glPushMatrix();
// 
//         rotateToPlayer();
// 
//         Tessellator tessellator = Tessellator.instance;
//         tessellator.startDrawingQuads();
//         tessellator.addVertexWithUV(-scale, -scale, 0, 0, 0+vAdd1);
//         tessellator.addVertexWithUV(-scale, +scale, 0, 0, 0+vAdd1+vAdd2);
//         tessellator.addVertexWithUV(+scale, +scale, 0, 1, 0+vAdd1+vAdd2);
//         tessellator.addVertexWithUV(+scale, -scale, 0, 1, 0+vAdd1);
//         tessellator.draw();
//         GL11.glPopMatrix();
//     }
// 
//     public static void rotateToPlayer() {
//         GL11.glRotatef(-RenderManager.instance.playerViewY, 0.0F, 1.0F, 0.0F);
//         GL11.glRotatef(RenderManager.instance.playerViewX, 1.0F, 0.0F, 0.0F);
//     }
// }
// 
// Path: src/main/java/romelo333/notenoughwands/NotEnoughWands.java
// @Mod(modid = NotEnoughWands.MODID, name="Not Enough Wands", dependencies =
//         "required-after:Forge@["+ NotEnoughWands.MIN_FORGE_VER+",)",
//         version = NotEnoughWands.VERSION)
// public class NotEnoughWands {
//     public static final String MODID = "NotEnoughWands";
//     public static final String VERSION = "1.2.3";
//     public static final String MIN_FORGE_VER = "10.13.2.1291";
// 
//     @SidedProxy(clientSide="romelo333.notenoughwands.proxy.ClientProxy", serverSide="romelo333.notenoughwands.proxy.ServerProxy")
//     public static CommonProxy proxy;
// 
//     @Mod.Instance("NotEnoughWands")
//     public static NotEnoughWands instance;
//     public static Logger logger;
//     public static File mainConfigDir;
//     public static File modConfigDir;
//     public static Configuration config;
// 
//     public static CreativeTabs tabNew = new CreativeTabs("NotEnoughWands") {
//         @Override
//         @SideOnly(Side.CLIENT)
//         public Item getTabIconItem() {
//             return ModItems.teleportationWand;
//         }
//     };
// 
//     /**
//      * Run before anything else. Read your config, create blocks, items, etc, and
//      * register them with the GameRegistry.
//      */
//     @Mod.EventHandler
//     public void preInit(FMLPreInitializationEvent e) {
//         logger = e.getModLog();
//         mainConfigDir = e.getModConfigurationDirectory();
//         modConfigDir = new File(mainConfigDir.getPath());
//         config = new Configuration(new File(modConfigDir, "notenoughwands.cfg"));
//         proxy.preInit(e);
// 
// //        FMLInterModComms.sendMessage("Waila", "register", "mcjty.wailasupport.WailaCompatibility.load");
//     }
// 
//     /**
//      * Do your mod setup. Build whatever data structures you care about. Register recipes.
//      */
//     @Mod.EventHandler
//     public void init(FMLInitializationEvent e) {
//         proxy.init(e);
//     }
// 
//     /**
//      * Handle interaction with other mods, complete your setup based on this.
//      */
//     @Mod.EventHandler
//     public void postInit(FMLPostInitializationEvent e) {
//         proxy.postInit(e);
//     }
// }


// Path: src/main/java/romelo333/notenoughwands/blocks/LightRenderer.java
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import romelo333.notenoughwands.ModRenderers;
import romelo333.notenoughwands.NotEnoughWands;

package romelo333.notenoughwands.blocks;


@SideOnly(Side.CLIENT)
public class LightRenderer extends TileEntitySpecialRenderer {
    ResourceLocation texture = new ResourceLocation(NotEnoughWands.MODID.toLowerCase(), "textures/blocks/light.png");

    @Override
    public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float time) {
        bindTexture(texture);

        GL11.glPushMatrix();