mirror of
https://github.com/GTMEGA/EndlessIDs.git
synced 2026-11-19 18:49:42 +00:00
allow some mods to load in runClient
This commit is contained in:
3 files changed
+22
-8
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
package com.falsepattern.endlessids.mixin.mixins.common.dragonapi;
|
||||
|
||||
import Reika.DragonAPI.Extras.IDType;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.Constant;
|
||||
import org.spongepowered.asm.mixin.injection.ModifyConstant;
|
||||
|
||||
@Mixin(IDType.class)
|
||||
public abstract class IDTypeMixin {
|
||||
@ModifyConstant(method = "<clinit>",
|
||||
constant = @Constant(intValue = 254),
|
||||
require = 1)
|
||||
private static int extendIDs
|
||||
}
|
||||
@@ -11,10 +11,10 @@ import static com.falsepattern.lib.mixin.ITargetedMod.PredicateHelpers.startsWit
|
||||
@RequiredArgsConstructor
|
||||
public enum TargetedMod implements ITargetedMod {
|
||||
|
||||
ANTIIDCONFLICT("Anti ID Conflict", false, startsWith("antiidconflict")),
|
||||
ATG("Alternate Terrain Generation", false, startsWith("atg")),
|
||||
BOP("Biomes O' Plenty", false, startsWith("biomesoplenty-")),
|
||||
COFHLIB("CoFH Lib", false, startsWith("cofhlib-")),
|
||||
ANTIIDCONFLICT("Anti ID Conflict", true, startsWith("antiidconflict")),
|
||||
ATG("Alternate Terrain Generation", true, startsWith("atg")),
|
||||
BOP("Biomes O' Plenty", true, startsWith("biomesoplenty-")),
|
||||
COFHLIB("CoFH Lib", true, startsWith("cofhlib-")),
|
||||
DRAGONAPI("DragonAPI", false, startsWith("dragonapi")),
|
||||
GALACTICRAFTCORE("GalactiCraftCore", false, startsWith("galacticraftcore")),
|
||||
MFQM("More Fun Quicksand Mod", false, startsWith("morefunquicksandmod-")),
|
||||
|
||||
Reference in new issue
Block a user