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

The following are Jave code examples for showing how to use registerExtendedProperties() of the net.minecraft.entity.player.EntityPlayer class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: PAYDAY   File: PlayerData.java   View Source Code Vote up 4 votes
public static void register(EntityPlayer player) {
	player.registerExtendedProperties(PAYDAY.MODID + "-EntityExtendedProperties", new PlayerData(player));
}
 
Example 2
Project: Ye-Olde-Chat   File: PlayerRoleplayMode.java   View Source Code Vote up 4 votes
public static final void register(EntityPlayer player)
{
    player.registerExtendedProperties(PlayerRoleplayMode.EXT_PROP_NAME, new PlayerRoleplayMode(player));
}