Class MaterialHelper

java.lang.Object
de.redstoneworld.redutilities.material.MaterialHelper

public class MaterialHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Set<org.bukkit.Material>
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MaterialHelper

      public MaterialHelper()
  • Method Details

    • getMaterials

      public 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. Basic-Design by Phoenix616
      Parameters:
      inputSet - (Set of Strings) the input String
      Returns:
      (Set of Materials) the resulted Materials
    • getMaterials

      public static 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. Basic-Design by Phoenix616
      Parameters:
      input - (String) the input String
      Returns:
      (Set of Materials) the resulted Materials