Class CraftManager

java.lang.Object
studio.magemonkey.codex.util.craft.CraftManager
All Implemented Interfaces:
Loadable

public class CraftManager extends Object implements Loadable
  • Constructor Details

    • CraftManager

      public CraftManager(@NotNull org.bukkit.plugin.java.JavaPlugin engine)
  • Method Details

    • setup

      public void setup()
      Specified by:
      setup in interface Loadable
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface Loadable
    • register

      public boolean register(@NotNull IAbstractRecipe recipe)
    • discoverRecipe

      public void discoverRecipe(@NotNull org.bukkit.NamespacedKey key)
    • unregisterAll

      public void unregisterAll()
    • unregister

      public void unregister(@NotNull IAbstractRecipe recipe)
    • unregister

      public void unregister(@NotNull String id)
    • getRecipeKey

      @Nullable public static org.bukkit.NamespacedKey getRecipeKey(@NotNull org.bukkit.inventory.Recipe recipe)