org.bukkit.entity.IronGolem Maven / Gradle / Ivy
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
*/
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.
*/
void setPlayerCreated(boolean playerCreated);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy