Files
Paper/paper-api/src/main/java/org/bukkit/entity/Pig.java
2011-12-25 16:02:30 +01:00

22 lines
414 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);
}