I was wandering how to get the player's username as String using the
class. I have so far done
String name = player.getName().toString();
but I just go a bunch of what I think was JSON.
Thanks in advance,
So I have an class extending Item and would like to add a tooltip when SHIFT is pressed while mousing over the item.
I have the addInformation method but I don't know how to check if a key is pressed down.
Thanks in advance