    001package net.minecraft.world.demo;
    002
    003import net.minecraft.profiler.Profiler;
    004import net.minecraft.server.MinecraftServer;
    005import net.minecraft.world.EnumGameType;
    006import net.minecraft.world.WorldServer;
    007import net.minecraft.world.WorldSettings;
    008import net.minecraft.world.WorldType;
    009import net.minecraft.world.storage.ISaveHandler;
    010
    011public 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}