// Path: src/main/java/com/github/dayzminecraft/dayzminecraft/DayZ.java
// @Mod(modid = "DayZ", name = "DayZ Minecraft")
// public class DayZ {
// 
//   public static WorldType worldTypeOriginal = new WorldTypeOriginal();
//   public static WorldType worldTypeSnow = new WorldTypeSnow();
//   //TODO public static ArmorMaterial enumArmorMaterialCamo = EnumHelper.addArmorMaterial("camo", 29, new int[] {2, 6, 5, 2}, 9);
// 
//   public static CreativeTabs creativeTab = new CreativeTabs("creativeTabDayZ") {
//     @Override
//     public Item getTabIconItem() {
//       return ModItems.gunAk74u;
//     }
//   };
// 
//   @Mod.Instance("DayZ")
//   public static DayZ INSTANCE;
// 
//   @Mod.Metadata
//   public static ModMetadata meta;
// 
//   @SidedProxy(clientSide = "com.github.dayzminecraft.dayzminecraft.client.ClientProxy", serverSide = "com.github.dayzminecraft.dayzminecraft.common.CommonProxy")
//   public static CommonProxy proxy;
// 
//   public static boolean isServer() {
//     return FMLCommonHandler.instance().getEffectiveSide().isServer();
//   }
// 
//   public static boolean isClient() {
//     return FMLCommonHandler.instance().getEffectiveSide().isClient();
//   }
// 
//   @Mod.EventHandler
//   public void preload(FMLPreInitializationEvent event) {
//     proxy.preload(event);
//   }
// 
//   @Mod.EventHandler
//   public void load(FMLInitializationEvent event) {
//     proxy.load(event);
//   }
// 
//   @Mod.EventHandler
//   public void postload(FMLPostInitializationEvent event) {
//     proxy.postload(event);
//   }
// 
//   @Mod.EventHandler
//   public void serverStarted(FMLServerStartedEvent event) {
//     proxy.serverStarted(event);
//   }
// }
// 
// Path: src/main/java/com/github/dayzminecraft/dayzminecraft/common/entities/EntityBullet.java
// public class EntityBullet extends EntityThrowable {
//   private int bulletdamage = 0;
// 
//   public EntityBullet(World worldIn) {
//     super(worldIn);
//     setSize(0.1F, 0.1F);
//   }
// 
//   public EntityBullet(World worldIn, EntityLivingBase throwerIn) {
//     super(worldIn, throwerIn);
//     setSize(0.1F, 0.1F);
//   }
// 
//   public EntityBullet(World worldIn, double x, double y, double z) {
//     super(worldIn, x, y, z);
//     setSize(0.1F, 0.1F);
//   }
// 
// 
//   public EntityBullet(World world, EntityPlayer player, int damage) {
//     super(world, player);
//     setSize(0.1F, 0.1F);
//     bulletdamage = damage;
//   }
// 
//   @Override
//   protected float getVelocity() {
//     return 3F;
//   }
// 
//   protected float getGravityVelocity() {
//     return 0.01F;
//   }
// 
// 
//   /**
//    * Called when this EntityBullet hits a block or entity.
//    */
//   @Override
//   protected void onImpact(MovingObjectPosition position) {
//     if (position.entityHit != null) {
//       if (position.entityHit instanceof EntityLivingBase) {
//         position.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, getThrower()), bulletdamage);
//       }
// 
//       if (position.entityHit instanceof EntityPlayer) {
//         if (worldObj.getDifficulty().equals(EnumDifficulty.EASY)) {
//           int j = rand.nextInt(10);
//           if (j == 0) {
//             ((EntityLivingBase) position.entityHit).addPotionEffect(new EnactEffect(Effect.bleeding.getId(), 20 * 300, 1));
//           }
//         } else if (worldObj.getDifficulty().equals(EnumDifficulty.NORMAL)) {
//           int j = rand.nextInt(5);
//           if (j == 0) {
//             ((EntityLivingBase) position.entityHit).addPotionEffect(new EnactEffect(Effect.bleeding.getId(), 20 * 300, 1));
//           }
//         } else if (worldObj.getDifficulty().equals(EnumDifficulty.HARD)) {
//           int j = rand.nextInt(3);
//           if (j == 0) {
//             ((EntityLivingBase) position.entityHit).addPotionEffect(new EnactEffect(Effect.bleeding.getId(), 20 * 300, 1));
//           }
//         }
//       }
//     } else if (position.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK) {
//       if (worldObj.getBlockState(position.getBlockPos()).getBlock().equals(Blocks.glass_pane) || worldObj.getBlockState(position.getBlockPos()).getBlock().equals(Blocks.glass)) {
//         worldObj.setBlockToAir(position.getBlockPos());
//         worldObj.playSoundAtEntity(this, "random.glass", 1.0F, 1.0F);
//       } else if (worldObj.getBlockState(position.getBlockPos()).getBlock().equals(Blocks.tallgrass)) {
//         worldObj.playSoundAtEntity(this, "step.grass", 1.0F, 1.0F);
//       } else {
//         String stepsound = worldObj.getBlockState(position.getBlockPos()).getBlock().stepSound.getBreakSound();
//         worldObj.playSoundAtEntity(this, stepsound, 1.0F, 1.0F);
//         setDead();
//       }
//     }
//   }
// }


