Compare commits
4 Commits
07af324f01
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ce8b3010ec | |||
| 9ad17d5f60 | |||
| 0a4d1fd62a | |||
| dbd6091eca |
27
build.gradle
27
build.gradle
@@ -76,7 +76,7 @@ neoForge {
|
|||||||
gameDirectory = project.file('run')
|
gameDirectory = project.file('run')
|
||||||
systemProperty 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP'
|
systemProperty 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP'
|
||||||
systemProperty 'forge.logging.console.level', 'debug'
|
systemProperty 'forge.logging.console.level', 'debug'
|
||||||
programArguments.addAll("--mod", project.mod_id, "--all", "--output", file("src/generated/resources/").getAbsolutePath(), "--existing", file("src/main/resources").getAbsolutePath())
|
programArguments.addAll("--mod", mod_id as String, "--all", "--output", file("src/generated/resources/").getAbsolutePath(), "--existing", file("src/main/resources").getAbsolutePath())
|
||||||
}
|
}
|
||||||
|
|
||||||
gameTestServer {
|
gameTestServer {
|
||||||
@@ -99,7 +99,10 @@ repositories {
|
|||||||
maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/" } // ForgeConfigAPIPort
|
maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/" } // ForgeConfigAPIPort
|
||||||
maven { url = "https://mvn.devos.one/snapshots" } // Registrate
|
maven { url = "https://mvn.devos.one/snapshots" } // Registrate
|
||||||
maven { url = "https://maven.blamejared.com" } // JEI, Vazkii's Mods
|
maven { url = "https://maven.blamejared.com" } // JEI, Vazkii's Mods
|
||||||
|
maven {
|
||||||
|
name = "fosil"
|
||||||
|
url = "https://maven.fosil.eu/releases"
|
||||||
|
}
|
||||||
maven {
|
maven {
|
||||||
// location of the maven for Curios API
|
// location of the maven for Curios API
|
||||||
url = "https://maven.theillusivec4.top/"
|
url = "https://maven.theillusivec4.top/"
|
||||||
@@ -124,9 +127,16 @@ repositories {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
maven {
|
maven {
|
||||||
url "https://jitpack.io"
|
url "https://maven.latvian.dev/releases"
|
||||||
content {
|
content {
|
||||||
includeGroup "com.github.llamalad7.mixinextras"
|
includeGroup "dev.latvian.mods"
|
||||||
|
includeGroup "dev.latvian.apps"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
maven {
|
||||||
|
url 'https://jitpack.io'
|
||||||
|
content {
|
||||||
|
includeGroup "com.github.rtyley"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -152,10 +162,10 @@ repositories {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.jetbrains:annotations:22.0.0'
|
implementation 'org.jetbrains:annotations:22.0.0'
|
||||||
|
|
||||||
jarJar(implementation("com.oierbravo.mechanicals:Mechanicals:${mechanicals}"))
|
implementation("com.oierbravo.mechanicals:Mechanicals:${minecraft_version}-${mechanicals}")
|
||||||
|
|
||||||
implementation("com.simibubi.create:create-${minecraft_version}:${create_version}:slim") { transitive = false }
|
implementation("com.simibubi.create:create-${minecraft_version}:${create_version}:slim") { transitive = false }
|
||||||
implementation("net.createmod.ponder:Ponder-NeoForge-${minecraft_version}:${ponder_version}")
|
implementation("net.createmod.ponder:ponder-neoforge:${ponder_version}+mc${minecraft_version}")
|
||||||
compileOnly("dev.engine-room.flywheel:flywheel-neoforge-api-${minecraft_version}:${flywheel_version}")
|
compileOnly("dev.engine-room.flywheel:flywheel-neoforge-api-${minecraft_version}:${flywheel_version}")
|
||||||
runtimeOnly("dev.engine-room.flywheel:flywheel-neoforge-${minecraft_version}:${flywheel_version}")
|
runtimeOnly("dev.engine-room.flywheel:flywheel-neoforge-${minecraft_version}:${flywheel_version}")
|
||||||
implementation("com.tterrag.registrate:Registrate:${registrate_version}")
|
implementation("com.tterrag.registrate:Registrate:${registrate_version}")
|
||||||
@@ -174,9 +184,8 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (kubejs_enabled.toBoolean()) {
|
if (kubejs_enabled.toBoolean()) {
|
||||||
compileOnly("dev.architectury:architectury-neoforge:$architectury_version")
|
api("dev.latvian.mods:kubejs-neoforge:$kubejs_version")
|
||||||
//api("dev.latvian.mods:kubejs-neoforge:$kubejs_version")
|
interfaceInjectionData("dev.latvian.mods:kubejs-neoforge:$kubejs_version") // optional
|
||||||
//interfaceInjectionData("dev.latvian.mods:kubejs-neoforge:$kubejs_version") // optional
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,30 +6,31 @@ org.gradle.daemon=false
|
|||||||
use_parchment = true
|
use_parchment = true
|
||||||
|
|
||||||
# mod version info
|
# mod version info
|
||||||
mod_version=1.0.0-6.0.4
|
mod_version=1.0.0-6.0.10
|
||||||
mod_id={{MECHANICAL_ID}}
|
mod_id={{MECHANICAL_ID}}
|
||||||
mod_author=oierbravo
|
mod_author=oierbravo
|
||||||
mod_name={{MECHANICAL_NAME}}
|
mod_name={{MECHANICAL_NAME}}
|
||||||
|
|
||||||
mechanicals = 0.4.27
|
mechanicals = 1.1.4
|
||||||
|
|
||||||
# Base Dependencies
|
# Base Dependencies
|
||||||
minecraft_version = 1.21.1
|
minecraft_version = 1.21.1
|
||||||
minecraft_version_range=[1.21.1]
|
minecraft_version_range=[1.21.1]
|
||||||
|
|
||||||
neo_version = 21.1.129
|
neo_version = 21.1.219
|
||||||
neo_version_range=[21.1.129,)
|
neo_version_range=[21.1.219,)
|
||||||
|
|
||||||
parchment_minecraft_version = 1.21.1
|
parchment_minecraft_version = 1.21.1
|
||||||
parchment_version = 2024.11.17
|
parchment_version = 2024.11.17
|
||||||
|
|
||||||
# Dependency Versions
|
# dependency versions
|
||||||
create_version = 6.0.4-53
|
create_version_range = [6.0.10,6.1.0)
|
||||||
ponder_version = 1.0.46
|
create_version = 6.0.10-280
|
||||||
flywheel_version = 1.0.2
|
ponder_version = 1.0.82
|
||||||
registrate_version = MC1.21-1.3.0+62
|
flywheel_version = 1.0.6
|
||||||
|
registrate_version = MC1.21-1.3.0+67
|
||||||
jei_minecraft_version = 1.21.1
|
jei_minecraft_version = 1.21.1
|
||||||
jei_version = 19.21.0.247
|
jei_version = 19.25.0.322
|
||||||
curios_minecraft_version = 1.21.1
|
curios_minecraft_version = 1.21.1
|
||||||
curios_version = 9.2.2
|
curios_version = 9.2.2
|
||||||
|
|
||||||
@@ -39,11 +40,8 @@ cc_tweaked_enable = false
|
|||||||
cc_tweaked_minecraft_version = 1.21.1
|
cc_tweaked_minecraft_version = 1.21.1
|
||||||
cc_tweaked_version = 1.114.2
|
cc_tweaked_version = 1.114.2
|
||||||
|
|
||||||
kubejs_enabled = false
|
kubejs_enabled=true
|
||||||
kubejs_version=2101.7.1-build.181
|
kubejs_version=2101.7.2-build.348
|
||||||
#kubejs_version=2101.7.2-build.230
|
|
||||||
rhino_version=2101.2.7-build.74
|
|
||||||
architectury_version=13.0.2
|
|
||||||
mixin_extras_version = 0.4.1
|
mixin_extras_version = 0.4.1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,4 +8,7 @@ public class ModConstants {
|
|||||||
public static ResourceLocation asResource(String path) {
|
public static ResourceLocation asResource(String path) {
|
||||||
return ResourceLocation.fromNamespaceAndPath(MODID, path);
|
return ResourceLocation.fromNamespaceAndPath(MODID, path);
|
||||||
}
|
}
|
||||||
|
public static ResourceLocation asResource() {
|
||||||
|
return ResourceLocation.fromNamespaceAndPath(MODID,"");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.oierbravo.{{MECHANICAL_ID}}.foundation.utility;
|
package com.oierbravo.{{MECHANICAL_ID}};
|
||||||
|
|
||||||
import com.oierbravo.{{MECHANICAL_ID}}.ModConstants;
|
import com.oierbravo.{{MECHANICAL_ID}}.ModConstants;
|
||||||
import net.createmod.catnip.lang.Lang;
|
import net.createmod.catnip.lang.Lang;
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ public class ModDataGen {
|
|||||||
|
|
||||||
DataGenerator generator = event.getGenerator();
|
DataGenerator generator = event.getGenerator();
|
||||||
PackOutput output = generator.getPackOutput();
|
PackOutput output = generator.getPackOutput();
|
||||||
|
CompletableFuture<HolderLookup.Provider> lookupProvider = event.getLookupProvider();
|
||||||
|
|
||||||
if (event.includeServer()) {
|
if (event.includeServer()) {
|
||||||
//generator.addProvider(true, new ExamplenRecipeGen(output, event.getLookupProvider()));
|
//generator.addProvider(true, new ExamplenRecipeGen(output, lookupProvider));
|
||||||
|
|
||||||
}
|
}
|
||||||
event.getGenerator().addProvider(true, {{MECHANICAL_MAIN_CLASS}}.registrate().setDataProvider(new RegistrateDataProvider({{MECHANICAL_MAIN_CLASS}}.registrate(), ModConstants.MODID, event)));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.oierbravo.{{MECHANICAL_ID}}.registrate;
|
package com.oierbravo.{{MECHANICAL_ID}}.registrate;
|
||||||
|
|
||||||
import com.oierbravo.{{MECHANICAL_ID}}.ModConstants;
|
import com.oierbravo.{{MECHANICAL_ID}}.ModConstants;
|
||||||
import com.oierbravo.{{MECHANICAL_ID}}.infrastucture.config.ModStress;
|
import com.oierbravo.{{MECHANICAL_ID}}.infrastructure.config.ModStress;
|
||||||
import com.simibubi.create.AllBlocks;
|
import com.simibubi.create.AllBlocks;
|
||||||
import com.simibubi.create.AllTags;
|
import com.simibubi.create.AllTags;
|
||||||
import com.simibubi.create.foundation.data.AssetLookup;
|
import com.simibubi.create.foundation.data.AssetLookup;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import com.oierbravo.{{MECHANICAL_ID}}.ModConstants;
|
|||||||
import com.simibubi.create.AllItems;
|
import com.simibubi.create.AllItems;
|
||||||
import com.simibubi.create.AllTags;
|
import com.simibubi.create.AllTags;
|
||||||
import com.simibubi.create.foundation.data.AssetLookup;
|
import com.simibubi.create.foundation.data.AssetLookup;
|
||||||
import com.simibubi.create.foundation.data.recipe.CompatMetals;
|
import com.simibubi.create.foundation.data.recipe.CommonMetal;
|
||||||
import com.simibubi.create.foundation.item.TagDependentIngredientItem;
|
import com.simibubi.create.foundation.item.TagDependentIngredientItem;
|
||||||
import com.tterrag.registrate.providers.RegistrateRecipeProvider;
|
import com.tterrag.registrate.providers.RegistrateRecipeProvider;
|
||||||
import com.tterrag.registrate.util.entry.ItemEntry;
|
import com.tterrag.registrate.util.entry.ItemEntry;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package com.oierbravo.{{MECHANICAL_ID}};
|
|||||||
|
|
||||||
import com.mojang.logging.LogUtils;
|
import com.mojang.logging.LogUtils;
|
||||||
import com.oierbravo.{{MECHANICAL_ID}}.infrastructure.data.ModDataGen;
|
import com.oierbravo.{{MECHANICAL_ID}}.infrastructure.data.ModDataGen;
|
||||||
import com.oierbravo.{{MECHANICAL_ID}}.infrastucture.config.MConfigs;
|
import com.oierbravo.{{MECHANICAL_ID}}.infrastructure.config.MConfigs;
|
||||||
import com.oierbravo.{{MECHANICAL_ID}}.ponders.ModPonderPlugin;
|
import com.oierbravo.{{MECHANICAL_ID}}.ponders.ModPonderPlugin;
|
||||||
import com.oierbravo.{{MECHANICAL_ID}}.registrate.*;
|
import com.oierbravo.{{MECHANICAL_ID}}.registrate.*;
|
||||||
import com.oierbravo.mechanicals.utility.RegistrateLangBuilder;
|
import com.oierbravo.mechanicals.utility.RegistrateLangBuilder;
|
||||||
|
|||||||
Reference in New Issue
Block a user