第一步,实现 io.github.lijinhong11.protector.api.protection .IProtectionModule
io.github.lijinhong11.protector.api.protection .IProtectionModule
然后创建一个类,将您自己的保护范围与ProtectorAPI定义的保护范围连接起来,该类必须实现 io.github.lijinhong11.protector.api.protection .ProtectionRangeInfo
io.github.lijinhong11.protector.api.protection .ProtectionRangeInfo
如果你的保护模块可以被用来注册标志,保护模块类必须实现io.github.lijinhong11.protector.api.flag.FlagRegisterable (自 v1.0.9)
io.github.lijinhong11.protector.api.flag.FlagRegisterable
ProtectorAPI.register(module);
实现 io.github.lijinhong11.protector.api.block .IBlockProtectionModule
io.github.lijinhong11.protector.api.block .IBlockProtectionModule
最后更新于16天前