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