@@ -1,5 +1,6 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.block.data.BlockData;
|
||||
import org.bukkit.material.MaterialData;
|
||||
|
||||
/**
|
||||
@@ -8,16 +9,30 @@ import org.bukkit.material.MaterialData;
|
||||
public interface Enderman extends Monster {
|
||||
|
||||
/**
|
||||
* Get the id and data of the block that the Enderman is carrying.
|
||||
* Gets 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 carrying.
|
||||
* Sets the id and data of the block that the Enderman is carrying.
|
||||
*
|
||||
* @param material data to set the carried block to
|
||||
*/
|
||||
public void setCarriedMaterial(MaterialData material);
|
||||
|
||||
/**
|
||||
* Gets the data of the block that the Enderman is carrying.
|
||||
*
|
||||
* @return BlockData containing the carried block
|
||||
*/
|
||||
public BlockData getCarriedBlock();
|
||||
|
||||
/**
|
||||
* Sets the data of the block that the Enderman is carrying.
|
||||
*
|
||||
* @param blockData data to set the carried block to
|
||||
*/
|
||||
public void setCarriedBlock(BlockData blockData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user