Examples of func_152119_ch()


Examples of net.minecraft.entity.passive.EntityHorse.func_152119_ch()

    setValue("health1k", (int) (ride.getHealth() * 1000));
    setValue("leashed_to_player", ride.getLeashed() && ride.getLeashedToEntity() instanceof EntityPlayer);
    setValue(
      "ridden_by_owner",
      ride.riddenByEntity instanceof EntityPlayer
        && !ride.func_152119_ch().equals("")
        && ride.func_152119_ch().equals(((EntityPlayer) ride.riddenByEntity).getGameProfile().getId()));
    setValue(
      "leashed_to_owner",
      ride.getLeashedToEntity() instanceof EntityPlayer
        && !ride.func_152119_ch().equals("")
View Full Code Here

Examples of net.minecraft.entity.passive.EntityHorse.func_152119_ch()

    setValue("leashed_to_player", ride.getLeashed() && ride.getLeashedToEntity() instanceof EntityPlayer);
    setValue(
      "ridden_by_owner",
      ride.riddenByEntity instanceof EntityPlayer
        && !ride.func_152119_ch().equals("")
        && ride.func_152119_ch().equals(((EntityPlayer) ride.riddenByEntity).getGameProfile().getId()));
    setValue(
      "leashed_to_owner",
      ride.getLeashedToEntity() instanceof EntityPlayer
        && !ride.func_152119_ch().equals("")
        && ride.func_152119_ch().equals(((EntityPlayer) ride.getLeashedToEntity()).getGameProfile().getId()));
View Full Code Here

Examples of net.minecraft.entity.passive.EntityHorse.func_152119_ch()

        && !ride.func_152119_ch().equals("")
        && ride.func_152119_ch().equals(((EntityPlayer) ride.riddenByEntity).getGameProfile().getId()));
    setValue(
      "leashed_to_owner",
      ride.getLeashedToEntity() instanceof EntityPlayer
        && !ride.func_152119_ch().equals("")
        && ride.func_152119_ch().equals(((EntityPlayer) ride.getLeashedToEntity()).getGameProfile().getId()));
   
    if (ride.getLeashed() && ride.getLeashedToEntity() != null)
    {
      Entity e = ride.getLeashedToEntity();
View Full Code Here

Examples of net.minecraft.entity.passive.EntityHorse.func_152119_ch()

        && ride.func_152119_ch().equals(((EntityPlayer) ride.riddenByEntity).getGameProfile().getId()));
    setValue(
      "leashed_to_owner",
      ride.getLeashedToEntity() instanceof EntityPlayer
        && !ride.func_152119_ch().equals("")
        && ride.func_152119_ch().equals(((EntityPlayer) ride.getLeashedToEntity()).getGameProfile().getId()));
   
    if (ride.getLeashed() && ride.getLeashedToEntity() != null)
    {
      Entity e = ride.getLeashedToEntity();
      setValue("leash_distance", (int) (e.getDistanceToEntity(ride) * 1000));
 
View Full Code Here

Examples of net.minecraft.entity.passive.EntityHorse.func_152119_ch()

      setValue("leash_distance", 0);
    }
   
    // Server only?
    setValue("temper", ride.getTemper());
    setValue("owner_uuid", ride.func_152119_ch());
    setValue("reproduced", ride.getHasReproduced());
    setValue("bred", ride.func_110205_ce());
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.