001 package org.bukkit.entity; 002 003 import org.bukkit.material.MaterialData; 004 005 /** 006 * Represents an Enderman. 007 */ 008 public interface Enderman extends Monster { 009 010 /** 011 * Get the id and data of the block that the Enderman is carrying. 012 * 013 * @return MaterialData containing the id and data of the block 014 */ 015 public MaterialData getCarriedMaterial(); 016 017 /** 018 * Set the id and data of the block that the Enderman is carring. 019 * 020 * @param material data to set the carried block to 021 */ 022 public void setCarriedMaterial(MaterialData material); 023 }