geforkt von Mirrors/Paper
SPIGOT-5803: Add Piglin/Zoglin Baby API
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
e61abecd39
Commit
95cf31d8b8
@ -3,4 +3,19 @@ package org.bukkit.entity;
|
||||
/**
|
||||
* Represents a Piglin.
|
||||
*/
|
||||
public interface Piglin extends Monster { }
|
||||
public interface Piglin extends Monster {
|
||||
|
||||
/**
|
||||
* Gets whether the piglin is a baby
|
||||
*
|
||||
* @return Whether the piglin is a baby
|
||||
*/
|
||||
public boolean isBaby();
|
||||
|
||||
/**
|
||||
* Sets whether the piglin is a baby
|
||||
*
|
||||
* @param flag Whether the piglin is a baby
|
||||
*/
|
||||
public void setBaby(boolean flag);
|
||||
}
|
||||
|
@ -3,4 +3,19 @@ package org.bukkit.entity;
|
||||
/**
|
||||
* Represents a Zoglin.
|
||||
*/
|
||||
public interface Zoglin extends Monster { }
|
||||
public interface Zoglin extends Monster {
|
||||
|
||||
/**
|
||||
* Gets whether the zoglin is a baby
|
||||
*
|
||||
* @return Whether the zoglin is a baby
|
||||
*/
|
||||
public boolean isBaby();
|
||||
|
||||
/**
|
||||
* Sets whether the zoglin is a baby
|
||||
*
|
||||
* @param flag Whether the zoglin is a baby
|
||||
*/
|
||||
public void setBaby(boolean flag);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren