org.bukkit.entity
Interface Enderman

All Superinterfaces:
Creature, Damageable, Entity, LivingEntity, Metadatable, Monster

public interface Enderman
extends Monster

Represents an Enderman.


Method Summary
 MaterialData getCarriedMaterial()
          Get the id and data of the block that the Enderman is carrying.
 void setCarriedMaterial(MaterialData material)
          Set the id and data of the block that the Enderman is carring.
 
Methods inherited from interface org.bukkit.entity.Creature
getTarget, setTarget
 
Methods inherited from interface org.bukkit.entity.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getCustomName, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, hasLineOfSight, hasPotionEffect, isCustomNameVisible, launchProjectile, removePotionEffect, setCanPickupItems, setCustomName, setCustomNameVisible, setLastDamage, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, shootArrow, throwEgg, throwSnowball
 
Methods inherited from interface org.bukkit.entity.Damageable
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
 

Method Detail

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


Copyright © 2013. All Rights Reserved.