API

Methods

You can check all methods with the EpicCraftingsAPI class.

Events

// Event called when player is trying to craft an item.
@EventHandler
public void preCraftEvent(EpicCraftingsPreCraftEvent event){
  Player player = event.getPlayer();
  Crafting crafting = event.getCrafting();
}
// Event called when successfully crafted an item and materials are removed 
// from players inventory.
@EventHandler
public void craftEvent(EpicCraftingsCraftEvent event){
  Player player = event.getPlayer();
  Crafting crafting = event.getCrafting();
}

Last updated