Package fr.maxlego08.menu.api.loader
Interface MaterialLoader
public interface MaterialLoader
Documentation: here
The MaterialLoader interface defines methods for loading an ItemStack from a configuration.
-
Method Summary
-
Method Details
-
getKey
String getKey()Returns the key used to load the ItemStack.- Returns:
- The key.
-
load
org.bukkit.inventory.ItemStack load(org.bukkit.configuration.file.YamlConfiguration configuration, String path, String materialString) Loads an ItemStack based on the provided configuration.- Parameters:
configuration- The current configuration.path- The current path.materialString- The material as a String.- Returns:
- The loaded ItemStack.
-