Class CustomSection
-
- All Implemented Interfaces:
public final class CustomSection extends SectionParser
自定义节点, 具体将在js文件中实现, nashorn会自动解析匹配类型, 因此不用担心重定向问题, 不用将kotlin的function更改为java的function 别问我这个类为什么不叫CustomParser, 等我反应过来的时候为时已晚
-
-
Method Summary
Modifier and Type Method Description String
getId()
获取节点解析器ID String
onRequest(ConfigurationSection data, Map<String, String> cache, OfflinePlayer player, ConfigurationSection sections)
用于私有节点解析 String
onRequest(List<String> args, Map<String, String> cache, OfflinePlayer player, ConfigurationSection sections)
用于即时节点解析
-