public class PotionTree extends ActionTree<PotionQuery> implements Multipliable<PotionTree>
SearchTree.ValueComparer| Modifier and Type | Field and Description |
|---|---|
protected Parameter<java.lang.Boolean> |
extended |
protected Parameter<java.lang.Integer> |
level |
protected Parameter<java.lang.Boolean> |
splash |
protected Parameter<org.bukkit.potion.PotionType> |
type |
multipliercomparer, currentID, flatten, paramCount| Constructor and Description |
|---|
PotionTree(double multiplier) |
PotionTree(PotionTree other,
double newMultiplier) |
| Modifier and Type | Method and Description |
|---|---|
Parameter<java.lang.Boolean> |
getExtended() |
protected java.util.Set<java.lang.Integer> |
getFromParameters(PotionQuery source) |
ItemTree |
getItemQueryAdaptor() |
Parameter<java.lang.Integer> |
getLevel() |
Parameter<java.lang.Boolean> |
getSplash() |
Parameter<org.bukkit.potion.PotionType> |
getType() |
protected void |
putAllParameters(SearchTree<PotionQuery,Action> other,
java.lang.Integer offset) |
protected java.lang.Integer |
putFromParameters(PotionQuery source,
java.lang.Integer id) |
PotionTree |
withMultiplier(double newMultiplier)
Returns a shallow copy of this object with a different experience multiplier.
|
get, getMultiplier, getValuescontainsKey, get, getAllRanked, getAllRankedID, put, putAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMultiplierprotected Parameter<org.bukkit.potion.PotionType> type
protected Parameter<java.lang.Integer> level
protected Parameter<java.lang.Boolean> extended
protected Parameter<java.lang.Boolean> splash
public PotionTree(PotionTree other, double newMultiplier)
public PotionTree(double multiplier)
public PotionTree withMultiplier(double newMultiplier)
MultipliablewithMultiplier in interface Multipliable<PotionTree>newMultiplier - - New multiplier value.protected java.lang.Integer putFromParameters(PotionQuery source, java.lang.Integer id)
putFromParameters in class SearchTree<PotionQuery,Action>protected java.util.Set<java.lang.Integer> getFromParameters(PotionQuery source)
getFromParameters in class SearchTree<PotionQuery,Action>public ItemTree getItemQueryAdaptor()
protected void putAllParameters(SearchTree<PotionQuery,Action> other, java.lang.Integer offset)
putAllParameters in class SearchTree<PotionQuery,Action>public Parameter<org.bukkit.potion.PotionType> getType()
public Parameter<java.lang.Integer> getLevel()
public Parameter<java.lang.Boolean> getExtended()
public Parameter<java.lang.Boolean> getSplash()