isXander / isXander/YetAnotherConfigLib

List categories

Open
#237 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
155
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Sometimes you want to allow the user to choose something multiple times. This is why there are option lists, but sometimes you need the user to select multiple things this is what a list category is for. Those would look something like this
Image
I implemented this already in my mod camera tweaks for adding custom third persons but the code is extremely cursed and incompatible so an official API would be great.

If you would like to implement this here is my mixin spagetti for reference:
https://github.com/ItsFelix5/CameraTweaks/blob/master/src/main/java/cameratweaks/Config.java
https://github.com/ItsFelix5/CameraTweaks/blob/master/src/main/java/cameratweaks/ThirdPerson.java
https://github.com/ItsFelix5/CameraTweaks/blob/master/src/main/java/cameratweaks/mixin/YACLScreenMixin.java
https://github.com/ItsFelix5/CameraTweaks/blob/master/src/main/java/cameratweaks/mixin/OptionListWidgetMixin.java

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked CameraTweaks files, especially Config.java, ThirdPerson.java, YACLScreenMixin.java, and OptionListWidgetMixin.java, then compare their behavior with the library's existing option-list API. Define the official list-category API and verify that it supports selecting multiple entries without the referenced mixin work.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.