Main Page/34 [zh]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "除了程序和服务以外,这个库还提供了各种反射和对用户友好的方法来访问 net.minecraft.server。如果你的插件需要使用内部组件,但不想冒险修改字段和方法名称,可以让内部组件依赖 BKCommonLib,这允许你自保持 CraftBukkit 版本之间的兼容性,并减少静默问题的产生。")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
除了程序和服务以外,这个库还提供了各种反射和对用户友好的方法来访问 net.minecraft.server。如果你的插件需要使用内部组件,但不想冒险修改字段和方法名称,可以让内部组件依赖 BKCommonLib,这允许你自保持 CraftBukkit 版本之间的兼容性,并减少静默问题的产生。
除了提供各类工具与服务外,该库还通过版本映射,实现更加便捷友好的方式来访问net.minecraft.server。如果你的插件需要使用内部组件,但又希望避免因字段或方法名称的变更带来的风险,你可以依赖BKCommonLib来使用这些内容。借此,你的插件能够自动兼容不同版本的CraftBukkit,减少因版本不一致导致的静默失败风险。

Latest revision as of 00:58, 15 October 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Main Page)
Other than utilities and services, this library offers a wide variety of reflection and user-friendly ways of accessing net.minecraft.server. If your plugin requires the use of the internals, but you do not want to risk changing field and method names, you can depend on BKCommonLib to provide them for you. This allows you to remain compatible between CraftBukkit versions automatically, and reduces silent failure hazards.

除了提供各类工具与服务外,该库还通过版本映射,实现更加便捷友好的方式来访问net.minecraft.server。如果你的插件需要使用内部组件,但又希望避免因字段或方法名称的变更带来的风险,你可以依赖BKCommonLib来使用这些内容。借此,你的插件能够自动兼容不同版本的CraftBukkit,减少因版本不一致导致的静默失败风险。