Eureka icon indicating copy to clipboard operation
Eureka copied to clipboard

[ SUGGESTION ] Implement Interface class to ENUM class

Open Xelbayria opened this issue 4 months ago • 0 comments

Mod Name

Every Compat

This issue occurs when only Valkyrien Skies, addons, and the mod I have specified are installed and no other mods

  • [X] I have tested this issue and it occurs with only Valkyrien Skies, addons, and the mod I have specified

Minecraft Version

1.18

Mod Loader

Forge

Eureka version

latest version via Github

Issue description

I'm a DEV adding a mod to Every Compat. so it can generate variant helm with Wood Mods (Biomes O' Plenty & Others)

The issue is that I cannot add the support because of WoodType.kt is an ENUM class.

I noticed a comment was left "// TODO mod compat". Every Compat will take care of it for any Wood Mods. No need to worry about this.

This is applied to 1.20.1, too.

SOLUTION:

You can use Interface class to implement IWoodType.kt to the WoodType.kt. Here's an good example from a mod, Function Storage

I had no problem supporting the mod via Every Compat. I hope it's not much of work for you to implement.

Issue reproduction

n/a

Logs

No response

Xelbayria avatar Sep 27 '24 22:09 Xelbayria