Links

Developer API

Instance

To create an instance of DisableRecipeAPI, use the following code: DisableRecipeAPI disableRecipeAPI = DisableRecipe.getAPI();
Available Methods:
  • getLimitations()
  • isCraftingEnabled()
  • isSmeltingEnabled()
  • getCraftingItems(World world)
  • getSmeltingItems(World world)

Custom Events

Below you can find the custom events that are built into DisableRecipe
  • CraftingCancelEvent
  • SmeltingCancelEvent