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