Cloth Config API (Fabric/Forge/NeoForge)

Cloth Config API (Fabric/Forge/NeoForge)

169M Downloads

Way to implement DropdownMenu lists?

zischknall opened this issue ยท 1 comments

commented

Hello there,

I am currently trying to implement a DropdownMenu where you can select individual Blocks which then get added to a List of Blocks in v9 of cloth-config.

Is there an easier way to do it than extending classes marked internal, I could not find anything. Seems a bit difficult as almost none of the internal classes and functions are documented, or I wasn't able to find it.

If it's not possible now maybe a suggestion for the future.

commented

There is no built-in support for this. I had to do this manually for my mod SpokenWord. It is not perfect, and I have to fix a few kinks, but it should be a good starting point.