接口 Enderman

所有超级接口:
Attributable, CommandSender, Creature, Damageable, Entity, LivingEntity, Metadatable, Monster, Nameable, Permissible, ProjectileSource, ServerOperator

public interface Enderman extends Monster
代表末影人.
  • 方法详细资料

    • getCarriedMaterial

      MaterialData getCarriedMaterial()
      获取末影人手持的方块的id和数据.

      原文:Get the id and data of the block that the Enderman is carrying.

      返回:
      包含方块的id和数据的MaterialData
    • setCarriedMaterial

      void setCarriedMaterial(MaterialData material)
      设置末影人手持的方块的id和数据.

      原文:Set the id and data of the block that the Enderman is carrying.

      参数:
      material - 要设置的手持方块的数据