Files
Paper/paper-api/src/main/java/org/bukkit/entity/Zoglin.java
2024-11-25 07:52:33 +11:00

26 lines
599 B
Java

package org.bukkit.entity;
/**
* Represents a Zoglin.
*/
public interface Zoglin extends Monster, Ageable {
/**
* Gets whether the zoglin is a baby
*
* @return Whether the zoglin is a baby
* @deprecated see {@link Ageable#isAdult()}
*/
@Deprecated(since = "1.6.2")
public boolean isBaby();
/**
* Sets whether the zoglin is a baby
*
* @param flag Whether the zoglin is a baby
* @deprecated see {@link Ageable#setBaby()} and {@link Ageable#setAdult()}
*/
@Deprecated(since = "1.16.2")
public void setBaby(boolean flag);
}