Registry Name Migration for NewHorizonsCoreMod (#14)

This commit is contained in:
Nikolay S. authored and GitHub committed 2026-01-17 11:21:27 +01:00
1 parent 61abcea316
commit f949e1aac0
5 files changed
+22 -15

No files matched your search

+6 -6
View File
@@ -1,12 +1,12 @@
dependencies {
api('com.github.GTNewHorizons:Botania:1.12.18-GTNH:dev') {
api('com.github.GTNewHorizons:Botania:1.13.10-GTNH:dev') {
exclude module: 'Baubles'
}
api('com.github.GTNewHorizons:Botanic-horizons:1.11.16-GTNH:dev')
api('com.github.GTNewHorizons:Botanic-horizons:1.12.3-GTNH:dev')
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
api('com.github.GTNewHorizons:Baubles-Expanded:2.1.9-GTNH:dev')
compileOnly("com.github.GTNewHorizons:CodeChickenCore:1.4.3:dev")
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.7.64-GTNH:dev")
api('com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH:dev')
compileOnly("com.github.GTNewHorizons:CodeChickenCore:1.4.10:dev")
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.8.50-GTNH:dev")
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.4.2:dev")
}
@@ -16,7 +16,7 @@ project.getConfigurations()
final DependencySubstitutions ds = c.getResolutionStrategy()
.getDependencySubstitution();
ds.substitute(ds.module("com.github.GTNewHorizons:Baubles"))
.using(ds.module("com.github.GTNewHorizons:Baubles-Expanded:2.1.9-GTNH"))
.using(ds.module("com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH"))
.withClassifier("dev")
.because("Baubles-Expanded replaces Baubles");
});
+9 -1
View File
@@ -96,7 +96,9 @@ usesMixinDebug = false
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
mixinPlugin =
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
# Specify the package that contains all of your Mixins. The package must exist or
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
# it must match with this or the build will fail.
mixinsPackage =
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
@@ -172,6 +174,12 @@ curseForgeRelations =
# projects. New projects should not use this parameter.
# customArchiveBaseName =
# Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
# runClientWorkingDirectory = run/client
# Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
# runServerWorkingDirectory = run/server
# Optional parameter to have the build automatically fail if an illegal version is used.
# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
# The check is ONLY performed if the version is a git tag.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.41'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.49'
}
@@ -821,8 +821,7 @@ public class RecipeListAB implements IModHelper {
.add(Aspect.MAGIC, 32).add(Aspect.ELDRITCH, 32).add(Aspect.BEAST, 16).add(Aspect.HUNGER, 16),
new ItemStack(ItemListAB.itemAquaSword),
new ItemStack[] { new ItemStack(ModItems.rainbowRod), new ItemStack(ItemListAB.itemABResource, 1, 0),
new ItemStack(
(Item) Item.itemRegistry.getObject("dreamcraft:item.MysteriousCrystalGemFlawless")),
new ItemStack((Item) Item.itemRegistry.getObject("dreamcraft:MysteriousCrystalGemFlawless")),
new ItemStack(ItemListAB.itemABResource, 1, 0), new ItemStack(ItemListAB.itemNebulaRod),
new ItemStack(ModBlocks.dreamwood, 1, 5), new ItemStack(ItemListAB.itemABResource, 1, 5),
new ItemStack(ModBlocks.livingwood, 1, 5),
@@ -842,16 +841,16 @@ public class RecipeListAB implements IModHelper {
new ItemStack((Item) Item.itemRegistry.getObject("thaumicbases:voidAnvil")),
new ItemStack[] { new ItemStack(ModBlocks.terraPlate), new ItemStack(ModItems.rune, 1, 2),
OreDict.preference("blockTerrasteel"),
new ItemStack((Item) Item.itemRegistry.getObject("dreamcraft:item.DiamondCoreChip")),
new ItemStack((Item) Item.itemRegistry.getObject("dreamcraft:DiamondCoreChip")),
new ItemStack(ModBlocks.terraPlate), new ItemStack(ModItems.rune, 1, 3),
OreDict.preference("blockManasteel"),
new ItemStack((Item) Item.itemRegistry.getObject("dreamcraft:item.EssentiaCircuit")),
new ItemStack((Item) Item.itemRegistry.getObject("dreamcraft:EssentiaCircuit")),
new ItemStack(ModBlocks.terraPlate), new ItemStack(ModItems.rune, 1, 2),
OreDict.preference("blockTerrasteel"),
new ItemStack((Item) Item.itemRegistry.getObject("dreamcraft:item.DiamondCoreChip")),
new ItemStack((Item) Item.itemRegistry.getObject("dreamcraft:DiamondCoreChip")),
new ItemStack(ModBlocks.terraPlate), new ItemStack(ModItems.rune, 1, 3),
OreDict.preference("blockManasteel"),
new ItemStack((Item) Item.itemRegistry.getObject("dreamcraft:item.EssentiaCircuit")), });
new ItemStack((Item) Item.itemRegistry.getObject("dreamcraft:EssentiaCircuit")), });
Destroyer = ThaumcraftApi.addInfusionCraftingRecipe(
"Destroyer",