接口的使用
org.bukkit.entity.LivingEntity
使用LivingEntity的程序包
程序包
说明
Bukkit的常用类.
用于操作在
世界内的三位像素(方块),包括一些特定的状态.为在
世界内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等.代表每种
药水属性和操作的类的集合.提供多种目的和单一目的的类以简化各种编程概念.
-
org.bukkit中LivingEntity的使用
返回变量类型为LivingEntity的类型的org.bukkit中的方法 -
org.bukkit.block中LivingEntity的使用
返回变量类型为LivingEntity的类型的org.bukkit.block中的方法修饰符和类型方法说明Beacon.getEntitiesInRange()Returns the list of players within the beacon's range of effect.参数类型为LivingEntity的org.bukkit.block中的方法修饰符和类型方法说明voidStructure.setAuthor(LivingEntity livingEntity) Set the name of whoever created this structure using aLivingEntity. -
org.bukkit.entity中LivingEntity的使用
修饰符和类型接口说明interfaceRepresents a Horse-like creature.interface代表一个有年龄和繁殖能力的实体.interface代表环境生物(只有蝙蝠属于这一行列).interface代表动物.interfaceinterface表示一只蝙蝠.interface代表烈焰人怪物.interface代表蜘蛛(洞穴蜘蛛).interfaceRepresents Horse-like creatures which can carry an inventory.interface代表鸡.interfaceRepresents a complex living entity - one that is made up of various smaller partsinterface代表牛.interfaceRepresents a Creature.interface代表爬行者.interfaceRepresents a Donkey - variant ofChestedHorse.interfaceRepresents an ElderGuardian - variant ofGuardian.interfaceRepresents an Ender Dragoninterface代表末影人.interfaceinterfaceRepresents an Evoker "Illager".interface代表能飞行的实体.interface代表恶魂.interface代表巨人.interface一个可以伤害敌人的傀儡.interfaceinterface代表一匹马.interface代表人类实体, 比如一个NPC或一名玩家interface代表一具尸壳 -Zombie的变异体.interfaceRepresents a type of "Illager".interfaceRepresents an Illusioner "Illager".interface村民守卫者——铁傀儡.interface表示一只羊驼.interfaceRepresents a MagmaCube.interface代表怪物.interfaceRepresents a Mule - variant ofChestedHorse.interface代表哞菇(Cow).interface代表非玩家角色.interface代表豹猫.interfaceRepresents a Parrot.interface代表猪.interface代表僵尸猪人.interface玩家对象interfaceRepresents a polar bear.interfaceinterface代表羊.interfaceinterface代表蠢虫.interface代表骷髅.interfaceRepresents a SkeletonHorse - variant ofAbstractHorse.interface代表史莱姆.interface代表雪人实体.interfaceRepresents a spell casting "Illager".interface代表蜘蛛.interface代表鱿鱼.interfaceRepresents a Stray - variant ofSkeleton.interfaceRepresents a Vex.interfaceRepresents a villager NPCinterfaceRepresents a Vindicator.interface代表海洋生物.interface代表女巫.interface代表凋零boss.interfaceRepresents a WitherSkeleton - variant ofSkeleton.interface代表狼.interface代表僵尸.interfaceRepresents a ZombieHorse - variant ofAbstractHorse.interface修饰符和类型方法说明EvokerFangs.getOwner()Gets theLivingEntitywhich summoned the fangs.Creature.getTarget()Gets the current target of this CreatureSlime.getTarget()获取史莱姆的攻击目标(LivingEntity).参数类型为LivingEntity的org.bukkit.entity中的方法修饰符和类型方法说明voidEvokerFangs.setOwner(LivingEntity owner) Sets theLivingEntitywhich summoned the fangs.voidCreature.setTarget(LivingEntity target) Instructs this Creature to set the specified LivingEntity as its target.voidSlime.setTarget(LivingEntity target) 设置史莱姆的攻击目标(LivingEntity). -
org.bukkit.event.entity中LivingEntity的使用
修饰符和类型方法说明EntityBreedEvent.getBreeder()Gets the Entity responsible for breeding.CreatureSpawnEvent.getEntity()EntityBreakDoorEvent.getEntity()EntityBreedEvent.getEntity()EntityCreatePortalEvent.getEntity()EntityDeathEvent.getEntity()EntityPickupItemEvent.getEntity()EntityResurrectEvent.getEntity()EntityShootBowEvent.getEntity()EntityTameEvent.getEntity()EntityBreedEvent.getFather()Gets the other parent of the newly born entity.EntityBreedEvent.getMother()Gets the parent creating this entity.EntityTargetLivingEntityEvent.getTarget()返回变量类型为LivingEntity的类型的org.bukkit.event.entity中的方法修饰符和类型方法说明AreaEffectCloudApplyEvent.getAffectedEntities()获取一个受影响实体的可变列表。PotionSplashEvent.getAffectedEntities()Retrieves a list of all effected entities参数类型为LivingEntity的org.bukkit.event.entity中的方法修饰符和类型方法说明doublePotionSplashEvent.getIntensity(LivingEntity entity) Gets the intensity of the potion's effects for given entity; This depends on the distance to the impact centervoidPotionSplashEvent.setIntensity(LivingEntity entity, double intensity) Overwrites the intensity for a given entity参数类型为LivingEntity的org.bukkit.event.entity中的构造器限定符构造器说明CreatureSpawnEvent(LivingEntity spawnee, CreatureSpawnEvent.SpawnReason spawnReason) EntityBreakDoorEvent(LivingEntity entity, Block targetBlock) EntityBreedEvent(LivingEntity child, LivingEntity mother, LivingEntity father, LivingEntity breeder, ItemStack bredWith, int experience) EntityCreatePortalEvent(LivingEntity what, List<BlockState> blocks, PortalType type) EntityDeathEvent(LivingEntity entity, List<ItemStack> drops) EntityDeathEvent(LivingEntity what, List<ItemStack> drops, int droppedExp) EntityPickupItemEvent(LivingEntity entity, Item item, int remaining) EntityShootBowEvent(LivingEntity shooter, ItemStack bow, Projectile projectile, float force) EntityTameEvent(LivingEntity entity, AnimalTamer owner) EntityTargetLivingEntityEvent(Entity entity, LivingEntity target, EntityTargetEvent.TargetReason reason) EntityToggleGlideEvent(LivingEntity who, boolean isGliding) 类型变量类型为LivingEntity的org.bukkit.event.entity中的构造器参数限定符构造器说明AreaEffectCloudApplyEvent(AreaEffectCloud entity, List<LivingEntity> affectedEntities) PotionSplashEvent(ThrownPotion potion, Map<LivingEntity, Double> affectedEntities) -
org.bukkit.event.vehicle中LivingEntity的使用
参数类型为LivingEntity的org.bukkit.event.vehicle中的构造器 -
org.bukkit.potion中LivingEntity的使用
参数类型为LivingEntity的org.bukkit.potion中的方法修饰符和类型方法说明voidPotion.apply(LivingEntity to) 已过时。Applies the effects that would be applied by this potion to the givenLivingEntity.booleanPotionEffect.apply(LivingEntity entity) Attempts to add the effect represented by this object to the givenLivingEntity. -
org.bukkit.util中LivingEntity的使用
参数类型为LivingEntity的org.bukkit.util中的构造器限定符构造器说明BlockIterator(LivingEntity entity) 创建BlockIterator.BlockIterator(LivingEntity entity, int maxDistance) BlockIterator的构造函数.