Add extensible enums for reika's mods (#53)

This commit is contained in:
Raven Szewczyk authored and GitHub committed 2023-03-28 16:57:50 +01:00
1 parent 7186edf692
commit 558ccc849a
2 files changed
+14 -5

No files matched your search

+4 -4
View File
@@ -1,4 +1,4 @@
//version: 1679518038
//version: 1679836390
/*
DO NOT CHANGE THIS FILE!
Also, you may replace this file at any time if there is an update available.
@@ -65,7 +65,7 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.8.0' apply false
id 'org.jetbrains.kotlin.kapt' version '1.8.0' apply false
id 'com.google.devtools.ksp' version '1.8.0-1.0.9' apply false
id 'org.ajoberstar.grgit' version '4.1.1' // 4.1.1 is the last jvm8 supporting version ,unused, available for addon.gradle
id 'org.ajoberstar.grgit' version '4.1.1' // 4.1.1 is the last jvm8 supporting version, unused, available for addon.gradle
id 'com.github.johnrengelman.shadow' version '7.1.2' apply false
id 'com.palantir.git-version' version '0.13.0' apply false // 0.13.0 is the last jvm8 supporting version
id 'de.undercouch.download' version '5.3.0'
@@ -711,13 +711,13 @@ ext.java17PatchDependenciesCfg = configurations.create("java17PatchDependencies"
}
dependencies {
def lwjgl3ifyVersion = '1.2.2'
def lwjgl3ifyVersion = '1.3.3'
def asmVersion = '9.4'
if (modId != 'lwjgl3ify') {
java17Dependencies("com.github.GTNewHorizons:lwjgl3ify:${lwjgl3ifyVersion}")
}
if (modId != 'hodgepodge') {
java17Dependencies('com.github.GTNewHorizons:Hodgepodge:2.1.0')
java17Dependencies('com.github.GTNewHorizons:Hodgepodge:2.2.4')
}
java17PatchDependencies('net.minecraft:launchwrapper:1.15') {transitive = false}
@@ -37,7 +37,16 @@ public class Config {
"buildcraft.api.transport.IPipeTile.PipeType", "thaumcraft.common.entities.golems.EnumGolemType",
// Non-GTNH Mods Compat
"net.minecraft.event.HoverEvent$Action", // Needed for lotr compat
};
// Reika's mods
"net.minecraft.client.audio.SoundCategory",
"Reika.RotaryCraft.TileEntities.Processing.TileEntityFuelConverter$Conversions",
"Reika.DragonAPI.ModInteract.Bees.BeeAlleleRegistry$Fertility",
"Reika.DragonAPI.ModInteract.Bees.BeeAlleleRegistry$Speeds",
"Reika.DragonAPI.ModInteract.Bees.BeeAlleleRegistry$Flowering",
"Reika.DragonAPI.ModInteract.Bees.BeeAlleleRegistry$Territory",
"Reika.DragonAPI.ModInteract.Bees.BeeAlleleRegistry$Life",
"Reika.DragonAPI.ModInteract.Bees.ButterflyAlleleRegistry$Fertility",
"Reika.DragonAPI.ModInteract.Bees.ButterflyAlleleRegistry$Life", };
private static final Set<String> EXTENSIBLE_ENUMS = new HashSet<>(Arrays.asList(DEFAULT_EXTENSIBLE_ENUMS));
private static boolean configLoaded = false;