    001    package net.minecraftforge.event.entity;
    002
    003    import net.minecraft.entity.Entity;
    004    import net.minecraft.world.World;
    005    import net.minecraftforge.event.Cancelable;
    006
    007    @Cancelable
    008    public class EntityJoinWorldEvent extends EntityEvent
    009    {
    010
    011        public final World world;
    012
    013        public EntityJoinWorldEvent(Entity entity, World world)
    014        {
    015            super(entity);
    016            this.world = world;
    017        }
    018    }