Developer API

Instance

To create an instance of DisableRecipeAPI, use the following code: DisableRecipeAPI disableRecipeAPI = DisableRecipe.getAPI();
Available Methods:
    isCraftingEnabled()
    isSmeltingEnabled()
    getCraftingPermissions(World world)
    getCraftingPermission(World world, int item)
    getCraftingItems(World world)
    getCraftingItem(World world, int item)
    getSmeltingItems(World world)
    getSmeltingItem(World world, int item)

Custom Events

Below you can find the custom events that are built into DisableRecipe
    CraftingCancelEvent
    SmeltingCancelEvent
Last modified 6mo ago
Copy link