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

94 lines
5.0 KiB
Java
Raw Normal View History

/*
* EndlessIDs
*
* Copyright (C) 2022-2024 FalsePattern
* All Rights Reserved
*
* The above copyright notice, this permission notice and the words "MEGA"
* shall be included in all copies or substantial portions of the Software.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
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-03-10 23:09:23 +01:00
2022-04-17 21:11:33 +02:00
@RequiredArgsConstructor
public enum TargetedMod implements ITargetedMod {
2024-07-20 15:56:40 +02:00
ABYSSALCRAFT("AbyssalCraft", false, contains("abyssalcraft-")),
AROCKETRY("Advanced Rocketry", false, contains("advancedrocketry-")),
ATG("Alternate Terrain Generation", false, contains("atg")),
2025-04-14 20:50:07 +02:00
AM2("Ars Magica 2", false, contains("am2").or(contains("arsmagica2"))),
2024-07-20 15:56:40 +02:00
ANTIQUEATLAS("Antique Atlas", false, contains("antiqueatlas")),
ANTIIDCONFLICT("Anti ID Conflict", false, contains("antiidconflict")),
BOP("Biomes O' Plenty", false, contains("biomesoplenty-")),
BIOMETWEAKER("Biome Tweaker", false, contains("biometweaker-")),
BIOMEWAND("Biome Wand", false, contains("biome-wand")),
BUILDCRAFT("BuildCraft", false, contains("buildcraft-").and(contains("compat").negate())),
2024-08-06 23:46:32 +02:00
CLIMATECONTROL("Climate Control", false, contains("climatecontrol-")),
2024-07-20 15:56:40 +02:00
COFHLIB("CoFH Lib", false, contains("cofhlib-")),
COMPACTMACHINES("Compact Machines", false, contains("compactmachines-")),
DARKWORLD("Dark World", false, contains("darkworld-")),
DIMDOORS("Dimensional Doors", false, contains("dimensionaldoors-").or(contains("dimdoors-"))),
DRAGONAPI("DragonAPI", false, contains("dragonapi")),
EB("Enhanced Biomes", false, contains("Enhanced Biomes").or(contains("enhancedbiomes"))),
ENDERLICIOUS("Enderlicious", false, contains("enderlicious-")),
EREBUS("The Erebus", false, contains("theerebus")),
2025-06-04 12:53:43 +02:00
EXTENDEDPLANETS("Extended Planets", false, contains("extendedplanets-")),
2024-07-20 15:56:40 +02:00
EXTRAPLANETS("Extra Planets", false, contains("extraplanets-")),
EXTRAUTILITIES("Extra Utilities", false, contains("extrautilities-")),
2025-06-04 12:01:31 +02:00
FACTORIZATION("Factorization", false, contains("factorization-")),
2024-07-20 15:56:40 +02:00
FUTUREPACK("Futurepack", false, contains("futurepack")),
GALACTICRAFTCORE("GalactiCraftCore", false, contains("galacticraftcore")),
GALAXYSPACE("GalaxySpace", false, contains("galaxyspace-")),
2024-07-20 16:19:25 +02:00
HBM_NTM("Hbm's Nuclear Tech Mod", false, contains("hbm-ntm")),
2024-07-20 15:56:40 +02:00
HIGHLANDS("Highlands", false, contains("highlands")),
ICG("Immersive Cavegen", false, contains("immersivecavegen")),
IR3("Industrial Revolution by Redstone Rebooted", false, contains("industrialrevolutionbyredstonerebooted-")),
LOTR("LOTR Mod", false, contains("lotrmod")),
MATTEROVERDRIVE("Matter Overdrive", false, contains("matteroverdrive-")),
MATTERMEGADRIVE("Matter Megadrive", false, contains("mattermegadrive-")),
MFQM("More Fun Quicksand Mod", false, contains("morefunquicksandmod-")),
NATURESCOMPASS("Nature's Compass", false, contains("naturescompass")),
NETHERLICIOUS("Netherlicious", false, contains("netherlicious-")),
NOMADICTENTS("Nomadic Tents", false, contains("nomadictents")),
OWG("Nostalgic world generation", false, contains("owg-").or(contains("nostalgiagenerator-"))),
RANDOMTHINGS("Random Things", false, contains("randomthings-")),
RESTRUCTURED("Restructured", false, contains("restructured-")),
RTG("Realistic Terrain Generation", false, contains("rtg-")),
RWG("Realistic World Gen", false, contains("rwg-")),
THAUMCRAFT("Thaumcraft", false, contains("thaumcraft")),
THUTCORE("ThutCore", false, contains("thutcore-").or(contains("thutmods-"))),
2025-06-04 11:51:18 +02:00
TMOR("The Mists Of RioV", false, contains("the mists of riov-").or(contains("the-mists-of-riov-"))),
2024-07-20 15:56:40 +02:00
TROPICRAFT("Tropicraft", false, contains("tropicraft-")),
TWILIGHTFOREST("Twilight Forest", false, contains("twilightforest")),
UBC("Underground Biomes Constructs", false, contains("undergroundbiomesconstructs-").or(contains("undergroundbiomes-"))),
2024-07-20 15:56:40 +02:00
WITCHERY("Witchery", false, contains("witchery-")),
WORLDEDIT("WorldEdit", false, contains("worldedit-")),
2022-04-17 21:11:33 +02:00
;
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
}