Skip to content

Commit

Permalink
1.20.1 port
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysticpasta1 committed Dec 31, 2023
1 parent 5d1020c commit 6a3dafc
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 22 deletions.
14 changes: 6 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
plugins {
id 'fabric-loom' version '0.7-SNAPSHOT'
id 'fabric-loom' version '0.11-SNAPSHOT'
id 'maven-publish'
}

sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

archivesBaseName = project.archives_base_name
version = project.mod_version
Expand Down Expand Up @@ -34,12 +34,10 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

modImplementation "com.glisco:worldmesher-0.1-dev"
include "com.glisco:worldmesher-0.1"
modImplementation 'com.github.gliscowo:worldmesher:7d93ceb64b'
include 'com.github.gliscowo:worldmesher:7d93ceb64b'
implementation 'com.madgag:animated-gif-lib:1.4'
include 'com.madgag:animated-gif-lib:1.4'

modImplementation "com.teamwizardry.librarianlib:facade:1.17-quilt-SNAPSHOT"
}

processResources {
Expand All @@ -60,7 +58,7 @@ tasks.withType(JavaCompile).configureEach {
// The Minecraft launcher currently installs Java 8 for users, so your mod probably wants to target Java 8 too
// JDK 9 introduced a new way of specifying this that will make sure no newer classes or methods are used.
// We'll use that if it's available, but otherwise we'll use the older option.
def targetVersion = 8
def targetVersion = 17
if (JavaVersion.current().isJava9Compatible()) {
it.options.release = targetVersion
}
Expand Down
18 changes: 8 additions & 10 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx2G
org.gradle.daemon=false

# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.17.1
yarn_mappings=1.17.1+build.61
loader_version=0.11.7
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
loader_version=0.15.3

#Fabric api
fabric_version=0.91.0+1.20.1

# Mod Properties
mod_version = 1.0.2
mod_version = 1.0.0
maven_group = com.mystic
archives_base_name = holographic-renders

# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api (or https://fabricmc.net/versions.html)
fabric_version=0.40.1+1.17
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
File renamed without changes
6 changes: 3 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},

"license": "MIT",
"icon": "assets/modid/icon.png",
"icon": "assets/holographic_renders/icon.png",

"environment": "*",
"entrypoints": {
Expand All @@ -30,9 +30,9 @@
],

"depends": {
"fabricloader": ">=0.11.3",
"fabricloader": ">=0.15.3",
"fabric": "*",
"minecraft": "1.17.x"
"minecraft": "1.20.x"
},
"suggests": {
"another-mod": "*"
Expand Down

0 comments on commit 6a3dafc

Please sign in to comment.