/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-Server/src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java
package org.bukkit.craftbukkit.entity;

import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.IronGolem;

import net.minecraft.server.EntityIronGolem;

public class CraftIronGolem extends CraftGolem implements IronGolem {
	public CraftIronGolem(CraftServer server, EntityIronGolem entity) {
		super(server, entity);
	}

	@Override
	public EntityIronGolem getHandle() {
		return (EntityIronGolem) entity;
	}

	@Override
	public String toString() {
		return "CraftIronGolem";
	}

	@Override
	public boolean isPlayerCreated() {
		return getHandle().isPlayerCreated();
	}

	@Override
	public void setPlayerCreated(boolean playerCreated) {
		getHandle().setPlayerCreated(playerCreated);
	}

	@Override
	public EntityType getType() {
		return EntityType.IRON_GOLEM;
	}
}
