Uses of Class
cn.nukkit.potion.Effect
Packages that use Effect
Package
Description
与实体相关的类,包含友好生物,敌对生物等.
与药水相关的类.
-
Uses of Effect in cn.nukkit.entity
Fields in cn.nukkit.entity with type parameters of type EffectMethods in cn.nukkit.entity that return EffectMethods in cn.nukkit.entity that return types with arguments of type EffectMethods in cn.nukkit.entity with parameters of type Effect -
Uses of Effect in cn.nukkit.entity.ai.executor
Fields in cn.nukkit.entity.ai.executor declared as EffectConstructors in cn.nukkit.entity.ai.executor with parameters of type EffectModifierConstructorDescriptionMeleeAttackExecutor
(MemoryType<? extends Entity> memory, float speed, int maxSenseRange, boolean clearDataWhenLose, int coolDown, Effect... effects) 近战攻击执行器 -
Uses of Effect in cn.nukkit.entity.item
Fields in cn.nukkit.entity.item with type parameters of type Effect -
Uses of Effect in cn.nukkit.event.entity
Methods in cn.nukkit.event.entity that return EffectModifier and TypeMethodDescriptionEntityEffectUpdateEvent.getNewEffect()
EntityEffectUpdateEvent.getOldEffect()
EntityEffectRemoveEvent.getRemoveEffect()
Constructors in cn.nukkit.event.entity with parameters of type EffectModifierConstructorDescriptionEntityEffectRemoveEvent
(Entity entity, Effect effect) EntityEffectUpdateEvent
(Entity entity, Effect oldEffect, Effect newEffect) -
Uses of Effect in cn.nukkit.event.potion
Methods in cn.nukkit.event.potion that return EffectMethods in cn.nukkit.event.potion with parameters of type EffectConstructors in cn.nukkit.event.potion with parameters of type Effect -
Uses of Effect in cn.nukkit.item.food
Fields in cn.nukkit.item.food with type parameters of type EffectMethods in cn.nukkit.item.food with parameters of type Effect -
Uses of Effect in cn.nukkit.potion
Subclasses of Effect in cn.nukkit.potionFields in cn.nukkit.potion declared as EffectMethods in cn.nukkit.potion that return EffectModifier and TypeMethodDescriptionEffect.clone()
static Effect
Effect.getEffect
(int id) Potion.getEffect()
static Effect
Potion.getEffect
(int potionType, boolean isSplash) static Effect
Effect.getEffectByName
(String name) Effect.setAmbient
(boolean ambient) Effect.setAmplifier
(int amplifier) Effect.setDuration
(int ticks) Effect.setVisible
(boolean visible)