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-02 21:17:55 +02:00
|
|
|
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-")),
|
2022-07-03 18:36:09 +02:00
|
|
|
DRAGONAPI("DragonAPI", false, startsWith("dragonapi")),
|
2022-07-01 19:06:29 +02:00
|
|
|
GALACTICRAFTCORE("GalactiCraftCore", false, startsWith("galacticraftcore")),
|
2022-04-17 21:11:33 +02:00
|
|
|
MFQM("More Fun Quicksand Mod", false, startsWith("morefunquicksandmod-")),
|
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
|
|
|
}
|