Skip to content

Commit

Permalink
support for dye depot
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Oct 29, 2024
1 parent c538aa5 commit 3da8d63
Show file tree
Hide file tree
Showing 941 changed files with 15,915 additions and 962 deletions.
19 changes: 0 additions & 19 deletions CHANGELOG.txt

This file was deleted.

9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@ buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net' }
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
maven { url = 'https://maven.parchmentmc.org' }
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: "${forgegradle_version}", changing: true
classpath "org.spongepowered:mixingradle:${mixingradle_version}"
classpath group: 'org.parchmentmc.librarian.forgegradle', name: 'org.parchmentmc.librarian.forgegradle.gradle.plugin', version: '1.+'
}
}

apply plugin: 'java'
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'org.spongepowered.mixin'
apply plugin: 'org.parchmentmc.librarian.forgegradle'
apply plugin: 'maven-publish'

archivesBaseName = "${mod_name} ${minecraft_version}"
Expand All @@ -27,7 +30,8 @@ mixin {
java.toolchain.languageVersion = JavaLanguageVersion.of(17)

minecraft {
mappings channel: 'official', version: minecraft_version
mappings channel: 'parchment', version: '2023.09.03-1.20.1'
//mappings channel: 'official', version: minecraft_version

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

Expand All @@ -41,7 +45,7 @@ minecraft {
}

data {
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/'), "--existing-mod", "blueprint", "--existing-mod", "shieldexp"
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/'), "--existing-mod", "blueprint", "--existing-mod", "shieldexp", "--existing-mod", "dye_depot"
taskName 'Data'
}

Expand Down Expand Up @@ -113,6 +117,7 @@ dependencies {
runtimeOnly(fg.deobf("maven.modrinth:scannable:${scannable_version}"))
runtimeOnly(fg.deobf("maven.modrinth:architectury-api:${architectury_version}"))
runtimeOnly(fg.deobf("maven.modrinth:moonlight:${moonlight_lib_version}"))
runtimeOnly(fg.deobf("maven.modrinth:dye-depot:${dye_depot_version}"))

/// Utilities for the development environment
//runtimeOnly fg.deobf("curse.maven:jade-324717:${jade_version}")
Expand Down
5 changes: 3 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ org.gradle.daemon=false
minecraft_version=1.20.1

# Forge
forgegradle_version=5.1.+
forgegradle_version=[6.0,6.2)
forge_version=47.3.10

# Mixin
Expand All @@ -32,4 +32,5 @@ create_version=ZZW2y7nG
supplementaries_version=eMF95dNK
scannable_version=2FlwUOgm
architectury_version=tBWqtdBO
moonlight_lib_version=sfzdPwZX
moonlight_lib_version=sfzdPwZX
dye_depot_version=cdGlC270
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 4 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
zipStorePath=wrapper/dists
Loading

0 comments on commit 3da8d63

Please sign in to comment.