|
|
@@ -1,6 +1,7 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.IO; |
|
|
|
using System.Reflection; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using GamecraftModdingAPI; |
|
|
|
using GamecraftModdingAPI.Blocks; |
|
|
@@ -15,8 +16,8 @@ namespace GCMC |
|
|
|
{ |
|
|
|
public class GCMCPlugin : IPlugin |
|
|
|
{ |
|
|
|
public string Name { get; } = "GCMC"; |
|
|
|
public string Version { get; } = "v0.0.1"; |
|
|
|
public string Name { get; } = Assembly.GetExecutingAssembly().GetName().Name; |
|
|
|
public string Version { get; } = Assembly.GetExecutingAssembly().GetName().Version.ToString(); |
|
|
|
|
|
|
|
private readonly Dictionary<string, BlockType> mapping = new Dictionary<string, BlockType>(10); |
|
|
|
private JsonSerializer _serializer = JsonSerializer.Create(); |
|
|
|