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

The following are Jave code examples for showing how to use getDisplayNameString() 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: DankNull   File:   View Source Code Vote up 5 votes
public EntityPFakePlayer(EntityPlayer parent) {
	super((WorldServer), new GameProfile(UUID.randomUUID(), "[/dank/null clone|" + parent.getDisplayNameString() + "]"));
	this.parent = parent;
	connection = new NetServerHandlerFake(FMLCommonHandler.instance().getMinecraftServerInstance(), this);
	addedToChunk = false;
	startRiding(parent, true);