Package | Description |
---|---|
net.tridentsdk.effect.potion |
Potion effects that are applied to entities
|
net.tridentsdk.server.effect.potion |
Represents applicable potion types
|
Modifier and Type | Method and Description |
---|---|
PotionEffectType |
PotionEffect.effectType()
Returns the effect type of this potion
|
static PotionEffectType |
PotionEffectType.fromId(int id) |
static PotionEffectType |
PotionEffectType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PotionEffectType[] |
PotionEffectType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
PotionEffect.setEffectType(PotionEffectType type)
Sets the effect type of this potion
|
Modifier and Type | Method and Description |
---|---|
PotionEffectType |
TridentPotionEffect.effectType() |
Modifier and Type | Method and Description |
---|---|
void |
TridentPotionEffect.setEffectType(PotionEffectType type) |
Copyright © 2016. All rights reserved.