codehz / BedrockMod

Minecraft Bedrock Edition Mod
https://bdsm.gitbook.io/mod
GNU General Public License v3.0
35 stars 5 forks source link

Design Reference: Refer to Bukkit & Sponge for API Design #4

Open johnbanq opened 6 years ago

johnbanq commented 6 years ago

The Bukkit API is a well-known and long-existed plugin API that almost dictated plugin development on Java Edition for years,its longevity means that it must have got some abstraction right! The javadoc of its current successor: https://hub.spigotmc.org/javadocs/spigot/overview-summary.html

The Sponge API is a relatively new(but also has been around for a year or two) plugin API that runs on forge,I will put their docs here too:https://jd.spongepowered.org/7.0.0/ I think we should,even must learn from our "java predecessor" to aid us in designing a lightweight,simple to use API by utilizing the expressiveness of the duck-typed language.