// Path: src/main/java/romelo333/notenoughwands/blocks/LightItemRenderer.java
// @SideOnly(Side.CLIENT)
// public class LightItemRenderer implements IItemRenderer {
//     ResourceLocation texture = new ResourceLocation(NotEnoughWands.MODID.toLowerCase(), "textures/blocks/light.png");
// 
//     @Override
//     public boolean handleRenderType(ItemStack item, ItemRenderType type) {
//         return true;
//     }
// 
//     @Override
//     public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) {
//         return true;
//     }
// 
//     @Override
//     public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
//         FMLClientHandler.instance().getClient().renderEngine.bindTexture(texture);
// 
//         GL11.glPushMatrix();
//         GL11.glEnable(GL12.GL_RESCALE_NORMAL);
//         GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
// 
//         boolean blending = GL11.glIsEnabled(GL11.GL_BLEND);
//         GL11.glEnable(GL11.GL_BLEND);
// 
//         GL11.glTranslatef(0.5F, 0.5F, 0.5F);
//         GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE);
//         long t = System.currentTimeMillis() % 6;
//         ModRenderers.renderBillboardQuad(0.6f, t * (1.0f / 6.0f), (1.0f / 6.0f));
// 
//         GL11.glPopMatrix();
// 
//         if (!blending) {
//             GL11.glDisable(GL11.GL_BLEND);
//         }
//     }
// }
// 
// Path: src/main/java/romelo333/notenoughwands/blocks/LightRenderer.java
// @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();
//         GL11.glEnable(GL12.GL_RESCALE_NORMAL);
//         GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
// 
//         boolean blending = GL11.glIsEnabled(GL11.GL_BLEND);
//         GL11.glEnable(GL11.GL_BLEND);
// 
//         GL11.glTranslatef((float) x + 0.5F, (float) y + 0.5F, (float) z + 0.5F);
//         GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE);
// 
//         long t = System.currentTimeMillis() % 6;
//         ModRenderers.renderBillboardQuad(0.6f, t * (1.0f/6.0f), (1.0f/6.0f));
// 
//         GL11.glPopMatrix();
// 
//         if (!blending) {
//             GL11.glDisable(GL11.GL_BLEND);
//         }
//     }
// }
// 
// Path: src/main/java/romelo333/notenoughwands/blocks/LightTE.java
// public class LightTE extends TileEntity {
//     @Override
//     public boolean shouldRenderInPass(int pass) {
//         return pass == 1;
//     }
// 
//     @Override
//     public boolean canUpdate() {
//         return false;
//     }
// }


import cpw.mods.fml.client.registry.ClientRegistry;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.item.Item;
import net.minecraftforge.client.MinecraftForgeClient;
import org.lwjgl.opengl.GL11;
import romelo333.notenoughwands.blocks.LightItemRenderer;
import romelo333.notenoughwands.blocks.LightRenderer;
import romelo333.notenoughwands.blocks.LightTE;
package romelo333.notenoughwands;


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) {
// Path: src/main/java/romelo333/notenoughwands/blocks/LightItemRenderer.java
// @SideOnly(Side.CLIENT)
// public class LightItemRenderer implements IItemRenderer {
//     ResourceLocation texture = new ResourceLocation(NotEnoughWands.MODID.toLowerCase(), "textures/blocks/light.png");
// 
//     @Override
//     public boolean handleRenderType(ItemStack item, ItemRenderType type) {
//         return true;
//     }
// 
//     @Override
//     public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) {
//         return true;
//     }
// 
//     @Override
//     public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
//         FMLClientHandler.instance().getClient().renderEngine.bindTexture(texture);
// 
//         GL11.glPushMatrix();
//         GL11.glEnable(GL12.GL_RESCALE_NORMAL);
//         GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
// 
//         boolean blending = GL11.glIsEnabled(GL11.GL_BLEND);
//         GL11.glEnable(GL11.GL_BLEND);
// 
//         GL11.glTranslatef(0.5F, 0.5F, 0.5F);
//         GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE);
//         long t = System.currentTimeMillis() % 6;
//         ModRenderers.renderBillboardQuad(0.6f, t * (1.0f / 6.0f), (1.0f / 6.0f));
// 
//         GL11.glPopMatrix();
// 
//         if (!blending) {
//             GL11.glDisable(GL11.GL_BLEND);
//         }
//     }
// }
// 
// Path: src/main/java/romelo333/notenoughwands/blocks/LightRenderer.java
// @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();
//         GL11.glEnable(GL12.GL_RESCALE_NORMAL);
//         GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
// 
//         boolean blending = GL11.glIsEnabled(GL11.GL_BLEND);
//         GL11.glEnable(GL11.GL_BLEND);
// 
//         GL11.glTranslatef((float) x + 0.5F, (float) y + 0.5F, (float) z + 0.5F);
//         GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE);
// 
//         long t = System.currentTimeMillis() % 6;
//         ModRenderers.renderBillboardQuad(0.6f, t * (1.0f/6.0f), (1.0f/6.0f));
// 
//         GL11.glPopMatrix();
// 
//         if (!blending) {
//             GL11.glDisable(GL11.GL_BLEND);
//         }
//     }
// }
// 
// Path: src/main/java/romelo333/notenoughwands/blocks/LightTE.java
// public class LightTE extends TileEntity {
//     @Override
//     public boolean shouldRenderInPass(int pass) {
//         return pass == 1;
//     }
// 
//     @Override
//     public boolean canUpdate() {
//         return false;
//     }
// }


// Path: src/main/java/romelo333/notenoughwands/ModRenderers.java
import cpw.mods.fml.client.registry.ClientRegistry;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.item.Item;
import net.minecraftforge.client.MinecraftForgeClient;
import org.lwjgl.opengl.GL11;
import romelo333.notenoughwands.blocks.LightItemRenderer;
import romelo333.notenoughwands.blocks.LightRenderer;
import romelo333.notenoughwands.blocks.LightTE;

package romelo333.notenoughwands;


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();