-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3b8a88c
Showing
937 changed files
with
24,491 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @DonovanDMC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.idea/ | ||
.idea_modules/ | ||
out/ | ||
*.class | ||
*.log | ||
*.jar | ||
.gradle | ||
build/ | ||
gradle-app.setting | ||
.gradletasknamecache | ||
**/build/ | ||
run/ | ||
!gradle-wrapper.jar | ||
bin/ | ||
src/generated/resources/.cache | ||
scripts/secrets.sh | ||
**/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[submodule "Publishing"] | ||
path = scripts/publish | ||
url = https://github.com/DonovanDMC/ProjectExpansion | ||
branch = publishing | ||
[submodule "Generation"] | ||
path = src/main/generation | ||
url = https://github.com/DonovanDMC/ProjectExpansion | ||
branch = generation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
buildscript { | ||
repositories { | ||
maven { url = 'https://maven.minecraftforge.net' } | ||
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' } | ||
maven { url = "https://libraries.minecraft.net" } | ||
|
||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true | ||
classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT' | ||
} | ||
} | ||
|
||
apply plugin: 'net.minecraftforge.gradle' | ||
apply plugin: 'org.spongepowered.mixin' | ||
|
||
group = 'furry.cool.mc.forge' | ||
version = getProperty("mcVersion") + "-" + getProperty("localVersion") | ||
|
||
java { | ||
archivesBaseName = 'ProjectExpansion' | ||
toolchain.languageVersion = JavaLanguageVersion.of(17) | ||
} | ||
|
||
minecraft { | ||
mappings channel: getProperty("mappingsChannel"), version: getProperty("mappingsVersion") | ||
|
||
runs { | ||
client { | ||
workingDirectory project.file('run') | ||
|
||
property 'forge.logging.markers', 'REGISTRIES' | ||
property 'forge.logging.console.level', 'debug' | ||
|
||
mods { | ||
projectexpansion { | ||
source sourceSets.main | ||
} | ||
} | ||
} | ||
|
||
server { | ||
workingDirectory project.file('run') | ||
|
||
property 'forge.logging.markers', 'REGISTRIES' | ||
property 'forge.logging.console.level', 'debug' | ||
|
||
mods { | ||
projectexpansion { | ||
source sourceSets.main | ||
} | ||
} | ||
} | ||
|
||
data { | ||
workingDirectory project.file('run') | ||
|
||
property 'forge.logging.markers', 'REGISTRIES' | ||
property 'forge.logging.console.level', 'debug' | ||
|
||
args '--mod', 'projectexpansion', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') | ||
|
||
mods { | ||
projectexpansion { | ||
source sourceSets.main | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
mixin { | ||
add sourceSets.main, "projectexpansion.refmap.json" | ||
config "projectexpansion.mixins.json" | ||
} | ||
|
||
sourceSets.main.resources { srcDir 'src/generated/resources' } | ||
|
||
repositories { | ||
maven { | ||
url "https://www.cursemaven.com" | ||
content { | ||
includeGroup "curse.maven" | ||
} | ||
} | ||
maven { | ||
name "curios" | ||
url "https://maven.theillusivec4.top/" | ||
content { | ||
includeGroup 'top.theillusivec4.curios' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
minecraft "net.minecraftforge:forge:${getProperty("mcVersion")}-${getProperty("forgeVersion")}" | ||
implementation fg.deobf("curse.maven:projecte-226410:${getProperty("projecteVersion")}") | ||
implementation "com.mojang:brigadier:1.0.18" | ||
annotationProcessor "org.spongepowered:mixin:0.8.5:processor" | ||
compileOnly fg.deobf("top.theillusivec4.curios:curios-forge:${getProperty("curiosVersion")}:api") | ||
runtimeOnly fg.deobf("top.theillusivec4.curios:curios-forge:${getProperty("curiosVersion")}") | ||
runtimeOnly fg.deobf("curse.maven:no-chat-reports-634062:3926371") | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes([ | ||
"Specification-Title" : "Project Expansion", | ||
"Specification-Vendor" : "Donovan_DMC", | ||
"Specification-Version" : "1", // We are version 1 of ourselves | ||
"Implementation-Title" : project.name, | ||
"Implementation-Version" : project.jar.archiveVersion, | ||
"Implementation-Vendor" : "Donovan_DMC", | ||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") | ||
]) | ||
} | ||
} | ||
|
||
jar.finalizedBy('reobfJar') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
org.gradle.jvmargs=-Xmx3G | ||
org.gradle.daemon=false | ||
|
||
cfProjectID = 579177 | ||
mcVersion = 1.19.2 | ||
localVersion = 1.0.0 | ||
mappingsChannel = official | ||
mappingsVersion = 1.19.2 | ||
forgeVersion = 43.1.25 | ||
# 1.19.2-PE1.0.1 | ||
projecteVersion = 3955047 | ||
curiosVersion = 1.19.2-5.1.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
DIR=$(realpath "$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )") | ||
cd "$DIR/../src/main/generation" || exit 1 | ||
npm i | ||
node --no-warnings --no-deprecation --experimental-specifier-resolution=node --loader ts-node/esm run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
function getProperty { | ||
cat gradle.properties | grep -w "$1" | cut -d '=' -f 2 | tr -d '\n' | xargs echo -n | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
DIR=$(realpath "$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )") | ||
cd "$DIR/publish" || exit 1 | ||
npm i | ||
"$DIR/publish/sh/publish.sh" "$(realpath $DIR/..)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"extends": "@uwu-codes/eslint-config/ts.json", | ||
"rules": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
.git/ | ||
config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"gitName": "0.0", | ||
"auth": "", | ||
"endpoint": "http://localhost/mod" | ||
} |
Oops, something went wrong.