mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-21 16:38:39 +01:00
1.21.1
This commit is contained in:
parent
7c2fa1f03f
commit
5372b9f0de
12
build.gradle
12
build.gradle
@ -100,12 +100,20 @@ processResources {
|
||||
expand(
|
||||
"version": project.version,
|
||||
"description": project.description,
|
||||
"implVersion": "git-${project.name}-${project.version}:${project.latestCommitHash()}",
|
||||
"mcVersion": project.minecraft_version
|
||||
"implVersion": "git-${project.name}-${project.version}:${latestCommitHash()}",
|
||||
"mcVersion": mcVersion()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
String mcVersion() {
|
||||
if (project.supported_versions.isEmpty()) {
|
||||
return project.minecraft_version
|
||||
} else {
|
||||
return project.supported_versions
|
||||
}
|
||||
}
|
||||
|
||||
String latestCommitHash() {
|
||||
def stdout = new ByteArrayOutputStream()
|
||||
exec {
|
||||
|
@ -9,7 +9,10 @@ maven_version=3.4.4-SNAPSHOT
|
||||
maven_description=Fabric mod to connect to EVERY Minecraft server version (Release, Beta, Alpha, Classic, Snapshots, Bedrock) with QoL fixes to the gameplay
|
||||
|
||||
# Minecraft/Fabric
|
||||
minecraft_version=1.21
|
||||
yarn_version=1.21+build.9
|
||||
minecraft_version=1.21.1
|
||||
yarn_version=1.21.1+build.1
|
||||
loader_version=0.15.11
|
||||
fabric_api_version=0.102.0+1.21
|
||||
fabric_api_version=0.102.0+1.21.1
|
||||
|
||||
# empty for minecraft version above
|
||||
supported_versions=>=1.21 <=1.21.1
|
@ -39,7 +39,7 @@ public class ResourcePackHeaderDiff {
|
||||
private final static Map<ProtocolVersion, GameVersion> GAME_VERSION_DIFF = new HashMap<>();
|
||||
|
||||
static {
|
||||
registerVersion(ProtocolVersion.v1_21, 34, "1.21");
|
||||
registerVersion(ProtocolVersion.v1_21, 34, "1.21.1");
|
||||
registerVersion(ProtocolVersion.v1_20_5, 32, "1.20.6");
|
||||
registerVersion(ProtocolVersion.v1_20_3, 22, "1.20.4");
|
||||
registerVersion(ProtocolVersion.v1_20_2, 18, "1.20.2");
|
||||
|
Loading…
Reference in New Issue
Block a user