All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.entity.Enderman Maven / Gradle / Ivy

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
   */
  MaterialData getCarriedMaterial();

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy