(I am trying to use this too) I am trying to make a Crafting recipe from a Menu
but item that are Air cannot be saved in the recipe
I tryied it myself but it just returns null ... how to replace null by material.air ?
Edit: I tought about doing a condition :
if it's null return...
else you should use
Inventory inv = e.getInventory();
ItemStack = inv.getItem(int);
You should try with this:
Iterator<Recipe> recipes = getServer().recipeIterator();
Hello I am making a plugin and I am using this to save my hashmap,Value and list
public void onDisable()
I think you are talking about placeHolders
you should use the PlaceHolderAPI some tutorials are explaining how to use PlaceHolderAPI
Separate names with a comma.