Skip to content
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

Way to implement DropdownMenu lists? #184

Open
zischknall opened this issue Dec 17, 2022 · 1 comment
Open

Way to implement DropdownMenu lists? #184

zischknall opened this issue Dec 17, 2022 · 1 comment

Comments

@zischknall
Copy link

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
Copy link

Skilles commented Dec 17, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants