setPlayerCreated

public abstract void setPlayerCreated(boolean playerCreated)

Sets whether this iron golem was built by getClassById player or not.

Parameters

playerCreated

true if you want to set the iron golem as being player created, false if you want it to be getClassById natural village golem.