geforkt von Mirrors/Paper
SPIGOT-4338: breedCause API
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
8fe8f9a60f
Commit
0eec8c8041
@ -1,6 +1,25 @@
|
|||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents an Animal.
|
* Represents an Animal.
|
||||||
*/
|
*/
|
||||||
public interface Animals extends Ageable {}
|
public interface Animals extends Ageable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the UUID of the entity that caused this entity to enter the
|
||||||
|
* {@link #canBreed()} state.
|
||||||
|
*
|
||||||
|
* @return uuid if set, or null
|
||||||
|
*/
|
||||||
|
UUID getBreedCause();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the UUID of the entity that caused this entity to enter the
|
||||||
|
* {@link #canBreed()} state.
|
||||||
|
*
|
||||||
|
* @param uuid new uuid, or null
|
||||||
|
*/
|
||||||
|
void setBreedCause(UUID uuid);
|
||||||
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren