2022-03-10 23:09:23 +01:00
|
|
|
package com.falsepattern.endlessids.mixin.plugin;
|
|
|
|
|
|
2022-04-17 21:11:33 +02:00
|
|
|
import com.falsepattern.lib.mixin.ITargetedMod;
|
|
|
|
|
import lombok.Getter;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
2022-03-10 23:09:23 +01:00
|
|
|
|
2022-04-17 21:11:33 +02:00
|
|
|
import java.util.function.Predicate;
|
2022-03-10 23:09:23 +01:00
|
|
|
|
2022-12-27 21:05:45 +01:00
|
|
|
import static com.falsepattern.lib.mixin.ITargetedMod.PredicateHelpers.contains;
|
2022-07-02 20:21:50 +02:00
|
|
|
import static com.falsepattern.lib.mixin.ITargetedMod.PredicateHelpers.startsWith;
|
2022-03-10 23:09:23 +01:00
|
|
|
|
2022-04-17 21:11:33 +02:00
|
|
|
@RequiredArgsConstructor
|
|
|
|
|
public enum TargetedMod implements ITargetedMod {
|
2022-03-10 23:09:23 +01:00
|
|
|
|
2022-07-13 18:46:53 +02:00
|
|
|
ABYSSALCRAFT("AbyssalCraft", true, startsWith("abyssalcraft-")),
|
2022-12-27 18:14:27 +01:00
|
|
|
AROCKETRY("Advanced Rocketry", true, startsWith("advancedrocketry-")),
|
2022-07-02 21:17:55 +02:00
|
|
|
ATG("Alternate Terrain Generation", true, startsWith("atg")),
|
2022-07-13 15:58:56 +02:00
|
|
|
ANTIQUEATLAS("Antique Atlas", true, startsWith("antiqueatlas")),
|
|
|
|
|
ANTIIDCONFLICT("Anti ID Conflict", true, startsWith("antiidconflict")),
|
2022-07-02 21:17:55 +02:00
|
|
|
BOP("Biomes O' Plenty", true, startsWith("biomesoplenty-")),
|
2022-07-15 01:37:23 +02:00
|
|
|
BIOMETWEAKER("Biome Tweaker", true, startsWith("biometweaker-")),
|
2022-07-13 15:58:56 +02:00
|
|
|
BIOMEWAND("Biome Wand", true, startsWith("1.7.10-biome-wand-").or(startsWith("biome-wand"))),
|
2022-12-27 21:05:45 +01:00
|
|
|
BUILDCRAFT("BuildCraft", true, startsWith("buildcraft-").and(contains("-compat").negate())),
|
2022-07-02 21:17:55 +02:00
|
|
|
COFHLIB("CoFH Lib", true, startsWith("cofhlib-")),
|
2022-08-25 21:49:32 +02:00
|
|
|
COMPACTMACHINES("Compact Machines", true, startsWith("compactmachines-")),
|
2022-07-24 00:41:12 +02:00
|
|
|
DARKWORLD("Dark World", true, startsWith("darkworld-")),
|
2022-07-03 18:36:09 +02:00
|
|
|
DRAGONAPI("DragonAPI", false, startsWith("dragonapi")),
|
2022-07-22 23:31:14 +02:00
|
|
|
EB("Enhanced Biomes", true, startsWith("Enhanced Biomes").or(startsWith("enhancedbiomes"))),
|
2022-12-27 16:16:56 +01:00
|
|
|
ENDERLICIOUS("Enderlicious", true, startsWith("enderlicious-")),
|
2022-07-13 18:26:19 +02:00
|
|
|
EREBUS("The Erebus", true, startsWith("theerebus")),
|
2022-07-23 20:38:36 +02:00
|
|
|
EXTRAPLANETS("Extra Planets", false, startsWith("extraplanets-")),
|
2022-07-11 19:55:53 +02:00
|
|
|
EXTRAUTILITIES("Extra Utilities", true, startsWith("extrautilities-")),
|
2022-07-24 00:41:12 +02:00
|
|
|
FUTUREPACK("Futurepack", true, startsWith("[1.7.10]futurepack").or(startsWith("futurepack-"))),
|
2022-07-01 19:06:29 +02:00
|
|
|
GALACTICRAFTCORE("GalactiCraftCore", false, startsWith("galacticraftcore")),
|
2022-12-27 22:11:23 +01:00
|
|
|
GALAXYSPACE("GalaxySpace", false, startsWith("galaxyspace-")),
|
2022-07-23 01:04:40 +02:00
|
|
|
HIGHLANDS("Highlands", true, startsWith("highlands")),
|
2022-07-03 23:18:52 +02:00
|
|
|
ICG("Immersive Cavegen", true, startsWith("immersivecavegen")),
|
2022-07-22 21:02:45 +02:00
|
|
|
LOTR("LOTR Mod", false, startsWith("lotrmod")),
|
2022-07-23 00:42:26 +02:00
|
|
|
MFQM("More Fun Quicksand Mod", true, startsWith("morefunquicksandmod-")),
|
2022-07-03 19:56:08 +02:00
|
|
|
NATURESCOMPASS("Nature's Compass", true, startsWith("naturescompass")),
|
2022-07-14 22:58:53 +02:00
|
|
|
NETHERLICIOUS("Netherlicious", true, startsWith("netherlicious-")),
|
2022-12-27 16:56:49 +01:00
|
|
|
NOMADICTENTS("Nomadic Tents", true, startsWith("nomadictents")),
|
2022-08-25 22:20:51 +02:00
|
|
|
RANDOMTHINGS("Random Things", true, startsWith("randomthings-")),
|
2022-07-03 19:39:34 +02:00
|
|
|
RTG("Realistic Terrain Generation", true, startsWith("rtg-")),
|
2022-12-27 17:22:22 +01:00
|
|
|
RWG("Realistic World Gen", true, startsWith("rwg-")),
|
2022-07-11 00:01:49 +02:00
|
|
|
THAUMCRAFT("Thaumcraft", true, startsWith("thaumcraft")),
|
2022-07-13 20:09:55 +02:00
|
|
|
TROPICRAFT("Tropicraft", true, startsWith("tropicraft-")),
|
2022-07-10 23:58:31 +02:00
|
|
|
TWILIGHTFOREST("Twilight Forest", true, startsWith("twilightforest")),
|
2022-07-23 00:42:26 +02:00
|
|
|
UBC("Underground Biomes Constructs", true, startsWith("undergroundbiomesconstructs-")),
|
2022-12-27 16:44:21 +01:00
|
|
|
WITCHERY("Witchery", true, startsWith("witchery-")),
|
2022-04-17 21:11:33 +02:00
|
|
|
WORLDEDIT("WorldEdit", false, startsWith("worldedit-")),
|
|
|
|
|
;
|
2022-03-10 23:09:23 +01:00
|
|
|
|
2022-04-17 21:11:33 +02:00
|
|
|
@Getter
|
|
|
|
|
private final String modName;
|
|
|
|
|
@Getter
|
|
|
|
|
private final boolean loadInDevelopment;
|
|
|
|
|
@Getter
|
|
|
|
|
private final Predicate<String> condition;
|
2022-03-10 23:09:23 +01:00
|
|
|
}
|