shedaniel / cloth-config

Client-Sided API for Minecraft 1.14
Other
194 stars 71 forks source link

Way to implement DropdownMenu lists? #184

Open zischknall opened 1 year ago

zischknall commented 1 year ago

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.

Skilles commented 1 year ago

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.