Skip to content

color previews dontt work for method calls like .color(r,g,b,a) in builders #195

@axtrough

Description

@axtrough

Is your feature request related to a problem? Please describe.
the plugin does not show color previews for method calls that pass RGB or ARGB values, like as:

.textElement = addElement(
    TextElement.builder("mod_element")
        .text(Component.literal("Hello"))
        .color(56, 123, 242, 1) // <-- no preview
        .build()
);

Describe the solution you'd like
To show the previews as normal

not sure how this would be done, but id like to see it happen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions