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, setFlag
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEffect
displayProperties, flags, setDisplayProperties, setFlag
process
protected List<TridentPotionEffect> additionalEffects
public PotionMetaImpl()
public List<PotionEffect> effects()
PotionMeta
effects
in interface PotionMeta
public void setEffects(List<PotionEffect> effects)
PotionMeta
setEffects
in interface PotionMeta
effects
- The effects to use in place of the current ones.Copyright © 2016. All rights reserved.