public class BuiltinMaterialValueManager extends Object implements MaterialValueManager
MaterialValueManager.ValueCollection
Constructor and Description |
---|
BuiltinMaterialValueManager()
Creates a MaterialValueManager using the data from the resource file
builtin/materialValues.yml in the Glowstone jar. |
Modifier and Type | Method and Description |
---|---|
MaterialValueManager.ValueCollection |
getValues(org.bukkit.Material material)
Returns the
MaterialValueManager.ValueCollection for the given material. |
public BuiltinMaterialValueManager()
builtin/materialValues.yml
in the Glowstone jar.public MaterialValueManager.ValueCollection getValues(org.bukkit.Material material)
MaterialValueManager
MaterialValueManager.ValueCollection
for the given material. If there aren't concrete values
for this material, a MaterialValueManager.ValueCollection
with default values will be returned.getValues
in interface MaterialValueManager
material
- The material to look forMaterialValueManager.ValueCollection
object with values for the given material or default valuesCopyright © 2021. All rights reserved.