summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/Enderman.java
blob: 0b66a9230165a03fd6d53ed058b27a6a3cea49a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
}