Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Pig.java
1 package org.bukkit.entity;
2 
3 /**
4  * Represents a Pig.
5  */
6 public interface Pig extends Animals, Vehicle {
7 
8  /**
9  * Check if the pig has a saddle.
10  *
11  * @return if the pig has been saddled.
12  */
13  public boolean hasSaddle();
14 
15  /**
16  * Sets if the pig has a saddle or not
17  *
18  * @param saddled set if the pig has a saddle or not.
19  */
20  public void setSaddle(boolean saddled);
21 }
void setSaddle(boolean saddled)