geforkt von Mirrors/Paper
API for getting/setting a elder Guardian
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
Dieser Commit ist enthalten in:
Ursprung
32a92a6c94
Commit
55bf7af698
@ -1,4 +1,16 @@
|
|||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
public interface Guardian extends Monster {
|
public interface Guardian extends Monster {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the Guardian is an elder Guardian
|
||||||
|
* @return true if the Guardian is an Elder Guardian, false if not
|
||||||
|
*/
|
||||||
|
public boolean isElder();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the Guardian to an elder Guardian or not
|
||||||
|
* @param shouldBeElder True if this Guardian should be a elder Guardian, false if not
|
||||||
|
*/
|
||||||
|
public void setElder(boolean shouldBeElder);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren