Package net.notcoded.codelib.minecraft
Class MinecraftAPI
java.lang.Object
net.notcoded.codelib.minecraft.MinecraftAPI
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MinecraftAPI
public MinecraftAPI()
-
-
Method Details
-
getUUID
Returns the UUID of a name.- Parameters:
name- The name of the player, e.g. NotCoded- Returns:
- The uuid of the player, e.g. fcbf27a9-535e-466f-ae75-7c7959fba7f0
-
getName
Returns the name of an UUID.- Parameters:
uuid- The uuid of a player, e.g. fcbf27a9-535e-466f-ae75-7c7959fba7f0- Returns:
- The name of a player, e.g. NotCoded
-