Class PiglinWorldAPI

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
dev.piglin.piglinworldapi.PiglinWorldAPI
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin

public final class PiglinWorldAPI extends org.bukkit.plugin.java.JavaPlugin
  • Constructor Details

    • PiglinWorldAPI

      public PiglinWorldAPI()
  • Method Details

    • getInstance

      public static PiglinWorldAPI getInstance()
    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface org.bukkit.plugin.Plugin
      Overrides:
      onEnable in class org.bukkit.plugin.java.JavaPlugin
    • getBlockDataStorage

      public BlockDataStorage getBlockDataStorage()
      Get the block data storage
      Returns:
      block data storage
    • getBlockController

      public BlockController getBlockController()
      Get the block controller
      Returns:
      block controller
    • getRecipeController

      public RecipeController getRecipeController()
      Get the recipe controller
      Returns:
      recipe controller
    • getGuiController

      public GuiController getGuiController()
      Get the gui controller
      Returns:
      gui controller
    • getTeleportDelay

      public long getTeleportDelay()
      Get the teleport delay in seconds
      Returns:
      the teleport delay in seconds
    • onDisable

      public void onDisable()
      Specified by:
      onDisable in interface org.bukkit.plugin.Plugin
      Overrides:
      onDisable in class org.bukkit.plugin.java.JavaPlugin