Newer
Older
ultramine_bukkit / src / main / java / org / bukkit / entity / Enderman.java
@vlad20012 vlad20012 on 24 Feb 2017 532 bytes initial
package org.bukkit.entity;

import org.bukkit.material.MaterialData;

/**
 * Represents an Enderman.
 */
public interface Enderman extends Monster
{

	/**
	 * Get the id and data of the block that the Enderman is carrying.
	 *
	 * @return MaterialData containing the id and data of the block
	 */
	public MaterialData getCarriedMaterial();

	/**
	 * Set the id and data of the block that the Enderman is carring.
	 *
	 * @param material data to set the carried block to
	 */
	public void setCarriedMaterial(MaterialData material);
}