Class DefaultComponentSerializer

java.lang.Object
org.geysermc.mcprotocollib.protocol.data.DefaultComponentSerializer

public final class DefaultComponentSerializer extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.kyori.adventure.text.serializer.gson.GsonComponentSerializer
    get()
     
    static org.geysermc.adventure.text.serializer.nbt.NbtComponentSerializer
    nbt()
     
    static void
    set(net.kyori.adventure.text.serializer.gson.GsonComponentSerializer serializer)
     
    static void
    setNbt(org.geysermc.adventure.text.serializer.nbt.NbtComponentSerializer nbt)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • get

      public static net.kyori.adventure.text.serializer.gson.GsonComponentSerializer get()
    • set

      public static void set(net.kyori.adventure.text.serializer.gson.GsonComponentSerializer serializer)
    • nbt

      public static org.geysermc.adventure.text.serializer.nbt.NbtComponentSerializer nbt()
    • setNbt

      public static void setNbt(org.geysermc.adventure.text.serializer.nbt.NbtComponentSerializer nbt)