    001    package net.minecraft.world.demo;
    002
    003    import net.minecraft.profiler.Profiler;
    004    import net.minecraft.server.MinecraftServer;
    005    import net.minecraft.world.EnumGameType;
    006    import net.minecraft.world.WorldServer;
    007    import net.minecraft.world.WorldSettings;
    008    import net.minecraft.world.WorldType;
    009    import net.minecraft.world.storage.ISaveHandler;
    010
    011    public class DemoWorldServer extends WorldServer
    012    {
    013        private static final long demoWorldSeed = (long)"North Carolina".hashCode();
    014        public static final WorldSettings demoWorldSettings = (new WorldSettings(demoWorldSeed, EnumGameType.SURVIVAL, true, false, WorldType.DEFAULT)).enableBonusChest();
    015
    016        public DemoWorldServer(MinecraftServer par1MinecraftServer, ISaveHandler par2ISaveHandler, String par3Str, int par4, Profiler par5Profiler)
    017        {
    018            super(par1MinecraftServer, par2ISaveHandler, par3Str, par4, demoWorldSettings, par5Profiler);
    019        }
    020    }