    001    package net.minecraft.dispenser;
    002
    003    import net.minecraft.entity.IProjectile;
    004    import net.minecraft.entity.item.EntityExpBottle;
    005    import net.minecraft.server.MinecraftServer;
    006    import net.minecraft.world.World;
    007
    008    public class BehaviorExpBottleDispense extends BehaviorProjectileDispense
    009    {
    010        /** Reference to the MinecraftServer object. */
    011        final MinecraftServer mcServer;
    012
    013        public BehaviorExpBottleDispense(MinecraftServer par1)
    014        {
    015            this.mcServer = par1;
    016        }
    017
    018        /**
    019         * Return the projectile entity spawned by this dispense behavior.
    020         */
    021        protected IProjectile getProjectileEntity(World par1World, IPosition par2IPosition)
    022        {
    023            return new EntityExpBottle(par1World, par2IPosition.getX(), par2IPosition.getY(), par2IPosition.getZ());
    024        }
    025
    026        protected float func_82498_a()
    027        {
    028            return super.func_82498_a() * 0.5F;
    029        }
    030
    031        protected float func_82500_b()
    032        {
    033            return super.func_82500_b() * 1.25F;
    034        }
    035    }