-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ SUGGESTION ] Implement Interface class to ENUM class #407
Comments
👀 |
I made the changes you mentioned in a draft but I don't know if it is sufficient as the models are not created at runtime but listed in assets. I believe that the modals can and should be registered runtime to improve compact. |
Alright, that shouldn't be an issue. I'll need that to be applied to 1.20.1, too. You don't have to worry about the blockstates and models. Every Compat can copy them and modify them to use the woodType from other wood mods (Biomes O' Plenty so on...) it's the same for texturing & recipes. If you are curious, take a look at EC Backlog - You can leave some info or whatever |
alr. All features from 1.18.2 get merged into 1.19+ eventually. I'll merge the pull once it's done. It would help if you could take a look to confirm it is working as I'm not very familiar with how compact is handled. In my mod Horizontal Doors, I have a list of door types under the common main class |
Great. I'm planning to do some work on 1.18.2. Will let u know if i ran in any problems. looking at Horiztonal Doors & my reaction: 'whoa!'. that will be useful for people who have mod Weathers, Tornado, Storm mod. ^_^ |
Hello again. Is there any progress on this? |
Mod Name
Every Compat
This issue occurs when only Valkyrien Skies, addons, and the mod I have specified are installed and no other mods
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 theWoodType.kt
. Here's an good example from a mod, Function StorageI 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
The text was updated successfully, but these errors were encountered: