toggle menu
SakuraBind
2.4.4-dev2
jvm
switch theme
search in API
SakuraBind
/
top.iseason.bukkit.sakurabind.config
/
ItemSetting
Item
Setting
public
class
ItemSetting
implements
BaseSetting
Inheritors
DefaultItemSetting
Members
Constructors
Item
Setting
Link copied to clipboard
public
ItemSetting
ItemSetting
(
String
keyPath
,
ConfigurationSection
section
)
Properties
key
Path
Link copied to clipboard
private
final
String
keyPath
设置的配置路径
matchers
Link copied to clipboard
private
final
List
<
BaseMatcher
>
matchers
setting
Link copied to clipboard
private
ConfigurationSection
setting
Functions
clone
Link copied to clipboard
public
BaseSetting
clone
(
)
get
Boolean
Link copied to clipboard
public
Boolean
getBoolean
(
String
key
,
String
owner
,
HumanEntity
player
)
是否禁止操作
get
Double
Link copied to clipboard
public
Double
getDouble
(
String
key
)
get
Int
Link copied to clipboard
public
Integer
getInt
(
String
key
)
get
Int
List
Link copied to clipboard
public
List
<
Integer
>
getIntList
(
String
key
)
get
Key
Path
Link copied to clipboard
public
String
getKeyPath
(
)
设置的配置路径
get
Long
Link copied to clipboard
public
Long
getLong
(
String
key
)
get
Matchers
Link copied to clipboard
public
final
List
<
BaseMatcher
>
getMatchers
(
)
get
Setting
Link copied to clipboard
public
final
ConfigurationSection
getSetting
(
)
get
String
Link copied to clipboard
public
String
getString
(
String
key
)
get
String
List
Link copied to clipboard
public
List
<
String
>
getStringList
(
String
key
)
match
Link copied to clipboard
public
Boolean
match
(
ItemStack
item
)
public
Boolean
match
(
ItemStack
item
,
CommandSender
sender
)
匹配物品
set
Setting
Link copied to clipboard
public
final
Unit
setSetting
(
ConfigurationSection
setting
)