Java Code Examples for net.minecraft.entity.player.EntityPlayer#getUUID()

The following examples show how to use net.minecraft.entity.player.EntityPlayer#getUUID() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may want to check out the right sidebar which shows the related API usage.
Example 1
Source Project: TFC2   File: TilePitKiln.java    License: GNU General Public License v3.0 4 votes vote down vote up
/***********************************************************************************
 * 2. Getters and Setters
 ***********************************************************************************/

public void setSmithID(EntityPlayer player)
{
	potterID = EntityPlayer.getUUID(player.getGameProfile());
}
 
Example 2
Source Project: TFC2   File: TileCrop.java    License: GNU General Public License v3.0 4 votes vote down vote up
public void setFarmerID(EntityPlayer player)
{
	farmerID = EntityPlayer.getUUID(player.getGameProfile());
}
 
Example 3
Source Project: TFC2   File: TileAnvil.java    License: GNU General Public License v3.0 4 votes vote down vote up
/***********************************************************************************
 * 2. Getters and Setters
 ***********************************************************************************/

public void setSmithID(EntityPlayer player)
{
	smithID = EntityPlayer.getUUID(player.getGameProfile());
}