2011-06-15 15:05:12 -04:00

22 lines
415 B
Java

package org.bukkit.entity;
/**
* Represents a Pig.
*/
public interface Pig extends Animals, Vehicle {
/**
* Check if the pig has a saddle.
*
* @return if the pig has been saddled.
*/
public boolean hasSaddle();
/**
* Sets if the pig has a saddle or not
*
* @param saddled set if the pig has a saddle or not.
*/
public void setSaddle(boolean saddled);
}