LoreMatcher

public final class LoreMatcher extends BaseMatcher

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
private final List<Pattern> lorePatterns
Link copied to clipboard
private final Boolean removeMatched
Link copied to clipboard
private final Boolean stripLoreColor

Functions

Link copied to clipboard
public BaseMatcher fromSetting(String key, Object any)

从配置中读取数据

Link copied to clipboard
public Array<String> getKeys()

该配置接受的键

Link copied to clipboard
public final List<Pattern> getLorePatterns()
Link copied to clipboard
public final Boolean getRemoveMatched()
Link copied to clipboard
public final Boolean getStripLoreColor()
Link copied to clipboard
public Unit onBind(ItemStack item)
Link copied to clipboard
public Unit onDebug(ItemStack item, CommandSender debugHolder)

Debug

Link copied to clipboard
public Boolean tryMatch(ItemStack item)

尝试匹配某个物品