Class NonWrappingComponentSerializer
java.lang.Object
net.kyori.adventure.platform.fabric.impl.NonWrappingComponentSerializer
- All Implemented Interfaces:
net.kyori.adventure.text.serializer.ComponentSerializer<net.kyori.adventure.text.Component,net.kyori.adventure.text.Component, net.minecraft.network.chat.Component>
public final class NonWrappingComponentSerializer
extends Object
implements net.kyori.adventure.text.serializer.ComponentSerializer<net.kyori.adventure.text.Component,net.kyori.adventure.text.Component,net.minecraft.network.chat.Component>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleannet.kyori.adventure.text.Componentdeserialize(net.minecraft.network.chat.Component input) net.minecraft.network.chat.MutableComponentserialize(net.kyori.adventure.text.Component component) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.kyori.adventure.text.serializer.ComponentSerializer
deseializeOrNull, deserializeOr, deserializeOrNull, serializeOr, serializeOrNull
-
Field Details
-
INSTANCE
-
-
Method Details
-
bypassIsAllowedFromServer
public boolean bypassIsAllowedFromServer() -
deserialize
public net.kyori.adventure.text.Component deserialize(net.minecraft.network.chat.Component input) - Specified by:
deserializein interfacenet.kyori.adventure.text.serializer.ComponentSerializer<net.kyori.adventure.text.Component,net.kyori.adventure.text.Component, net.minecraft.network.chat.Component>
-
serialize
public net.minecraft.network.chat.MutableComponent serialize(net.kyori.adventure.text.Component component) - Specified by:
serializein interfacenet.kyori.adventure.text.serializer.ComponentSerializer<net.kyori.adventure.text.Component,net.kyori.adventure.text.Component, net.minecraft.network.chat.Component>
-