public class PotionMetaImpl extends ItemMetaImpl implements PotionMeta
ItemMeta.HiddenModifierFlag| Modifier and Type | Field and Description |
|---|---|
protected List<TridentPotionEffect> |
additionalEffects |
displayProperties, flags| Constructor and Description |
|---|
PotionMetaImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<PotionEffect> |
effects()
Gets this Potion's applied effects.
|
void |
setEffects(List<PotionEffect> effects)
Sets this Potion's applied effects.
|
displayProperties, flags, process, setDisplayProperties, setFlagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEffectdisplayProperties, flags, setDisplayProperties, setFlagprocessprotected List<TridentPotionEffect> additionalEffects
public PotionMetaImpl()
public List<PotionEffect> effects()
PotionMetaeffects in interface PotionMetapublic void setEffects(List<PotionEffect> effects)
PotionMetasetEffects in interface PotionMetaeffects - The effects to use in place of the current ones.Copyright © 2016. All rights reserved.