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
-
Method Summary
Modifier and TypeMethodDescriptiongetValues
(org.bukkit.Material material) Returns theMaterialValueManager.ValueCollection
for the given material.
-
Method Details
-
getValues
Returns theMaterialValueManager.ValueCollection
for the given material. If there aren't concrete values for this material, aMaterialValueManager.ValueCollection
with default values will be returned.- Parameters:
material
- The material to look for- Returns:
- a
MaterialValueManager.ValueCollection
object with values for the given material or default values
-