Skip to content

Commit

Permalink
⬆ Updated to Minecraft 1.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCrayfish committed Dec 11, 2021
1 parent 19b6bbb commit bb5458c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
25 changes: 20 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle'
//apply plugin: 'org.parchmentmc.librarian.forgegradle'
apply plugin: 'org.spongepowered.mixin'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
apply plugin: 'maven-publish'

version = "0.15.1-1.18"
group = "com.mrcrayfish" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
version = "0.15.1-1.18.1"
group = "com.mrcrayfish"
archivesBaseName = "controllable"

java.toolchain.languageVersion = JavaLanguageVersion.of(17)
Expand All @@ -27,7 +27,7 @@ mixin {
}

minecraft {
mappings channel: 'official', version: '1.18'
mappings channel: 'official', version: '1.18.1'

accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')

Expand Down Expand Up @@ -89,7 +89,7 @@ repositories {
}

dependencies {
minecraft 'net.minecraftforge:forge:1.18-38.0.10'
minecraft 'net.minecraftforge:forge:1.18.1-39.0.0'
//implementation fg.deobf("mezz.jei:jei-1.17.1:8.1.0.26")
implementation fg.deobf('curse.maven:configured-457570:3543119')
implementation fg.deobf('curse.maven:catalogue-459701:3543625')
Expand All @@ -111,3 +111,18 @@ jar {
])
}
}

jar.finalizedBy('reobfJar')

publishing {
publications {
mavenJava(MavenPublication) {
artifact jar
}
}
repositories {
maven {
url "file:///X:/localmaven/mcmods"
}
}
}
6 changes: 3 additions & 3 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader="javafml"
loaderVersion="[38,)"
loaderVersion="[39,)"
updateJSONURL="https://mrcrayfish.com/modupdatejson?id=controllable"
issueTrackerURL="https://github.com/MrCrayfish/Controllable/issues"
displayURL="https://mrcrayfish.com/mods?id=controllable"
Expand All @@ -16,13 +16,13 @@ description="Adds the ability to use a controller to play Minecraft"
[[dependencies.controllable]]
modId="forge"
mandatory=true
versionRange="[38,)"
versionRange="[39,)"
ordering="NONE"
side="CLIENT"
[[dependencies.controllable]]
modId="minecraft"
mandatory=true
versionRange="[1.18,1.19)"
versionRange="[1.18.1,1.19)"
ordering="NONE"
side="CLIENT"
[[dependencies.controllable]]
Expand Down

0 comments on commit bb5458c

Please sign in to comment.