Getting the text of Playerlist Tab
-
@co丶dynamic
Nothing writes to chat. Only possible by checking tab-list -
@plumer-man I asked about the only upper line, now you asking about "why I can't just check the line below" and you even don't distribe how to do it, especially I just taked the screenshot of BlocksMC for an example
Just don't ask "
Can't u..
", if you don't tell somebody how to do that :cI still can't get this line.
-
@plumer-man the
-
@britishbiscuit ?
-
@plumer-man its private you can't access it
-
@britishbiscuit https://scriptapi.liquidbounce.net/net/minecraft/network/Packet.html anything else that could be used
-
@britishbiscuit You should be able to access it through reflection.
-
if (e.getPacket() instanceof S47PacketPlayerListHeaderFooter) { footer = e.getPacket().getFooter() header = e.getPacket().getHeader() }
@britishbiscuit said in Getting the text of Playerlist Tab:
@plumer-man its private you can't access it
getters
-
if (event.getPacket() instanceof S47PacketPlayerListHeaderFooter) { footer = event.getPacket().getFooter().getUnformattedText() header = event.getPacket().getHeader().getUnformattedText() // getFormattedText() if you want to include formatting codes, not recommended }
getters > reflection