2011-04-06 04:43:54 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.IO;
|
2011-06-29 02:58:34 +00:00
|
|
|
|
using Substrate.Core;
|
2011-06-30 04:41:29 +00:00
|
|
|
|
using Substrate.Nbt;
|
2011-04-06 04:43:54 +00:00
|
|
|
|
|
2011-04-06 21:20:35 +00:00
|
|
|
|
namespace Substrate
|
2011-04-06 04:43:54 +00:00
|
|
|
|
{
|
2011-12-04 23:55:03 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A collection of constants to specify different Minecraft world dimensions.
|
|
|
|
|
/// </summary>
|
2011-04-13 05:04:32 +00:00
|
|
|
|
public static class Dimension
|
2011-04-06 04:43:54 +00:00
|
|
|
|
{
|
2011-12-04 23:55:03 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specifies the Nether dimension.
|
|
|
|
|
/// </summary>
|
2011-04-13 05:04:32 +00:00
|
|
|
|
public const int NETHER = -1;
|
2011-12-04 23:55:03 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specifies the default overworld.
|
|
|
|
|
/// </summary>
|
2011-04-13 05:04:32 +00:00
|
|
|
|
public const int DEFAULT = 0;
|
2011-12-04 23:55:03 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specifies the Enderman dimension, The End.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const int THE_END = 1;
|
2011-04-13 05:04:32 +00:00
|
|
|
|
}
|
2011-04-07 08:04:53 +00:00
|
|
|
|
|
2011-04-13 05:04:32 +00:00
|
|
|
|
public class DimensionNotFoundException : Exception { }
|
2011-04-06 04:43:54 +00:00
|
|
|
|
}
|