Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package org.bukkit.entity;
2
3/**
4 * Represents a Pig.
5 */
6public 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}