Description


When you have Open Computers installed this block will act as a component that provides the following methods:
  • getPlayerName() : Returns the name of the player that's currently connected to this player interface.
  • getPlayerUUID() : Returns the uuid of the player that's currently connected to this player interface.
  • setPlayerName(USERNAME) : Sets the name of the player that's connected to the player interface.
  • setPlayerUUID(UUID) : Sets the uuid of the player that's currently connected to the player interface.
  • isCurrentlyConnected(): Returns a boolean that's based on whether the player interface is currently connected to the player's inventory. (False if the player is for example offline)