Home

Awesome

<p align="center"> <img src="https://raw.githubusercontent.com/kitUIN/ModMultiVersionInterpreter/master/Icon.svg" width="350" height="220" alt="ModMultiVersionInterpreter"></a> </p> <div align="center">

ModMultiVersionInterpreter

✨ 多版本代码同步-解析器 ✨

</div> <p align="center"> <a> <img src="https://img.shields.io/badge/license-MIT-green" alt="license"> </a> <a > <img src="https://img.shields.io/github/v/release/kitUIN/ModMultiVersionInterpreter" alt="release"> </a> </p>

实现功能

使用

repositories {
    mavenCentral()
    maven {
        name = "kituinMavenReleases"
        url = uri("https://maven.kituin.fun/releases")
    }
}

dependencies {
    implementation("io.github.kituin:ModMultiVersionInterpreter:$interpreter_version")
}

布尔模式

val interpreter = Interpreter(">=fabric-1.20", mutableMapOf(
            "$$" to "fabric-1.20.3"
        ))
println(interpreter.interpret()) // true