-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wiped old 3.X.X code and replaced with new 4.X.X code!
- Loading branch information
Showing
538 changed files
with
240 additions
and
9,533 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,4 +1,43 @@ | ||
plugins { | ||
id 'fabric-loom' version '1.7-SNAPSHOT' apply false | ||
id 'net.neoforged.moddev' version '0.1.110' apply false | ||
} | ||
id 'dev.architectury.loom' version '1.7-SNAPSHOT' apply false | ||
id 'architectury-plugin' version '3.4-SNAPSHOT' | ||
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false | ||
} | ||
|
||
architectury { | ||
minecraft = project.minecraft_version | ||
} | ||
|
||
allprojects { | ||
group = rootProject.maven_group | ||
version = rootProject.mod_version | ||
} | ||
|
||
subprojects { | ||
apply plugin: 'dev.architectury.loom' | ||
apply plugin: 'architectury-plugin' | ||
|
||
base { | ||
archivesName = "$rootProject.archives_name-$project.name" | ||
} | ||
|
||
repositories { | ||
|
||
} | ||
|
||
dependencies { | ||
minecraft "net.minecraft:minecraft:$rootProject.minecraft_version" | ||
mappings loom.officialMojangMappings() | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
|
||
sourceCompatibility = JavaVersion.VERSION_21 | ||
targetCompatibility = JavaVersion.VERSION_21 | ||
} | ||
|
||
tasks.withType(JavaCompile).configureEach { | ||
it.options.release = 21 | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,38 +1,11 @@ | ||
plugins { | ||
id 'multiloader-common' | ||
id 'net.neoforged.moddev' | ||
} | ||
|
||
neoForge { | ||
neoFormVersion = neo_form_version | ||
def at = file('src/main/resources/META-INF/accesstransformer.cfg') | ||
if (at.exists()) { | ||
accessTransformers.add(at.absolutePath) | ||
} | ||
parchment { | ||
minecraftVersion = parchment_minecraft | ||
mappingsVersion = parchment_version | ||
} | ||
architectury { | ||
common rootProject.enabled_platforms.split(',') | ||
} | ||
|
||
dependencies { | ||
compileOnly group: 'org.spongepowered', name: 'mixin', version: '0.8.5' | ||
compileOnly group: 'io.github.llamalad7', name: 'mixinextras-common', version: '0.3.5' | ||
annotationProcessor group: 'io.github.llamalad7', name: 'mixinextras-common', version: '0.3.5' | ||
} | ||
// We depend on Fabric Loader here to use the Fabric @Environment annotations, | ||
// which get remapped to the correct annotations on each platform. | ||
// Do NOT use other classes from Fabric Loader. | ||
modImplementation "net.fabricmc:fabric-loader:$rootProject.fabric_loader_version" | ||
|
||
configurations { | ||
commonJava { | ||
canBeResolved = false | ||
canBeConsumed = true | ||
} | ||
commonResources { | ||
canBeResolved = false | ||
canBeConsumed = true | ||
} | ||
} | ||
|
||
artifacts { | ||
commonJava sourceSets.main.java.sourceDirectories.singleFile | ||
commonResources sourceSets.main.resources.sourceDirectories.singleFile | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
package dev.xdpxi.xdlib; | ||
|
||
public final class Main { | ||
public static final String MOD_ID = "xdlib"; | ||
|
||
public static void init() { | ||
|
||
} | ||
} |
16 changes: 0 additions & 16 deletions
16
common/src/main/java/dev/xdpxi/xdlib/platform/Services.java
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
common/src/main/java/dev/xdpxi/xdlib/platform/services/IPlatformHelper.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.