package net.minecraftforge.event.entity.living;

import net.minecraft.entity.EntityLiving;
import net.minecraftforge.event.Event.HasResult;

@HasResult
public class LivingPackSizeEvent extends LivingEvent
{
    /**
     * This event is fired when the spawning system determines the
     * maximum amount of the selected entity that can spawn at the same
     * time.
     *
     * If you set the result to 'ALLOW', it means that you want to return
     * the value of maxPackSize as the maximum pack size for current entity.
     */
    public int maxPackSize;

    public LivingPackSizeEvent(EntityLiving entity)
    {
        super(entity);
    }
}
