    001    package net.minecraftforge.event.world;
    002
    003    import net.minecraft.src.World;
    004    import net.minecraftforge.event.Event;
    005
    006    public class WorldEvent extends Event
    007    {
    008        public final World world;
    009
    010        public WorldEvent(World world)
    011        {
    012            this.world = world;
    013        }
    014
    015        public static class Load extends WorldEvent
    016        {
    017            public Load(World world) { super(world); }
    018        }
    019
    020        public static class Unload extends WorldEvent
    021        {
    022            public Unload(World world) { super(world); }
    023        }
    024
    025        public static class Save extends WorldEvent
    026        {
    027            public Save(World world) { super(world); }
    028        }
    029    }