パッケージ | 説明 |
---|---|
org.bukkit.potion |
Classes to represent various
potion
properties and manipulation. |
修飾子とタイプ | メソッドと説明 |
---|---|
static PotionType |
PotionType.getByDamageValue(int damage)
非推奨です。
Non-functional
|
static PotionType |
PotionType.getByEffect(PotionEffectType effectType)
非推奨です。
Misleading
|
PotionType |
PotionData.getType()
Gets the type of the potion, Type matches up with each kind of craftable
potion
|
PotionType |
Potion.getType()
非推奨です。
Returns the
PotionType of this potion. |
static PotionType |
PotionType.valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static PotionType[] |
PotionType.values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
Collection<PotionEffect> |
PotionBrewer.getEffects(PotionType type,
boolean upgraded,
boolean extended)
Returns a collection of
PotionEffect that would be applied from
a potion with the given type. |
void |
Potion.setType(PotionType type)
非推奨です。
Sets the
PotionType of this potion. |
コンストラクタと説明 |
---|
Potion(PotionType type)
非推奨です。
Construct a new potion of the given type.
|
Potion(PotionType type,
int level)
非推奨です。
Create a new potion of the given type and level.
|
Potion(PotionType type,
int level,
boolean splash)
非推奨です。
In favour of using
Potion.Potion(PotionType) with Potion.splash() . |
Potion(PotionType type,
int level,
boolean splash,
boolean extended)
非推奨です。
In favour of using
Potion.Potion(PotionType) with Potion.extend() and possibly Potion.splash() . |
Potion(PotionType type,
Potion.Tier tier)
非推奨です。
In favour of
Potion.Potion(PotionType, int) |
Potion(PotionType type,
Potion.Tier tier,
boolean splash)
非推奨です。
In favour of
Potion.Potion(PotionType, int, boolean) |
Potion(PotionType type,
Potion.Tier tier,
boolean splash,
boolean extended)
非推奨です。
In favour of
Potion.Potion(PotionType, int, boolean,
boolean) |
PotionData(PotionType type) |
PotionData(PotionType type,
boolean extended,
boolean upgraded)
Instantiates a final PotionData object to contain information about a
Potion
|
Copyright © 2016. All rights reserved.