Files
Paper/paper-api/src/main/java/org/bukkit/entity/IronGolem.java
Bukkit/Spigot bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00

23 lines
606 B
Java

package org.bukkit.entity;
/**
* An iron Golem that protects Villages.
*/
public interface IronGolem extends Golem {
/**
* Gets whether this iron golem was built by a player.
*
* @return Whether this iron golem was built by a player
*/
public boolean isPlayerCreated();
/**
* Sets whether this iron golem was built by a player or not.
*
* @param playerCreated true if you want to set the iron golem as being
* player created, false if you want it to be a natural village golem.
*/
public void setPlayerCreated(boolean playerCreated);
}