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

The following examples show how to use net.minecraft.entity.player.EntityPlayer#getUUID() . 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 check out the related API usage on the sidebar.
Example 1
Source File: TilePitKiln.java    From TFC2 with 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 File: TileCrop.java    From TFC2 with 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 File: TileAnvil.java    From TFC2 with 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());
}