95cf31d8b8
By: md_5 <git@md-5.net>
22 lines
394 B
Java
22 lines
394 B
Java
package org.bukkit.entity;
|
|
|
|
/**
|
|
* Represents a Piglin.
|
|
*/
|
|
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);
|
|
}
|