/**
* Gets the inventory with the equipment worn by the living entity.
* <p/>
* <b>Entities: </b> {@link LivingEntity}, {@link ArmorStand}
*
* @return the living entity's inventory
*/
public EntityEquipment getEquipment() {
if (entity instanceof LivingEntity) {
return ((LivingEntity) entity).getEquipment();
} else if (entity instanceof ArmorStand) {
return ((ArmorStand) entity).getEquipment();
}
return null;
}
EEntity.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:GameBoxx
作者:
评论列表
文章目录