Skip to content

Commit

Permalink
1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGravyBoat committed Jun 24, 2024
1 parent d43645b commit 456736e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ architectury {

dependencies {
modImplementation "net.fabricmc:fabric-loader:$fabric_loader_version"
modImplementation("com.teamresourceful.resourcefullib:resourcefullib-common-1.20.5:2.5.5")
modImplementation("com.teamresourceful.resourcefullib:resourcefullib-common-${mc_version}:latest.release")
}

jar {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.teamresourceful.resourcefullibkt.common

import net.minecraft.resources.ResourceLocation

fun String.toResourceLocation() = ResourceLocation.tryParse(this)

fun ResourceLocation(namespace: String, path: String) = ResourceLocation.fromNamespaceAndPath(namespace, path)

operator fun ResourceLocation.component1(): String = namespace
operator fun ResourceLocation.component2(): String = path
2 changes: 1 addition & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {
common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }

modImplementation("com.teamresourceful.resourcefullib:resourcefullib-fabric-1.20.5:2.5.5")
modImplementation("com.teamresourceful.resourcefullib:resourcefullib-fabric-${mc_version}:latest.release")
modImplementation("net.fabricmc:fabric-language-kotlin:1.11.0+kotlin.2.0.0")
}

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
org.gradle.jvmargs=-Xmx2048M

mc_version=1.20.6
mc_version=1.21
enabled_platforms=fabric,neoforge

archives_base_name=resourcefullibkt
maven_group=com.teamresourceful.resourcefullibkt

fabric_loader_version=0.15.11
fabric_api_version=0.99.0+1.20.6
fabric_api_version=0.100.1+1.21

neoforge_version=20.6.93-beta
neoforge_version=21.0.31-beta

## Mod Version
nightly=false
4 changes: 2 additions & 2 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ dependencies {
common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowCommon(project(path: ":common", configuration: "transformProductionNeoForge")) { transitive = false }

implementation("thedarkcolour:kotlinforforge:3.12.0")
modImplementation("com.teamresourceful.resourcefullib:resourcefullib-neoforge-1.20.5:2.5.5")
implementation("thedarkcolour:kotlinforforge:5.3.0")
modImplementation("com.teamresourceful.resourcefullib:resourcefullib-neoforge-${mc_version}:latest.release")
}

processResources {
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ patch=3
buildTime=0
build=0
releaseType=release
currentMCVersion=1.20.6
currentMCVersion=1.21
initialMCVersion=1.20.6
version=1.0.3

0 comments on commit 456736e

Please sign in to comment.