void (@NotNull ExtendableTextComponent editor, @NotNull ExtendableTextComponent.Extension extension, boolean set) { if (set) { editor.addExtension(extension); } else { editor.removeExtension(extension); } }