mirror of
https://github.com/GTMEGA/EndlessIDs.git
synced 2026-11-15 21:54:40 +00:00
Highlands compat (fixes #25)
This commit is contained in:
4 files changed
+26
No files matched your search
@@ -75,6 +75,9 @@ dependencies {
|
||||
//Mirrored at: https://maven.falsepattern.com/mirror/mirror/GalacticraftCore-1.7-3.0.12.504.jar
|
||||
compileOnly(deobf("https://micdoodle8.com/new-builds/GC-1.7/504/GalacticraftCore-1.7-3.0.12.504.jar"))
|
||||
|
||||
//Highlands 2.2.3
|
||||
compile(deobfCurse("highlands-221226:2227924"))
|
||||
|
||||
//Immersive Cavegen 1.2g
|
||||
compile(deobfCurse("immersivecavegen-521557:3649411"))
|
||||
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
package com.falsepattern.endlessids.mixin.mixins.common.highlands;
|
||||
|
||||
import highlands.Config;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.ModifyArg;
|
||||
|
||||
@Mixin(value = Config.class,
|
||||
remap = false)
|
||||
public abstract class ConfigMixin {
|
||||
@ModifyArg(method = "addBiomeEntries",
|
||||
at = @At(value = "INVOKE",
|
||||
target = "Lnet/minecraftforge/common/config/Configuration;get(Ljava/lang/String;Ljava/lang/String;I)Lnet/minecraftforge/common/config/Property;"),
|
||||
index = 2,
|
||||
require = 44)
|
||||
private static int shiftBiomeIDsUp(int id) {
|
||||
return id + 16000;
|
||||
}
|
||||
}
|
||||
@@ -130,6 +130,9 @@ public enum Mixin implements IMixin {
|
||||
GalactiCraftConfigManagerCoreMixin(Side.COMMON, require(TargetedMod.GALACTICRAFTCORE),
|
||||
"galacticraft.ConfigManagerCoreMixin"),
|
||||
//endregion GalactiCraftCore->common
|
||||
//region Highlands->common
|
||||
HighlandsConfigMixin(Side.COMMON, require(TargetedMod.HIGHLANDS), "highlands.ConfigMixin"),
|
||||
//endregion Highlands->common
|
||||
//region ICG->common
|
||||
ICGMysteriumPatchesFixesCaveMixin(Side.COMMON, require(TargetedMod.ICG), "icg.MysteriumPatchesFixesCaveMixin"),
|
||||
//endregion ICG->common
|
||||
|
||||
@@ -26,6 +26,7 @@ public enum TargetedMod implements ITargetedMod {
|
||||
EXTRAUTILITIES("Extra Utilities", true, startsWith("extrautilities-")),
|
||||
FUTUREPACK("Futurepack", true, startsWith("[1.7.10]futurepack").or(startsWith("futurepack-"))),
|
||||
GALACTICRAFTCORE("GalactiCraftCore", false, startsWith("galacticraftcore")),
|
||||
HIGHLANDS("Highlands", true, startsWith("highlands")),
|
||||
ICG("Immersive Cavegen", true, startsWith("immersivecavegen")),
|
||||
LOTR("LOTR Mod", false, startsWith("lotrmod")),
|
||||
MFQM("More Fun Quicksand Mod", true, startsWith("morefunquicksandmod-")),
|
||||
|
||||
Reference in new issue
Block a user