    001package net.minecraft.dispenser;
    002
    003import net.minecraft.entity.IProjectile;
    004import net.minecraft.entity.projectile.EntityEgg;
    005import net.minecraft.server.MinecraftServer;
    006import net.minecraft.world.World;
    007
    008public class BehaviorEggDispense extends BehaviorProjectileDispense
    009{
    010    final MinecraftServer mcServer;
    011
    012    public BehaviorEggDispense(MinecraftServer par1MinecraftServer)
    013    {
    014        this.mcServer = par1MinecraftServer;
    015    }
    016
    017    /**
    018     * Return the projectile entity spawned by this dispense behavior.
    019     */
    020    protected IProjectile getProjectileEntity(World par1World, IPosition par2IPosition)
    021    {
    022        return new EntityEgg(par1World, par2IPosition.getX(), par2IPosition.getY(), par2IPosition.getZ());
    023    }
    024}