예제 #1
0
 /// <summary>
 /// Returns a reference to the namespace
 /// </summary>
 /// <param name="namespace">The namespace to get</param>
 /// <returns>The namespace</returns>
 public static MockNamespace GetNamespace(string @namespace)
 {
     return(MockDatapack.GetPack().Namespace(@namespace));
 }
예제 #2
0
 /// <summary>
 /// Returns a reference to the minecraft namespace
 /// </summary>
 /// <returns>A reference to the minecraft namespace</returns>
 public static MockNamespace GetMinecraftNamespace()
 {
     return(MockDatapack.GetPack().Namespace("minecraft"));
 }