-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
16 changed files
with
199 additions
and
80 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,3 +1,3 @@ | ||
# Changelog | ||
|
||
Updated CI / Build Script | ||
NeoForge & 1.20.4 |
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
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
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,14 +1,14 @@ | ||
{ | ||
"required": true, | ||
"minVersion": "0.8", | ||
"package": "com.sunekaer.flatbedrock.mixin", | ||
"compatibilityLevel": "JAVA_17", | ||
"client": [ | ||
], | ||
"mixins": [ | ||
"FlatBedrockMixin" | ||
], | ||
"injectors": { | ||
"defaultRequire": 1 | ||
} | ||
"required": true, | ||
"minVersion": "0.8", | ||
"package": "com.sunekaer.flatbedrock.mixin", | ||
"compatibilityLevel": "JAVA_17", | ||
"client": [ | ||
], | ||
"mixins": [ | ||
"FlatBedrockMixin" | ||
], | ||
"injectors": { | ||
"defaultRequire": 1 | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -24,6 +24,6 @@ | |
], | ||
"depends": { | ||
"fabric": "*", | ||
"minecraft": ">=1.19.2" | ||
"minecraft": ">=1.20.4" | ||
} | ||
} |
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
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
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,20 +1,30 @@ | ||
org.gradle.jvmargs=-Xmx2048M | ||
org.gradle.jvmargs=-Xmx8G | ||
org.gradle.daemon=false | ||
|
||
minecraft_version=1.20.1 | ||
enabled_platforms=fabric,forge | ||
enabled_platforms=fabric,forge,neoforge | ||
|
||
archives_base_name=flatbedrock | ||
mod_version=3.0.1 | ||
mod_version=84.0.0 | ||
maven_group=com.sunekaer.mods | ||
|
||
architectury_version=9.0.8 | ||
curseforge_id=398623 | ||
modrinth_id=ZYLnkiVu | ||
|
||
fabric_loader_version=0.14.21 | ||
fabric_api_version=0.83.1+1.20.1 | ||
# Dependencies | ||
minecraft_version=1.20.4 | ||
|
||
forge_version=1.20.1-47.0.4 | ||
# ForgeGradle | ||
forge_gradle_version=6.0.18 | ||
# NeoForgeGradle | ||
neoforge_gradle_version=7.0.80 | ||
# Mod loaders | ||
# NeoForge | ||
neoforge_version=20.4.80-beta | ||
# Forge | ||
forge_version=49.0.14 | ||
|
||
curseforge_id=398623 | ||
modrinth_id=ZYLnkiVu | ||
maven_url=https://maven.nanite.dev/ | ||
fabric_loader_version=0.15.3 | ||
fabric_api_version=0.91.2+1.20.4 | ||
|
||
# Architectury | ||
architectury_version=11.0.10 |
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-8.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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,81 @@ | ||
plugins { | ||
id "com.github.johnrengelman.shadow" version "8.1.1" | ||
} | ||
|
||
architectury { | ||
platformSetupLoomIde() | ||
neoForge() | ||
} | ||
|
||
repositories { | ||
maven { | ||
url "https://maven.saps.dev/mirror" | ||
} | ||
} | ||
|
||
loom { | ||
accessWidenerPath = project(":common").loom.accessWidenerPath | ||
} | ||
|
||
configurations { | ||
common | ||
shadowCommon // Don't use shadow from the shadow plugin because we don't want IDEA to index this. | ||
compileClasspath.extendsFrom common | ||
runtimeClasspath.extendsFrom common | ||
developmentForge.extendsFrom common | ||
} | ||
|
||
dependencies { | ||
neoForge "net.neoforged:neoforge:${rootProject.neoforge_version}" | ||
|
||
common(project(path: ":common", configuration: "namedElements")) { transitive false } | ||
shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive = false } | ||
} | ||
|
||
processResources { | ||
inputs.property "version", project.version | ||
|
||
filesMatching("META-INF/mods.toml") { | ||
expand "version": project.version | ||
} | ||
} | ||
|
||
shadowJar { | ||
exclude "fabric.mod.json" | ||
exclude "architectury.common.json" | ||
|
||
configurations = [project.configurations.shadowCommon] | ||
setArchiveClassifier("dev-shadow") | ||
} | ||
|
||
remapJar { | ||
input.set shadowJar.archiveFile | ||
dependsOn shadowJar | ||
archiveBaseName.set "${rootProject.archives_base_name}-${project.name}" | ||
setArchiveClassifier(null) | ||
} | ||
|
||
jar { | ||
setArchiveClassifier("dev") | ||
} | ||
|
||
sourcesJar { | ||
def commonSources = project(":common").sourcesJar | ||
dependsOn commonSources | ||
from commonSources.archiveFile.map { zipTree(it) } | ||
} | ||
|
||
components.java { | ||
withVariantsFromConfiguration(project.configurations.shadowRuntimeElements) { | ||
skip() | ||
} | ||
} | ||
|
||
publishing { | ||
publications { | ||
mavenNeoForge(MavenPublication) { | ||
artifactId = "${rootProject.archivesBaseName}-${project.name}" | ||
from components.java | ||
} | ||
} | ||
} |
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 @@ | ||
loom.platform=neoforge |
11 changes: 11 additions & 0 deletions
11
neoforge/src/main/java/com/sunekaer/flatbedrock/neo/FlatBedrockNeo.java
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,11 @@ | ||
package com.sunekaer.flatbedrock.neo; | ||
|
||
import com.sunekaer.flatbedrock.FlatBedrock; | ||
import net.neoforged.fml.common.Mod; | ||
|
||
@Mod(FlatBedrock.MOD_ID) | ||
public class FlatBedrockNeo { | ||
public FlatBedrockNeo() { | ||
FlatBedrock.init(); | ||
} | ||
} |
Oops, something went wrong.