Comment on page
Developer API
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)
Below you can find the custom events that are built into DisableRecipe
- CraftingCancelEvent
- SmeltingCancelEvent
Last modified 1yr ago