import com.github.dayzminecraft.dayzminecraft.DayZ;
import com.github.dayzminecraft.dayzminecraft.common.entities.EntityBullet;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
package com.github.dayzminecraft.dayzminecraft.client.entities;



@SideOnly(Side.CLIENT)
public class RenderBullet extends Render<EntityBullet> {

  public RenderBullet(RenderManager manager) {
    super(manager);
  }

  @Override
// Path: src/main/java/com/github/dayzminecraft/dayzminecraft/DayZ.java
// @Mod(modid = "DayZ", name = "DayZ Minecraft")
// public class DayZ {
// 
//   public static WorldType worldTypeOriginal = new WorldTypeOriginal();
//   public static WorldType worldTypeSnow = new WorldTypeSnow();
//   //TODO public static ArmorMaterial enumArmorMaterialCamo = EnumHelper.addArmorMaterial("camo", 29, new int[] {2, 6, 5, 2}, 9);
// 
//   public static CreativeTabs creativeTab = new CreativeTabs("creativeTabDayZ") {
//     @Override
//     public Item getTabIconItem() {
//       return ModItems.gunAk74u;
//     }
//   };
// 
//   @Mod.Instance("DayZ")
//   public static DayZ INSTANCE;
// 
//   @Mod.Metadata
//   public static ModMetadata meta;
// 
//   @SidedProxy(clientSide = "com.github.dayzminecraft.dayzminecraft.client.ClientProxy", serverSide = "com.github.dayzminecraft.dayzminecraft.common.CommonProxy")
//   public static CommonProxy proxy;
// 
//   public static boolean isServer() {
//     return FMLCommonHandler.instance().getEffectiveSide().isServer();
//   }
// 
//   public static boolean isClient() {
//     return FMLCommonHandler.instance().getEffectiveSide().isClient();
//   }
// 
//   @Mod.EventHandler
//   public void preload(FMLPreInitializationEvent event) {
//     proxy.preload(event);
//   }
// 
//   @Mod.EventHandler
//   public void load(FMLInitializationEvent event) {
//     proxy.load(event);
//   }
// 
//   @Mod.EventHandler
//   public void postload(FMLPostInitializationEvent event) {
//     proxy.postload(event);
//   }
// 
//   @Mod.EventHandler
//   public void serverStarted(FMLServerStartedEvent event) {
//     proxy.serverStarted(event);
//   }
// }
// 
// Path: src/main/java/com/github/dayzminecraft/dayzminecraft/common/entities/EntityBullet.java
// public class EntityBullet extends EntityThrowable {
//   private int bulletdamage = 0;
// 
//   public EntityBullet(World worldIn) {
//     super(worldIn);
//     setSize(0.1F, 0.1F);
//   }
// 
//   public EntityBullet(World worldIn, EntityLivingBase throwerIn) {
//     super(worldIn, throwerIn);
//     setSize(0.1F, 0.1F);
//   }
// 
//   public EntityBullet(World worldIn, double x, double y, double z) {
//     super(worldIn, x, y, z);
//     setSize(0.1F, 0.1F);
//   }
// 
// 
//   public EntityBullet(World world, EntityPlayer player, int damage) {
//     super(world, player);
//     setSize(0.1F, 0.1F);
//     bulletdamage = damage;
//   }
// 
//   @Override
//   protected float getVelocity() {
//     return 3F;
//   }
// 
//   protected float getGravityVelocity() {
//     return 0.01F;
//   }
// 
// 
//   /**
//    * Called when this EntityBullet hits a block or entity.
//    */
//   @Override
//   protected void onImpact(MovingObjectPosition position) {
//     if (position.entityHit != null) {
//       if (position.entityHit instanceof EntityLivingBase) {
//         position.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, getThrower()), bulletdamage);
//       }
// 
//       if (position.entityHit instanceof EntityPlayer) {
//         if (worldObj.getDifficulty().equals(EnumDifficulty.EASY)) {
//           int j = rand.nextInt(10);
//           if (j == 0) {
//             ((EntityLivingBase) position.entityHit).addPotionEffect(new EnactEffect(Effect.bleeding.getId(), 20 * 300, 1));
//           }
//         } else if (worldObj.getDifficulty().equals(EnumDifficulty.NORMAL)) {
//           int j = rand.nextInt(5);
//           if (j == 0) {
//             ((EntityLivingBase) position.entityHit).addPotionEffect(new EnactEffect(Effect.bleeding.getId(), 20 * 300, 1));
//           }
//         } else if (worldObj.getDifficulty().equals(EnumDifficulty.HARD)) {
//           int j = rand.nextInt(3);
//           if (j == 0) {
//             ((EntityLivingBase) position.entityHit).addPotionEffect(new EnactEffect(Effect.bleeding.getId(), 20 * 300, 1));
//           }
//         }
//       }
//     } else if (position.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK) {
//       if (worldObj.getBlockState(position.getBlockPos()).getBlock().equals(Blocks.glass_pane) || worldObj.getBlockState(position.getBlockPos()).getBlock().equals(Blocks.glass)) {
//         worldObj.setBlockToAir(position.getBlockPos());
//         worldObj.playSoundAtEntity(this, "random.glass", 1.0F, 1.0F);
//       } else if (worldObj.getBlockState(position.getBlockPos()).getBlock().equals(Blocks.tallgrass)) {
//         worldObj.playSoundAtEntity(this, "step.grass", 1.0F, 1.0F);
//       } else {
//         String stepsound = worldObj.getBlockState(position.getBlockPos()).getBlock().stepSound.getBreakSound();
//         worldObj.playSoundAtEntity(this, stepsound, 1.0F, 1.0F);
//         setDead();
//       }
//     }
//   }
// }


// Path: src/main/java/com/github/dayzminecraft/dayzminecraft/client/entities/RenderBullet.java
import com.github.dayzminecraft.dayzminecraft.DayZ;
import com.github.dayzminecraft.dayzminecraft.common.entities.EntityBullet;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;

package com.github.dayzminecraft.dayzminecraft.client.entities;



@SideOnly(Side.CLIENT)
public class RenderBullet extends Render<EntityBullet> {

  public RenderBullet(RenderManager manager) {
    super(manager);
  }

  @Override
  protected ResourceLocation getEntityTexture(EntityBullet entity) {