java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.ItemLore

public class ItemLore extends Object
  • Field Details

    • EMPTY

      public static final ItemLore EMPTY
  • Constructor Details

    • ItemLore

      public ItemLore(List<net.kyori.adventure.text.Component> lines)
  • Method Details

    • read

      public static ItemLore read(PacketWrapper<?> wrapper)
    • write

      public static void write(PacketWrapper<?> wrapper, ItemLore lore)
    • addLine

      public void addLine(net.kyori.adventure.text.Component line)
    • getLines

      public List<net.kyori.adventure.text.Component> getLines()
    • setLines

      public void setLines(List<net.kyori.adventure.text.Component> lines)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object