-
Notifications
You must be signed in to change notification settings - Fork 20
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
1 parent
04c994e
commit ace2445
Showing
22 changed files
with
556 additions
and
342 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 |
---|---|---|
@@ -1,66 +1,142 @@ | ||
buildscript { | ||
repositories { | ||
maven { url = 'https://files.minecraftforge.net/maven' } | ||
maven { url = 'https://maven.parchmentmc.org' } | ||
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' } | ||
jcenter() | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true | ||
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true | ||
classpath group: 'org.spongepowered', name: 'mixingradle', version: '0.7-SNAPSHOT' | ||
classpath 'org.parchmentmc:librarian:1.+' | ||
} | ||
} | ||
apply plugin: 'net.minecraftforge.gradle' | ||
apply plugin: 'org.parchmentmc.librarian.forgegradle' | ||
apply plugin: 'org.spongepowered.mixin' | ||
apply plugin: 'eclipse' | ||
|
||
archivesBaseName = name + '-' + mcVersion | ||
archivesBaseName = "${fileName}-${mcVersion}" | ||
|
||
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' | ||
java.toolchain.languageVersion = JavaLanguageVersion.of(project.properties.javaVersion) | ||
|
||
minecraft { | ||
mappings 'snapshot', project.properties.mappingsVersion | ||
mappings channel: 'parchment', version: project.properties.parchmentVersion | ||
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') | ||
runs { | ||
client = { | ||
properties 'forge.logging.markers': '' | ||
properties 'forge.logging.console.level': 'debug' | ||
workingDirectory project.file('run').canonicalPath | ||
source sourceSets.main | ||
arg project.mixin.toBoolean() ? "-mixin.config=${modid}.mixins.json" : "" | ||
workingDirectory project.file('run') | ||
mods { "${modid}" { source sourceSets.main } } | ||
} | ||
server = { | ||
properties 'forge.logging.markers': '' | ||
properties 'forge.logging.console.level': 'debug' | ||
workingDirectory project.file('run').canonicalPath | ||
source sourceSets.main | ||
arg project.mixin.toBoolean() ? "-mixin.config=${modid}.mixins.json" : "" | ||
workingDirectory project.file('run') | ||
mods { "${modid}" { source sourceSets.main } } | ||
} | ||
data = { | ||
property 'forge.logging.markers', '' | ||
property 'forge.logging.console.level', 'debug' | ||
args '--mod', modid, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') | ||
workingDirectory project.file('run') | ||
mods { "${modid}" { source sourceSets.main } } | ||
} | ||
} | ||
} | ||
|
||
sourceSets.main.resources { srcDir 'src/generated/resources' } | ||
|
||
repositories { | ||
maven { | ||
maven { // JEI | ||
url "https://dvs1.progwml6.com/files/maven" | ||
} | ||
maven { | ||
url 'https://www.dogforce-games.com/maven/' | ||
maven { // CurseForge | ||
url "https://www.cursemaven.com" | ||
} | ||
maven { // Curios | ||
url "https://maven.theillusivec4.top/" | ||
} | ||
maven { | ||
url 'https://maven.tehnut.info' | ||
maven { // The One Probe | ||
url "https://maven.k-4u.nl/" | ||
} | ||
maven { // Patchouli | ||
url "https://maven.blamejared.com" | ||
} | ||
} | ||
|
||
dependencies { | ||
minecraft 'net.minecraftforge:forge:' + project.properties.mcVersion + '-' + forgeVersion | ||
compile fileTree(dir: 'libs', include: '*.jar') | ||
compile fg.deobf('mezz.jei:jei-' + jeiVersion) | ||
compile fg.deobf('mcp.mobius.waila:Hwyla:' + hwylaVersion) | ||
minecraft "net.minecraftforge:forge:${mcVersion}-${forgeVersion}" | ||
if(project.mixin.toBoolean()) annotationProcessor "org.spongepowered:mixin:${mixinVersion}:processor" | ||
if(project.hasProperty('jeiVersion')) implementation fg.deobf("mezz.jei:jei-${jeiVersion}") | ||
if(project.hasProperty('jadeFileId')) implementation fg.deobf("curse.maven:jade-324717:${jadeFileId}") | ||
if(project.hasProperty('curiosVer')) implementation fg.deobf("top.theillusivec4.curios:curios-forge:${curiosVer}") | ||
if(project.hasProperty('topVersion')) implementation fg.deobf(project.dependencies.create("mcjty.theoneprobe:theoneprobe:${topVersion}") { | ||
transitive = false | ||
}) | ||
if(project.hasProperty('patchouliVer')) implementation fg.deobf("vazkii.patchouli:Patchouli:${patchouliVer}") | ||
implementation fileTree(dir: 'libs', include: '*.jar') | ||
} | ||
|
||
mixin { | ||
if(project.mixin.toBoolean()) add sourceSets.main, "${modid}.refmap.json" | ||
} | ||
|
||
def resourceTargets = ['META-INF/mods.toml', 'pack.mcmeta', "${modid}.mixins.json".toString()] | ||
def intoTargets = ["$rootDir/out/production/resources/", "$rootDir/out/production/${project.name}.main/", "$rootDir/bin/main/"] | ||
def replaceProperties = [modid: modid, | ||
version: version, | ||
displayName: spacedName, | ||
author: author, | ||
desc: desc, | ||
mcVersion: mcVersion, | ||
forgeVersion: forgeVersion, | ||
mixins: mixins, | ||
clientMixins: clientMixins | ||
] | ||
|
||
if(project.hasProperty('placeboDep')) replaceProperties.put 'placeboDep', placeboDep | ||
if(project.hasProperty('curiosVer')) replaceProperties.put 'curiosVer', curiosVer | ||
if(project.hasProperty('topVersion')) replaceProperties.put 'topVersion', topVersion | ||
if(project.hasProperty('patchouliVer')) replaceProperties.put 'patchouliVer', patchouliVer | ||
|
||
processResources { | ||
inputs.properties replaceProperties | ||
replaceProperties.put 'project', project | ||
|
||
filesMatching(resourceTargets) { | ||
expand replaceProperties | ||
} | ||
|
||
intoTargets.each { target -> | ||
if (file(target).exists()) { | ||
copy { | ||
from(sourceSets.main.resources) { | ||
include resourceTargets | ||
expand replaceProperties | ||
} | ||
into target | ||
} | ||
} | ||
} | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes(["Specification-Title": project.name, | ||
attributes(["Specification-Title": project.fileName, | ||
"Specification-Vendor": project.author, | ||
"Specification-Version": "24.0", // We are version 1 of the modlauncher specification | ||
"Implementation-Title": project.name, | ||
"Specification-Version": "1.0", // We are version 1 of ourselves | ||
"Implementation-Title": project.fileName, | ||
"Implementation-Version": project.version, | ||
"Implementation-Vendor" : project.author, | ||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")],) | ||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), | ||
"MixinConfigs": project.mixin.toBoolean() ? "${modid}.mixins.json" : "" | ||
]) | ||
} | ||
} | ||
} | ||
|
||
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,3 @@ | ||
## 1.1.0 | ||
* Added the /open_gateway command which allows spawning a gateway at a position. | ||
* Fixed a bug where a gateway would crash if the summoner ID was unset. |
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 |
---|---|---|
@@ -1,12 +1,31 @@ | ||
name=GatewaysToEternity | ||
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | ||
|
||
fileName=GatewaysToEternity | ||
spacedName=GatewaysToEternity | ||
modid=gateways | ||
author=Shadows_of_Fire | ||
version=1.0.2 | ||
mcVersion=1.16.4 | ||
mappingsVersion=20201028-1.16.3 | ||
forgeVersion=35.1.36 | ||
jeiVersion=1.16.4:7.6.1.65 | ||
hwylaVersion=1.10.11-B78_1.16.2 | ||
desc=Invoke that from the dark beyond. Let it pour into this world. A mod about creating temporary mob spawners in the form of portals. | ||
version=1.1.0 | ||
mcVersion=1.16.5 | ||
javaVersion=8 | ||
forgeVersion=36.2.39 | ||
parchmentVersion=2021.10.03-1.16.5 | ||
jeiVersion=1.16.5:7.7.1.130 | ||
jadeFileId=3910873 | ||
#curiosVer=1.18.2-5.0.6.3 | ||
placeboDep=4.7.0 | ||
#topVersion=1.18-5.1.0-8 | ||
#patchouliVer=1.18.2-66 | ||
|
||
#MIXINS | ||
mixin=false | ||
mixinVersion=0.8.5 | ||
#These should be a comma-separated list of all the mixin classnames in the project. | ||
#Mixins must live at shadows.modid.mixin | ||
mixins= | ||
clientMixins= | ||
|
||
#New mappings version to use with the fg updateMappings task. | ||
#When commented out, the task is not registered. | ||
#UPDATE_MAPPINGS=20200916-1.16.2 | ||
#UPDATE_MAPPINGS_CHANNEL=snapshot | ||
#UPDATE_MAPPINGS=1.16.5 | ||
#UPDATE_MAPPINGS_CHANNEL=official |
Binary file not shown.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip |
Oops, something went wrong.