quilt-mappings icon indicating copy to clipboard operation
quilt-mappings copied to clipboard

`TranslatableComponent#visitors` is misnamed

Open Antikyth opened this issue 9 months ago • 0 comments

This is not a list of visitors, but rather a List<StringVisitable> representing the different "parts" of the text component.

Say the component's text after translation is Hello, %s! and it is given an argument world with which to format. This "visitors" list would be:

  • Hello,
  • world`
  • !

Visitable != visitor.

Antikyth avatar Sep 11 '23 01:09 Antikyth