Added ability to saddle a pig to the API. Thanks xPaw!

This commit is contained in:
Andrew Ardill
2011-05-11 17:44:31 -07:00
parent 2406a4496d
commit ccedca6cb6

View File

@@ -1,6 +1,3 @@
/**
*
*/
package org.bukkit.entity;
/**
@@ -10,5 +7,15 @@ package org.bukkit.entity;
*
*/
public interface Pig extends Animals {
/**
* @author xPaw
* @return if the pig has been saddled.
*/
public boolean hasSaddle();
/**
* @author xPaw
* @param saddled set if the pig has a saddle or not.
*/
public void setSaddle(boolean saddled);
}