Interface BuildMcAPI
public interface BuildMcAPI
The primary API interface for BuildMC.
External plugins can use this interface to interact with BuildMC's core systems, access registries, modify behavior, and hook into extension points.
-
Method Summary
Modifier and TypeMethodDescriptionvoideditConfiguration(@NotNull Consumer<org.bukkit.configuration.file.FileConfiguration> consumer) Uses aConsumerto change the contents of the core configuration before the core plugin finishes loading.Gets the ClaimManagerGets the ElytraManagerGets the EndManager@NotNull MainClassGets the main class instance of BuildMC.@NotNull org.bukkit.plugin.PluginGets the Bukkit plugin instance of BuildMC.@NotNull RegistriesHolder@NotNull SoundManagerGets the SoundManager used by BuildMC.
-
Method Details
-
getPlugin
@NotNull @NotNull org.bukkit.plugin.Plugin getPlugin()Gets the Bukkit plugin instance of BuildMC.- Returns:
- the plugin instance
-
editConfiguration
-
getMainClass
Gets the main class instance of BuildMC.- Returns:
- the main class instance
-
getSoundManager
Gets the SoundManager used by BuildMC.- Returns:
- the SoundManager instance
-
getClaimManager
-
getEndManager
-
getElytraManager
-
getRegistriesHolder
-