Files
EndlessIDs/src/main/java/com/falsepattern/endlessids/mixin/plugin/TargetedMod.java
T

47 lines
2.2 KiB
Java
Raw Normal View History

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-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-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-07-02 21:17:55 +02:00
COFHLIB("CoFH Lib", true, startsWith("cofhlib-")),
2022-07-14 22:26:08 +02:00
DARKWORLD("Dark World", true, startsWith("darkworld-")),
2022-07-03 18:36:09 +02:00
DRAGONAPI("DragonAPI", false, startsWith("dragonapi")),
2022-07-13 18:26:19 +02:00
EREBUS("The Erebus", true, startsWith("theerebus")),
2022-07-11 19:55:53 +02:00
EXTRAUTILITIES("Extra Utilities", true, startsWith("extrautilities-")),
2022-07-13 20:47:09 +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-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-04-17 21:11:33 +02:00
MFQM("More Fun Quicksand Mod", false, 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-07-03 19:39:34 +02:00
RTG("Realistic Terrain Generation", true, startsWith("rtg-")),
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-01 19:06:29 +02:00
UBC("Underground Biomes Constructs", false, startsWith("undergroundbiomesconstructs-")),
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
}