| Package | Description |
|---|---|
| org.cloudburstmc.api.entity | |
| org.cloudburstmc.api.entity.misc | |
| org.cloudburstmc.api.event.potion | |
| org.cloudburstmc.api.potion |
| Modifier and Type | Method and Description |
|---|---|
Effect |
Entity.getEffect(EffectType type) |
Effect |
Entity.getEffect(int effectId)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Map<EffectType,Effect> |
Entity.getEffects() |
| Modifier and Type | Method and Description |
|---|---|
void |
Entity.addEffect(Effect effect) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Effect> |
AreaEffectCloud.getCloudEffects() |
| Modifier and Type | Method and Description |
|---|---|
Effect |
PotionApplyEvent.getApplyEffect() |
| Modifier and Type | Method and Description |
|---|---|
void |
PotionApplyEvent.setApplyEffect(Effect applyEffect) |
| Constructor and Description |
|---|
PotionApplyEvent(Potion potion,
Effect applyEffect,
Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
abstract Effect |
Potion.getEffect() |
Effect |
Effect.setAmbient(boolean ambient) |
Effect |
Effect.setAmplifier(int amplifier) |
Effect |
Effect.setDuration(int ticks) |
Effect |
Effect.setVisible(boolean visible) |
Copyright © 2021. All rights reserved.