Package net.glowstone.block
Interface MaterialValueManager
- All Known Implementing Classes:
BuiltinMaterialValueManager
public interface MaterialValueManager
MaterialValueManager provides easily access to
Material related values (e.g. block
hardness).-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetValues(org.bukkit.Material material) Returns theMaterialValueManager.ValueCollectionfor the given material.
-
Method Details
-
getValues
Returns theMaterialValueManager.ValueCollectionfor the given material. If there aren't concrete values for this material, aMaterialValueManager.ValueCollectionwith default values will be returned.- Parameters:
material- The material to look for- Returns:
- a
MaterialValueManager.ValueCollectionobject with values for the given material or default values
-