@occultus/hidden-years - v3.1.0-alpha.4
Preparing search index...
core/ComplexPotion
ComplexPotion
Class ComplexPotion
高级魔法药水系统
Index
Constructors
constructor
Methods
add
Potion
Type
get
Potion
Type
has
Potion
Type
is
Magic
Potion
Constructors
constructor
new
ComplexPotion
()
:
ComplexPotion
Returns
ComplexPotion
Methods
Static
add
Potion
Type
addPotionType
(
item
:
ItemStack
,
type
:
ComplexPotionType
)
:
void
向复合魔法药水添加药水类型
Parameters
item
:
ItemStack
type
:
ComplexPotionType
Returns
void
Static
get
Potion
Type
getPotionType
(
item
:
ItemStack
)
:
ComplexPotionType
[]
获取复合药水拥有的药水类型
Parameters
item
:
ItemStack
Returns
ComplexPotionType
[]
Static
has
Potion
Type
hasPotionType
(
item
:
ItemStack
,
effect
:
string
)
:
boolean
Parameters
item
:
ItemStack
effect
:
string
Returns
boolean
Static
is
Magic
Potion
isMagicPotion
(
item
:
ItemStack
)
:
boolean
返回物品是否为高级魔法药水
Parameters
item
:
ItemStack
要进行判断的物品
Returns
boolean
表示物品是否为高级魔法药水的布尔值
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Potion
Type
get
Potion
Type
has
Potion
Type
is
Magic
Potion
@occultus/hidden-years - v3.1.0-alpha.4
Loading...
高级魔法药水系统