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-12-27 22:22:32 +01:00
|
|
|
ABYSSALCRAFT("AbyssalCraft", false, startsWith("abyssalcraft-")),
|
|
|
|
|
AROCKETRY("Advanced Rocketry", false, startsWith("advancedrocketry-")),
|
|
|
|
|
ATG("Alternate Terrain Generation", false, startsWith("atg")),
|
|
|
|
|
ANTIQUEATLAS("Antique Atlas", false, startsWith("antiqueatlas")),
|
|
|
|
|
ANTIIDCONFLICT("Anti ID Conflict", false, startsWith("antiidconflict")),
|
|
|
|
|
BOP("Biomes O' Plenty", false, startsWith("biomesoplenty-")),
|
|
|
|
|
BIOMETWEAKER("Biome Tweaker", false, startsWith("biometweaker-")),
|
|
|
|
|
BIOMEWAND("Biome Wand", false, startsWith("1.7.10-biome-wand-").or(startsWith("biome-wand"))),
|
2022-12-28 14:24:09 +01:00
|
|
|
BUILDCRAFT("BuildCraft", false, startsWith("buildcraft-").and(contains("compat").negate())),
|
2022-12-27 22:22:32 +01:00
|
|
|
COFHLIB("CoFH Lib", false, startsWith("cofhlib-")),
|
|
|
|
|
COMPACTMACHINES("Compact Machines", false, startsWith("compactmachines-")),
|
|
|
|
|
DARKWORLD("Dark World", false, startsWith("darkworld-")),
|
2023-04-02 12:50:42 +02:00
|
|
|
DIMDOORS("Dimensional Doors", false, startsWith("dimensionaldoors-").or(startsWith("dimdoors-"))),
|
2022-07-03 18:36:09 +02:00
|
|
|
DRAGONAPI("DragonAPI", false, startsWith("dragonapi")),
|
2022-12-27 22:22:32 +01:00
|
|
|
EB("Enhanced Biomes", false, startsWith("Enhanced Biomes").or(startsWith("enhancedbiomes"))),
|
|
|
|
|
ENDERLICIOUS("Enderlicious", false, startsWith("enderlicious-")),
|
|
|
|
|
EREBUS("The Erebus", false, startsWith("theerebus")),
|
2022-07-23 20:38:36 +02:00
|
|
|
EXTRAPLANETS("Extra Planets", false, startsWith("extraplanets-")),
|
2022-12-27 22:22:32 +01:00
|
|
|
EXTRAUTILITIES("Extra Utilities", false, startsWith("extrautilities-")),
|
|
|
|
|
FUTUREPACK("Futurepack", false, 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-12-27 22:22:32 +01:00
|
|
|
HIGHLANDS("Highlands", false, startsWith("highlands")),
|
|
|
|
|
ICG("Immersive Cavegen", false, startsWith("immersivecavegen")),
|
2022-07-22 21:02:45 +02:00
|
|
|
LOTR("LOTR Mod", false, startsWith("lotrmod")),
|
2022-12-27 22:22:32 +01:00
|
|
|
MFQM("More Fun Quicksand Mod", false, startsWith("morefunquicksandmod-")),
|
|
|
|
|
NATURESCOMPASS("Nature's Compass", false, startsWith("naturescompass")),
|
|
|
|
|
NETHERLICIOUS("Netherlicious", false, startsWith("netherlicious-")),
|
|
|
|
|
NOMADICTENTS("Nomadic Tents", false, startsWith("nomadictents")),
|
|
|
|
|
RANDOMTHINGS("Random Things", false, startsWith("randomthings-")),
|
|
|
|
|
RTG("Realistic Terrain Generation", false, startsWith("rtg-")),
|
|
|
|
|
RWG("Realistic World Gen", false, startsWith("rwg-")),
|
|
|
|
|
THAUMCRAFT("Thaumcraft", false, startsWith("thaumcraft")),
|
|
|
|
|
TROPICRAFT("Tropicraft", false, startsWith("tropicraft-")),
|
|
|
|
|
TWILIGHTFOREST("Twilight Forest", false, startsWith("twilightforest")),
|
|
|
|
|
UBC("Underground Biomes Constructs", false, startsWith("undergroundbiomesconstructs-")),
|
|
|
|
|
WITCHERY("Witchery", false, 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
|
|
|
}
|