DefaultItemSetting

public class DefaultItemSetting extends ItemSetting

Properties

Link copied to clipboard
public final static DefaultItemSetting INSTANCE
Link copied to clipboard
private final String keyPath

设置的配置路径

Link copied to clipboard
private final List<BaseMatcher> matchers
Link copied to clipboard
private ConfigurationSection setting

Functions

Link copied to clipboard
public BaseSetting clone()
Link copied to clipboard
public Boolean getBoolean(String key, String owner, HumanEntity player)

是否禁止操作

Link copied to clipboard
public Double getDouble(String key)
Link copied to clipboard
public Integer getInt(String key)
Link copied to clipboard
public List<Integer> getIntList(String key)
Link copied to clipboard
public String getKeyPath()

设置的配置路径

Link copied to clipboard
public Long getLong(String key)
Link copied to clipboard
public final List<BaseMatcher> getMatchers()
Link copied to clipboard
public final ConfigurationSection getSetting()
Link copied to clipboard
public String getString(String key)
Link copied to clipboard
Link copied to clipboard
public Boolean match(ItemStack item)
public Boolean match(ItemStack item, CommandSender sender)

匹配物品

Link copied to clipboard
public final Unit setSetting(ConfigurationSection setting)