Class MaterialHelper
java.lang.Object
de.redstoneworld.redutilities.material.MaterialHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<org.bukkit.Material>
getMaterials
(String input) This method returns a list of materials that can be defined with a (single) input in the form of a Material-Tag, Regex or the normal Material-Name specification.static Set<org.bukkit.Material>
getMaterials
(Set<String> inputSet) This method returns a list of materials that can be defined with a set of inputs in the form of a Material-Tag, Regex or the normal Material-Name specification.
-
Constructor Details
-
MaterialHelper
public MaterialHelper()
-
-
Method Details
-
getMaterials
This method returns a list of materials that can be defined with a set of inputs in the form of a Material-Tag, Regex or the normal Material-Name specification. Basic-Design by Phoenix616- Parameters:
inputSet
- (Set of Strings) the input String- Returns:
- (Set of Materials) the resulted Materials
-
getMaterials
This method returns a list of materials that can be defined with a (single) input in the form of a Material-Tag, Regex or the normal Material-Name specification. Basic-Design by Phoenix616- Parameters:
input
- (String) the input String- Returns:
- (Set of Materials) the resulted Materials
-