diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..f811f6a
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,5 @@
+# Disable autocrlf on generated files, they always generate with LF
+# Add any extra files or paths here to make git stop saying they
+# are changed when only line endings change.
+src/generated/**/.cache/cache text eol=lf
+src/generated/**/*.json text eol=lf
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..12f8644
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,25 @@
+# eclipse
+bin
+*.launch
+.settings
+.metadata
+.classpath
+.project
+
+# idea
+out
+*.ipr
+*.iws
+*.iml
+.idea
+
+# gradle
+build
+.gradle
+
+# other
+eclipse
+run
+
+# Files from Forge MDK
+forge*changelog.txt
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..0a04128
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,165 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ea478eb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# ExampleMod
+Example mod for the Antimatter API
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..25a437e
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,125 @@
+plugins {
+ id "maven-publish"
+ id "architectury-plugin" version "3.4-SNAPSHOT"
+ id "dev.architectury.loom" version "0.12.0-SNAPSHOT" apply(false)
+ id "com.github.johnrengelman.shadow" version "7.0.0" apply(false)
+}
+
+architectury {
+ minecraft = rootProject.minecraft_version
+}
+
+//Print out JVM information so that we know what version is running. Extreamly useful for people to know when helping you.
+println('Java: ' + System.getProperty('java.version') + ' JVM: ' + System.getProperty('java.vm.version') + '(' + System.getProperty('java.vendor') + ') Arch: ' + System.getProperty('os.arch'))
+
+def isCI = System.getenv("GITHUB_ACTION")
+def isRELEASE = System.getenv("GITHUB_RELEASE")
+
+subprojects {
+ apply plugin: "dev.architectury.loom"
+ java.toolchain.languageVersion = JavaLanguageVersion.of(17)
+
+ loom {
+ silentMojangMappingsLicense()
+ }
+
+ dependencies {
+ minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
+ // The following line declares the mojmap mappings, you may use other mappings as well
+ mappings loom.layered() {
+ officialMojangMappings()
+ parchment("org.parchmentmc.data:parchment-${rootProject.minecraft_version}:${rootProject.mappings_version}@zip")
+ }
+ // The following line declares the yarn mappings you may select this one as well.
+ // mappings "net.fabricmc:yarn:1.17.1+build.32:v2"
+ }
+
+ publishing {
+ publications {
+ mavenJava(MavenPublication) {
+ artifact jar
+ }
+ }
+ repositories {
+ maven {
+ url "file:///${project.projectDir}/mcmodsrepo"
+ }
+ }
+ }
+}
+
+allprojects {
+ apply plugin: "maven-publish"
+ apply plugin: "java"
+ apply plugin: "architectury-plugin"
+
+
+ group = rootProject.maven_group
+
+ repositories {
+ maven { url = 'https://maven.minecraftforge.net' }
+ maven {
+ name = 'parchment'
+ url = 'https://maven.parchmentmc.org'
+ }
+ maven { url 'https://dvs1.progwml6.com/files/maven' }
+ //Needed for intellij
+ maven {
+ name = 'sponge'
+ url = 'https://repo.spongepowered.org/repository/maven-public/'
+ }
+ maven {
+ url "https://www.cursemaven.com"
+ content {
+ includeGroup "curse.maven"
+ }
+ }
+ maven { url "https://maven.shedaniel.me" }
+ maven {
+ url "https://maven.terraformersmc.com"
+ content {
+ includeGroup "com.terraformersmc"
+ }
+ }
+ maven {
+ // Shedaniel's maven (Architectury API)
+ url = "https://maven.architectury.dev"
+ content {
+ includeGroup "dev.architectury"
+ }
+ }
+ maven {
+ url = 'https://maven.blamejared.com'
+ name = 'BlameJared Maven'
+ }
+ maven { url = "https://mvn.devos.one/snapshots/" }
+ maven {
+ // saps.dev Maven (KubeJS and Rhino)
+ url = "https://maven.saps.dev/minecraft"
+ content {
+ includeGroup "dev.latvian.mods"
+ }
+ }
+ //GT and Felt.
+ maven { url 'https://jitpack.io' }
+ maven {
+ url "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
+ }
+ }
+
+ java {
+ withSourcesJar()
+ }
+
+ tasks.withType(JavaCompile).configureEach {
+ it.options.encoding = 'UTF-8'
+ }
+
+ if (isCI) {
+ version = version + "-" + gitHash()
+ println("In CI mode")
+ }
+}
+
+
+
diff --git a/common/build.gradle b/common/build.gradle
new file mode 100644
index 0000000..c914138
--- /dev/null
+++ b/common/build.gradle
@@ -0,0 +1,12 @@
+archivesBaseName = "${rootProject.archive_base_name}-common"
+version = "${rootProject.minecraft_version}-${project.mod_version}"
+
+dependencies {
+ modCompileOnly("com.github.gregtech-intergalactical:antimatter-common:${antimatter_version}"){
+ exclude(group: "com.github.gregtech-intergalactical")
+ }
+}
+
+architectury {
+ common("forge", "fabric")
+}
\ No newline at end of file
diff --git a/common/src/generated/resources/.cache/cache b/common/src/generated/resources/.cache/cache
new file mode 100644
index 0000000..968a2cc
--- /dev/null
+++ b/common/src/generated/resources/.cache/cache
@@ -0,0 +1,9 @@
+4d6e32cb93e38a7bc3513823e6c39b96fc51a9ec assets/examplemod/blockstates/block_aluminium.json
+c2b61278deb8e7bd655dc71875dc60df5d107dda assets/examplemod/models/block/block_aluminium.json
+654da54bf66859874debe5dd8f43918268ccc591 assets/examplemod/models/item/block_aluminium.json
+149cfee3fe94036e6098c35171397d4c90f3e689 assets/examplemod/models/item/dust_aluminium.json
+6145504bcb262bd5e148d120601da4b8895942ff assets/examplemod/models/item/dust_small_aluminium.json
+7afed6892524997b83320fe8bd857f42a6ded407 assets/examplemod/models/item/dust_tiny_aluminium.json
+e9640be47ba5fb872c22572c43fa818696ac3fd2 assets/examplemod/models/item/ingot_aluminium.json
+31e300150eb7ae784a576a1c2203cf94a9c6635b assets/examplemod/models/item/iridium_alloy_ingot.json
+abaf1da8bd0085477cf48c71e72852549a516fb7 assets/examplemod/models/item/nugget_aluminium.json
diff --git a/common/src/main/java/com/example/examplemod/ExampleData.java b/common/src/main/java/com/example/examplemod/ExampleData.java
new file mode 100644
index 0000000..912fa97
--- /dev/null
+++ b/common/src/main/java/com/example/examplemod/ExampleData.java
@@ -0,0 +1,19 @@
+package com.example.examplemod;
+
+import muramasa.antimatter.AntimatterAPI;
+import muramasa.antimatter.item.ItemBasic;
+import muramasa.antimatter.material.Element;
+import muramasa.antimatter.material.Material;
+import muramasa.antimatter.material.TextureSet;
+
+public class ExampleData {
+
+
+ public static Material ALUMINIUM = AntimatterAPI.register(Material.class, new Material(ExampleMod.ID, "aluminium", 0x80c8f0,TextureSet.DULL, Element.Al));
+
+ public static ItemBasic> IRIDIUM_ALLOY_INGOT = new ItemBasic<>(ExampleMod.ID, "iridium_alloy_ingot");
+
+ public static void init() {
+
+ }
+}
diff --git a/common/src/main/java/com/example/examplemod/ExampleMod.java b/common/src/main/java/com/example/examplemod/ExampleMod.java
new file mode 100644
index 0000000..190b114
--- /dev/null
+++ b/common/src/main/java/com/example/examplemod/ExampleMod.java
@@ -0,0 +1,46 @@
+package com.example.examplemod;
+
+import muramasa.antimatter.datagen.AntimatterDynamics;
+import muramasa.antimatter.datagen.providers.AntimatterBlockStateProvider;
+import muramasa.antimatter.datagen.providers.AntimatterItemModelProvider;
+import muramasa.antimatter.event.MaterialEvent;
+import muramasa.antimatter.registration.RegistrationEvent;
+import muramasa.antimatter.AntimatterMod;
+import muramasa.antimatter.cover.ICover;
+import muramasa.antimatter.registration.Side;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+
+public class ExampleMod extends AntimatterMod {
+
+ public static final Logger LOGGER = LogManager.getLogger(); // Directly reference a log4j logger.
+ public static final String ID = "examplemod", NAME = "Example Mod";
+
+ @Override
+ public void onRegistrarInit() {
+ super.onRegistrarInit();
+ AntimatterDynamics.clientProvider(ID, () -> new AntimatterBlockStateProvider(ID, NAME + " BlockStates"));
+ AntimatterDynamics.clientProvider(ID, () -> new AntimatterItemModelProvider(ID, NAME + " Item Models"));
+ }
+
+ @Override
+ public void onRegistrationEvent(RegistrationEvent event, Side side) {
+ switch (event) {
+ case DATA_INIT -> {
+ ExampleData.init();
+ //todo until I fix antimatter
+ ICover test = ICover.empty;
+ }
+ }
+ }
+
+ @Override
+ public String getId() {
+ return "example";
+ }
+
+ @Override
+ public void onMaterialEvent(MaterialEvent event) {
+ event.setMaterial(ExampleData.ALUMINIUM).asMetal(933, 1700);
+ }
+}
diff --git a/common/src/main/resources/assets/examplemod/textures/item/basic/iridium_alloy_ingot.png b/common/src/main/resources/assets/examplemod/textures/item/basic/iridium_alloy_ingot.png
new file mode 100644
index 0000000..e9ea07f
Binary files /dev/null and b/common/src/main/resources/assets/examplemod/textures/item/basic/iridium_alloy_ingot.png differ
diff --git a/common/src/main/resources/pack.mcmeta b/common/src/main/resources/pack.mcmeta
new file mode 100644
index 0000000..700e07e
--- /dev/null
+++ b/common/src/main/resources/pack.mcmeta
@@ -0,0 +1,7 @@
+{
+ "pack": {
+ "description": "examplemod resources",
+ "pack_format": 5,
+ "_comment": "A pack_format of 5 requires json lang files and some texture changes from 1.15. Note: we require v5 pack meta for all mods."
+ }
+}
diff --git a/fabric/build.gradle b/fabric/build.gradle
new file mode 100644
index 0000000..e16d678
--- /dev/null
+++ b/fabric/build.gradle
@@ -0,0 +1,50 @@
+archivesBaseName = "${rootProject.archive_base_name}-fabric"
+version = "${rootProject.minecraft_version}-${project.mod_version}"
+
+apply plugin: "com.github.johnrengelman.shadow"
+
+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
+ developmentFabric.extendsFrom common
+}
+
+architectury {
+ platformSetupLoomIde()
+ fabric()
+}
+
+dependencies {
+ modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
+ modApi "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
+ common(project(path: ":common", configuration: "namedElements"))
+ shadowCommon(project(path: ":common", configuration: "transformProductionFabric"))
+ modImplementation("com.github.gregtech-intergalactical:antimatter-forge:${antimatter_version}"){
+ exclude(group: "com.github.gregtech-intergalactical")
+ }
+ //modRuntimeOnly("com.github.GregTech-Intergalactical.TesseractAPI:tesseract-fabric:${tesseract_version}")
+ modRuntimeOnly("mezz.jei:jei-${rootProject.minecraft_version}-forge:${rootProject.jei_version}")
+}
+
+shadowJar {
+ configurations = [project.configurations.shadowCommon]
+ classifier "dev-shadow"
+}
+
+remapJar {
+ input.set shadowJar.archiveFile
+ dependsOn shadowJar
+ classifier null
+}
+
+jar {
+ classifier "dev"
+}
+
+components.java {
+ withVariantsFromConfiguration(project.configurations.shadowRuntimeElements) {
+ skip()
+ }
+}
\ No newline at end of file
diff --git a/fabric/gradle.properties b/fabric/gradle.properties
new file mode 100644
index 0000000..82abc38
--- /dev/null
+++ b/fabric/gradle.properties
@@ -0,0 +1,5 @@
+loom.platform=fabric
+
+mod_version=1.0.0
+
+modid=examplemod
\ No newline at end of file
diff --git a/fabric/src/main/java/com/example/examplemod/fabric/ExampleModFabric.java b/fabric/src/main/java/com/example/examplemod/fabric/ExampleModFabric.java
new file mode 100644
index 0000000..31757c5
--- /dev/null
+++ b/fabric/src/main/java/com/example/examplemod/fabric/ExampleModFabric.java
@@ -0,0 +1,11 @@
+package com.example.examplemod.fabric;
+
+import net.fabricmc.api.ModInitializer;
+
+//initializer class for non antimatter related stuff
+public class ExampleModFabric implements ModInitializer {
+ @Override
+ public void onInitialize() {
+
+ }
+}
diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json
new file mode 100644
index 0000000..b7f9968
--- /dev/null
+++ b/fabric/src/main/resources/fabric.mod.json
@@ -0,0 +1,33 @@
+{
+ "schemaVersion": 1,
+ "id": "examplemod",
+ "version": "${version}",
+ "name": "Example Mod",
+ "description": "This is an example description! Tell everyone what your mod is about!",
+ "authors": [
+ "Me!"
+ ],
+ "contact": {
+ "sources": "https://github.com/GregTech-Intergalactical/ExampleMod"
+ },
+
+ "license": "LGPLv3",
+ "icon": "assets/examplemod/icon.png",
+
+ "environment": "*",
+ "entrypoints": {
+ "antimatter": [
+ "com.example.examplemod.ExampleMod"
+ ],
+ "main": [
+ "com.example.examplemod.fabric.ExampleModFabric"
+ ]
+ },
+
+ "depends": {
+ "fabricloader": ">=0.14.6",
+ "minecraft": ">=1.18.2",
+ "java": ">=17",
+ "antimatter": "*"
+ }
+}
\ No newline at end of file
diff --git a/forge/build.gradle b/forge/build.gradle
new file mode 100644
index 0000000..997ebbf
--- /dev/null
+++ b/forge/build.gradle
@@ -0,0 +1,49 @@
+archivesBaseName = "${rootProject.archive_base_name}-forge"
+version = "${rootProject.minecraft_version}-${project.mod_version}"
+
+apply plugin: "com.github.johnrengelman.shadow"
+
+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
+}
+
+architectury {
+ platformSetupLoomIde()
+ forge()
+}
+
+dependencies {
+ forge "net.minecraftforge:forge:${project.minecraft_version}-${project.forge_version}"
+ modImplementation("com.github.gregtech-intergalactical:antimatter-forge:${antimatter_version}"){
+ exclude(group: "com.github.gregtech-intergalactical")
+ }
+ //modRuntimeOnly("com.github.GregTech-Intergalactical.TesseractAPI:tesseract-forge:${tesseract_version}")
+ common(project(path: ":common", configuration: "namedElements"))
+ shadowCommon(project(path: ":common", configuration: "transformProductionForge"))
+ modRuntimeOnly("mezz.jei:jei-${rootProject.minecraft_version}-forge:${rootProject.jei_version}")
+}
+
+shadowJar {
+ configurations = [project.configurations.shadowCommon]
+ classifier "dev-shadow"
+}
+
+remapJar {
+ input.set shadowJar.archiveFile
+ dependsOn shadowJar
+ classifier null
+}
+
+jar {
+ classifier "dev"
+}
+
+components.java {
+ withVariantsFromConfiguration(project.configurations.shadowRuntimeElements) {
+ skip()
+ }
+}
\ No newline at end of file
diff --git a/forge/gradle.properties b/forge/gradle.properties
new file mode 100644
index 0000000..bfe2ee4
--- /dev/null
+++ b/forge/gradle.properties
@@ -0,0 +1,5 @@
+loom.platform=forge
+
+mod_version=1.0.0
+
+modid=examplemod
\ No newline at end of file
diff --git a/forge/src/main/java/com/example/examplemod/forge/ExampleModForge.java b/forge/src/main/java/com/example/examplemod/forge/ExampleModForge.java
new file mode 100644
index 0000000..68823c6
--- /dev/null
+++ b/forge/src/main/java/com/example/examplemod/forge/ExampleModForge.java
@@ -0,0 +1,9 @@
+package com.example.examplemod.forge;
+
+import com.example.examplemod.ExampleMod;
+import net.minecraftforge.fml.common.Mod;
+
+// The value here should match an entry in the META-INF/mods.toml file
+@Mod(ExampleMod.ID)
+public class ExampleModForge extends ExampleMod {
+}
diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml
new file mode 100644
index 0000000..804919b
--- /dev/null
+++ b/forge/src/main/resources/META-INF/mods.toml
@@ -0,0 +1,63 @@
+# This is an example mods.toml file. It contains the data relating to the loading mods.
+# There are several mandatory fields (#mandatory), and many more that are optional (#optional).
+# The overall format is standard TOML format, v0.5.0.
+# Note that there are a couple of TOML lists in this file.
+# Find more information on toml format here: https://github.com/toml-lang/toml
+# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml
+modLoader="javafml" #mandatory
+license="LGPLv3"
+
+# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
+loaderVersion="[31,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
+# A URL to refer people to when problems occur with this mod
+issueTrackerURL="http://my.issue.tracker/" #optional
+# A list of mods - how many allowed here is determined by the individual mod loader
+[[mods]] #mandatory
+# The modid of the mod
+modId="examplemod" #mandatory
+# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
+version="${file.jarVersion}" #mandatory
+ # A display name for the mod
+displayName="Example Mod" #mandatory
+# A URL to query for updates for this mod. See the JSON update specification
+updateJSONURL="http://myurl.me/" #optional
+# A URL for the "homepage" for this mod, displayed in the mod UI
+displayURL="http://example.com/" #optional
+# A file name (in the root of the mod JAR) containing a logo for display
+logoFile="examplemod.png" #optional
+# A text field displayed in the mod UI
+credits="Thanks for this example mod goes to Java" #optional
+# A text field displayed in the mod UI
+authors="Love, Cheese and small house plants" #optional
+# The description text for the mod (multi line!) (#mandatory)
+description='''
+This is a long form description of the mod. You can write whatever you want here
+Have some lorem ipsum.
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magna. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed sagittis luctus odio eu tempus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque volutpat ligula eget lacus auctor sagittis. In hac habitasse platea dictumst. Nunc gravida elit vitae sem vehicula efficitur. Donec mattis ipsum et arcu lobortis, eleifend sagittis sem rutrum. Cras pharetra quam eget posuere fermentum. Sed id tincidunt justo. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+'''
+# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
+[[dependencies.examplemod]] #optional
+ # the modid of the dependency
+ modId="forge" #mandatory
+ # Does this dependency have to exist - if not, ordering below must be specified
+ mandatory=true #mandatory
+ # The version range of the dependency
+ versionRange="[31,)" #mandatory
+ # An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
+ ordering="NONE"
+ # Side this dependency is applied on - BOTH, CLIENT or SERVER
+ side="BOTH"
+# Here's another dependency
+[[dependencies.examplemod]]
+ modId="minecraft"
+ mandatory=true
+ versionRange="[1.16.5]"
+ ordering="NONE"
+ side="BOTH"
+[[dependencies.examplemod]]
+ modId="antimatter"
+ mandatory=true
+ versionRange="0.0.1"
+ ordering="AFTER"
+ side="BOTH"
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..c94b5e0
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,26 @@
+# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
+# This is required to provide enough memory for the Minecraft decompilation process.
+org.gradle.jvmargs=-Xmx3G
+org.gradle.daemon=false
+
+
+minecraft_version=1.18.2
+mappings_version=2022.03.13
+forge_version=40.1.31
+fabric_api_version=0.57.0+1.18.2
+fabric_loader_version=0.14.6
+
+antimatter_version=1.18.2-0.2-pre2
+tesseract_version=90a7c895a3
+jei_version=10.1.0.223
+rei_version=8.2.490
+mod_menu_version=3.1.0
+
+rhino_file=3187177
+architectury_file=3208686
+kubejs_file=3253837
+top_file=3157997
+
+maven_group=com.example
+archive_base_name=examplemod
+mod_version=1.0.0
\ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..7a3265e
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..ac3c18c
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Thu Aug 20 17:56:19 CEST 2020
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStorePath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..cccdd3d
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=$(save "$@")
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..f955316
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,84 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..6ac889b
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,21 @@
+pluginManagement {
+ repositories {
+
+ maven {
+ name = 'Fabric'
+ url = 'https://maven.fabricmc.net/'
+ }
+ maven { url "https://maven.architectury.dev/" }
+ maven { url "https://maven.minecraftforge.net/" }
+ maven {
+ name = 'parchment'
+ url = 'https://maven.parchmentmc.org'
+ }
+ gradlePluginPortal()
+ mavenCentral()
+ }
+}
+
+include("common")
+include("fabric")
+include("forge")
\ No newline at end of file