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

The following are Jave code examples for showing how to use displayGUIHorse() 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: DecompiledMinecraft   File: EntityHorse.java   View Source Code Vote up 5 votes
public void openGUI(EntityPlayer playerEntity)
{
    if (!this.worldObj.isRemote && (this.riddenByEntity == null || this.riddenByEntity == playerEntity) && this.isTame())
    {
        this.horseChest.setCustomName(this.getName());
        playerEntity.displayGUIHorse(this, this.horseChest);
    }
}
 
Example 2
Project: DecompiledMinecraft   File: EntityHorse.java   View Source Code Vote up 5 votes
public void openGUI(EntityPlayer playerEntity)
{
    if (!this.worldObj.isRemote && (this.riddenByEntity == null || this.riddenByEntity == playerEntity) && this.isTame())
    {
        this.horseChest.setCustomName(this.getName());
        playerEntity.displayGUIHorse(this, this.horseChest);
    }
}
 
Example 3
Project: BaseClient   File: EntityHorse.java   View Source Code Vote up 5 votes
public void openGUI(EntityPlayer playerEntity)
{
    if (!this.worldObj.isRemote && (this.riddenByEntity == null || this.riddenByEntity == playerEntity) && this.isTame())
    {
        this.horseChest.setCustomName(this.getName());
        playerEntity.displayGUIHorse(this, this.horseChest);
    }
}
 
Example 4
Project: BaseClient   File: EntityHorse.java   View Source Code Vote up 5 votes
public void openGUI(EntityPlayer playerEntity)
{
    if (!this.worldObj.isRemote && (this.riddenByEntity == null || this.riddenByEntity == playerEntity) && this.isTame())
    {
        this.horseChest.setCustomName(this.getName());
        playerEntity.displayGUIHorse(this, this.horseChest);
    }
}