Class GiveMaterialManager
java.lang.Object
com.zetaplugins.essentialz.features.GiveMaterialManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable org.bukkit.MaterialgetMaterialByKey(String key) Get a Material by its key from the materials config.Get a list of all possible material keys/names from the materials config and vanilla materials,
-
Constructor Details
-
GiveMaterialManager
-
-
Method Details
-
getMaterialByKey
Get a Material by its key from the materials config. If not found, try to parse the key as a Material name.- Parameters:
key- The key to look up- Returns:
- The Material, or null if not found
-
getPossibleMaterials
Get a list of all possible material keys/names from the materials config and vanilla materials,- Returns:
- List of possible material keys/names
-