14
14
public class MaterialHelper {
15
15
16
16
/**
17
- * This method returns a list of materials that can be defined with
18
- * a set of inputs in the form of a Material-Tag, Regex or the
19
- * normal Material-Name specification.
17
+ * This method returns a list of materials based on the Set of input strings. Various formats
18
+ * of material specifications are supported here:
19
+ *
20
+ * <li>Material-Tag via "tag=" (see <a href="https://jd.papermc.io/paper/1.21/org/bukkit/Tag.html">PaperMC Java-Doc</a> and
21
+ * <a href="https://minecraft.wiki/w/Tag">Minecraft-Wiki</a> for the tag lists)</li>
22
+ * <li>Regex via "r="</li>
23
+ * <li>MATERIAL names with wildcards via "*"</li>
24
+ * <li>MATERIAL names</li>
20
25
*
21
26
* Basic-Design by <a href="https://github.com/Phoenix616">Phoenix616</a>
22
27
*
@@ -36,9 +41,14 @@ public static Set<Material> getMaterials(Set<String> inputSet) {
36
41
}
37
42
38
43
/**
39
- * This method returns a list of materials that can be defined with
40
- * a (single) input in the form of a Material-Tag, Regex or the
41
- * normal Material-Name specification.
44
+ * This method returns a list of materials based on the input string. Various formats
45
+ * of material specifications are supported here:
46
+ *
47
+ * <li>Material-Tag via "tag=" (see <a href="https://jd.papermc.io/paper/1.21/org/bukkit/Tag.html">PaperMC Java-Doc</a> and
48
+ * <a href="https://minecraft.wiki/w/Tag">Minecraft-Wiki</a> for the tag lists)</li>
49
+ * <li>Regex via "r="</li>
50
+ * <li>MATERIAL names with wildcards via "*"</li>
51
+ * <li>MATERIAL names</li>
42
52
*
43
53
* Basic-Design by <a href="https://github.com/Phoenix616">Phoenix616</a>
44
54
*
0 commit comments