geforkt von Mirrors/Paper
Added ability to saddle a pig to the API. Thanks xPaw!
By: Andrew Ardill <andrew.ardill@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
e40b7ab7c1
Commit
3ce3db7f3a
@ -1,6 +1,3 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -10,5 +7,15 @@ package org.bukkit.entity;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface Pig extends Animals {
|
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);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren