Move JavaResourcePackConverter to its own cs proj

This commit is contained in:
miku-666
2026-02-07 09:30:27 +01:00
parent 4232f258c3
commit 8acec4cdde
23 changed files with 188 additions and 56 deletions

View File

@@ -0,0 +1,15 @@
using System;
namespace JavaResourcePackConverter
{
class SingleVersion(Version version) : IMinecraftJavaVersion
{
private readonly Version _version = version;
public SingleVersion(string version) : this(new Version(version)) { }
public bool Equals(Version other) => _version.Equals(other);
public string ToString(string _) => _version.ToString();
}
}