Skip to content

Commit

Permalink
Add extensible enums for reika's mods (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenraven authored Mar 28, 2023
1 parent 7186edf commit 558ccc8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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}
Expand Down
11 changes: 10 additions & 1 deletion src/main/java/me/eigenraven/lwjgl3ify/core/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 558ccc8

Please sign in to comment.