<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="type-signature"><spanclass="modifiers">public final class </span><spanclass="element-name type-name-label">PaperComponents</span>
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></span></div>
<divclass="block">Paper API-specific methods for working with <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>Component</code></a>s and related.</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link">GsonComponentSerializer</a></code></div>
<divclass="deprecation-comment">use <ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html#colorDownsamplingGson()"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link"><code>GsonComponentSerializer.colorDownsamplingGson()</code></a></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/flattener/ComponentFlattener.html"title="class or interface in net.kyori.adventure.text.flattener"class="external-link">ComponentFlattener</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link">GsonComponentSerializer</a></code></div>
<divclass="deprecation-comment">use <ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html#gson()"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link"><code>GsonComponentSerializer.gson()</code></a></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-legacy/4.12.0/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.legacy"class="external-link">LegacyComponentSerializer</a></code></div>
<divclass="deprecation-comment">use <ahref="https://jd.adventure.kyori.net/text-serializer-legacy/4.12.0/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializer.html#legacySection()"title="class or interface in net.kyori.adventure.text.serializer.legacy"class="external-link"><code>LegacyComponentSerializer.legacySection()</code></a></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link">PlainComponentSerializer</a></code></div>
<divclass="deprecation-comment">will be removed in adventure 5.0.0, use <ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainTextComponentSerializer.html#plainText()"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link"><code>PlainTextComponentSerializer.plainText()</code></a></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainTextComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link">PlainTextComponentSerializer</a></code></div>
<divclass="deprecation-comment">use <ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainTextComponentSerializer.html#plainText()"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link"><code>PlainTextComponentSerializer.plainText()</code></a></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><ahref="#resolveWithContext(net.kyori.adventure.text.Component,org.bukkit.command.CommandSender,org.bukkit.entity.Entity)"class="member-name-link">resolveWithContext</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> input,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a> context,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> scoreboardSubject)</code></div>
<divclass="block">Resolves a component with a specific command sender and subject.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><ahref="#resolveWithContext(net.kyori.adventure.text.Component,org.bukkit.command.CommandSender,org.bukkit.entity.Entity,boolean)"class="member-name-link">resolveWithContext</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> input,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a> context,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> scoreboardSubject,
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></span> <spanclass="element-name">resolveWithContext</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> input,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a> context,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> scoreboardSubject)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<divclass="block">Resolves a component with a specific command sender and subject.
<p>
Note that in Vanilla, elevated permissions are usually required to use
'@' selectors in various component types, but this method should not
check such permissions from the sender.
<p>
A <ahref="../../../../org/bukkit/command/CommandSender.html"title="interface in org.bukkit.command"><code>CommandSender</code></a> argument is required to resolve:
<ul>
<li><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/NBTComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>NBTComponent</code></a></li>
<li><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/ScoreComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>ScoreComponent</code></a></li>
<li><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/SelectorComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>SelectorComponent</code></a></li>
</ul>
A <ahref="../../../../org/bukkit/entity/Entity.html"title="interface in org.bukkit.entity"><code>Entity</code></a> argument is optional to help resolve:
<ul>
<li><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/ScoreComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>ScoreComponent</code></a></li>
</ul>
<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>s don't require any extra arguments.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>input</code> - the component to resolve</dd>
<dd><code>context</code> - the command sender to resolve with</dd>
<dd><code>scoreboardSubject</code> - the scoreboard subject to use (for use with <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/ScoreComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>ScoreComponent</code></a>s)</dd>
<dt>Returns:</dt>
<dd>the resolved component</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code> - if a syntax error tripped during resolving</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></span> <spanclass="element-name">resolveWithContext</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> input,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a> context,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/entity/Entity.html"title="interface in org.bukkit.entity">Entity</a> scoreboardSubject,
boolean bypassPermissions)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<divclass="block">Resolves a component with a specific command sender and subject.
<p>
Note that in Vanilla, elevated permissions are required to use
'@' selectors in various component types. If the boolean <code>bypassPermissions</code>
argument is <code>false</code>, the <ahref="../../../../org/bukkit/command/CommandSender.html"title="interface in org.bukkit.command"><code>CommandSender</code></a> argument will be used to query
those permissions.
<p>
A <ahref="../../../../org/bukkit/command/CommandSender.html"title="interface in org.bukkit.command"><code>CommandSender</code></a> argument is required to resolve:
<ul>
<li><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/NBTComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>NBTComponent</code></a></li>
<li><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/ScoreComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>ScoreComponent</code></a></li>
<li><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/SelectorComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>SelectorComponent</code></a></li>
</ul>
A <ahref="../../../../org/bukkit/entity/Entity.html"title="interface in org.bukkit.entity"><code>Entity</code></a> argument is optional to help resolve:
<ul>
<li><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/ScoreComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>ScoreComponent</code></a></li>
</ul>
<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/TranslatableComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>TranslatableComponent</code></a>s don't require any extra arguments.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>input</code> - the component to resolve</dd>
<dd><code>context</code> - the command sender to resolve with</dd>
<dd><code>scoreboardSubject</code> - the scoreboard subject to use (for use with <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/ScoreComponent.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>ScoreComponent</code></a>s)</dd>
<dd><code>bypassPermissions</code> - true to bypass permissions checks for resolving components</dd>
<dt>Returns:</dt>
<dd>the resolved component</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code> - if a syntax error tripped during resolving</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/flattener/ComponentFlattener.html"title="class or interface in net.kyori.adventure.text.flattener"class="external-link">ComponentFlattener</a></span> <spanclass="element-name">flattener</span>()</div>
<divclass="block">Return a component flattener that can use game data to resolve extra information about components.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>a component flattener</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="plainSerializer()">
<h3>plainSerializer</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link">PlainComponentSerializer</a></span> <spanclass="element-name">plainSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span>
<divclass="deprecation-comment">will be removed in adventure 5.0.0, use <ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainTextComponentSerializer.html#plainText()"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link"><code>PlainTextComponentSerializer.plainText()</code></a></div>
<divclass="block">Get a serializer for <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>Component</code></a>s that will convert components to
<p>Implementations may provide a serializer capable of processing any
information that requires access to implementation details.</p></div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>a serializer to plain text</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="plainTextSerializer()">
<h3>plainTextSerializer</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainTextComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link">PlainTextComponentSerializer</a></span> <spanclass="element-name">plainTextSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span>
<divclass="deprecation-comment">use <ahref="https://jd.adventure.kyori.net/text-serializer-plain/4.12.0/net/kyori/adventure/text/serializer/plain/PlainTextComponentSerializer.html#plainText()"title="class or interface in net.kyori.adventure.text.serializer.plain"class="external-link"><code>PlainTextComponentSerializer.plainText()</code></a></div>
<divclass="block">Get a serializer for <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>Component</code></a>s that will convert components to
<p>Implementations may provide a serializer capable of processing any
information that requires access to implementation details.</p></div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>a serializer to plain text</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="gsonSerializer()">
<h3>gsonSerializer</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link">GsonComponentSerializer</a></span> <spanclass="element-name">gsonSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span>
<divclass="deprecation-comment">use <ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html#gson()"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link"><code>GsonComponentSerializer.gson()</code></a></div>
<divclass="block">Get a serializer for <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>Component</code></a>s that will convert to and from the
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link">GsonComponentSerializer</a></span> <spanclass="element-name">colorDownsamplingGsonSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span>
<divclass="deprecation-comment">use <ahref="https://jd.adventure.kyori.net/text-serializer-gson/4.12.0/net/kyori/adventure/text/serializer/gson/GsonComponentSerializer.html#colorDownsamplingGson()"title="class or interface in net.kyori.adventure.text.serializer.gson"class="external-link"><code>GsonComponentSerializer.colorDownsamplingGson()</code></a></div>
<divclass="block">Get a serializer for <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>Component</code></a>s that will convert to and from the
to their nearest <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/format/NamedTextColor.html"title="class or interface in net.kyori.adventure.text.format"class="external-link"><code>NamedTextColor</code></a> counterpart.
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/text-serializer-legacy/4.12.0/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializer.html"title="class or interface in net.kyori.adventure.text.serializer.legacy"class="external-link">LegacyComponentSerializer</a></span> <spanclass="element-name">legacySectionSerializer</span>()</div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span>
<divclass="deprecation-comment">use <ahref="https://jd.adventure.kyori.net/text-serializer-legacy/4.12.0/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializer.html#legacySection()"title="class or interface in net.kyori.adventure.text.serializer.legacy"class="external-link"><code>LegacyComponentSerializer.legacySection()</code></a></div>
<divclass="block">Get a serializer for <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link"><code>Component</code></a>s that will convert to and from the
<ahref="https://jd.adventure.kyori.net/text-serializer-legacy/4.12.0/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializer.Builder.html#useUnusualXRepeatedCharacterHexFormat()"title="class or interface in net.kyori.adventure.text.serializer.legacy"class="external-link"><code>LegacyComponentSerializer.Builder.useUnusualXRepeatedCharacterHexFormat()</code></a>