Package me.neznamy.tab.api.protocol
Class PacketPlayOutPlayerListHeaderFooter
java.lang.Object
me.neznamy.tab.api.protocol.PacketPlayOutPlayerListHeaderFooter
- All Implemented Interfaces:
TabPacket
A class representing platform specific packet class
-
Constructor Summary
ConstructorsConstructorDescriptionPacketPlayOutPlayerListHeaderFooter(String header, String footer) Constructs new instance with given parameters.PacketPlayOutPlayerListHeaderFooter(IChatBaseComponent header, IChatBaseComponent footer) Constructs new instance with given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturnsfooterReturnsheadertoString()Returns user-friendly string representation of the packet
-
Constructor Details
-
PacketPlayOutPlayerListHeaderFooter
Constructs new instance with given parameters. They are converted toIChatBaseComponentusingIChatBaseComponent.optimizedComponent(String)method.- Parameters:
header- TabList headerfooter- TabList footer
-
PacketPlayOutPlayerListHeaderFooter
Constructs new instance with given parameters.- Parameters:
header- TabList headerfooter- TabList footer
-
-
Method Details