Interface Enderman

All Superinterfaces:
CommandSender, Creature, Damageable, Entity, LivingEntity, Metadatable, Monster, Permissible, ProjectileSource, ServerOperator

public interface Enderman
extends Monster
Represents an Enderman.
  • Method Details

    • getCarriedMaterial

      MaterialData getCarriedMaterial()
      Get the id and data of the block that the Enderman is carrying.
      Returns:
      MaterialData containing the id and data of the block
    • setCarriedMaterial

      void setCarriedMaterial​(MaterialData material)
      Set the id and data of the block that the Enderman is carring.
      Parameters:
      material - data to set the carried block to