But either way, it poses a problem for implementing the complete API on top of Forge. This is largely due to te different design goals of the Forge and Bukkit projects. Forge's event support is respectable but fairly anemic. Bukkit has a huge number of events which plugins can act on, for block breaking, player login, chat, fire spread, chunk loading, player interact, and so on. Implementing Bukkit on Forge presents another challenge: events. Though it does contain a handful of fixes, performance-wise Forge is essentially vanilla. To give you a sense of this difference from a coding perspective, the number of base classes CB edits is approximately twice that of Forge, and CB is only for server where Forge is both client/server. The high-performance fork of CraftBukkit known as Spigot has even more, and in many cases the difference between running Spigot/CraftBukkit vs vanilla is night and day.īy itself, Forge does not contain nowhere near these enhancements. CraftBukkit on the other hand not only supports Bukkit, but contains a number of performance enhancements and other fixes not found in the "vanilla" server. Bukkit is merely the API, the abstraction layer plugins are developed against (though about 10% of plugins bypass the Bukkit API to provide more advanced functionality not exposed in the API). However, it does come with some downsides. The Bukkit API from the very beginning was designed with other implementations in mind (beyond CraftBukkit), so implementing it on top of Forge, as its own mod, is a natural possibility. This approach has many benefits, for one, the mod is minimally invasive, since its a Forge mod instead of a completely new server, you can easily enable or disable it as needed. For those unfamiliar, BukkitForge (previously known as Bukkit4Vanilla, but renamed to avoid confusion with Spout's BukkitBridge and Vanilla projects) is an implementation of the Bukkit API on top of Forge, as a core mod - that is, it uses Forge hooks where possible to implement the API, though it does have to add a couple of its own events using byte code transformations (hence it is a core mod, as opposed to a regular mod). I've been following this project for a while and it is shaping up well, it does look to be a promising solution to the Bukkit/Forge dichotomy. If you would like more information on FTB then check out our Wiki to see all the current modpacks, and discussions from the community, as well as helpful links!Ĭlick here to get to the Wiki! Tools & Resources: ![]() Weekly Threads Archive Tips 'n' Tricks Work-In-Progress Free-For-All Check out our Wiki
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |