Skip to content

Commit c2a1be0

Browse files
Improving description of MaterialHelper methods
1 parent 9975402 commit c2a1be0

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

src/main/java/de/redstoneworld/redutilities/material/MaterialHelper.java

+16-6
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@
1414
public class MaterialHelper {
1515

1616
/**
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>
2025
*
2126
* Basic-Design by <a href="https://github.com/Phoenix616">Phoenix616</a>
2227
*
@@ -36,9 +41,14 @@ public static Set<Material> getMaterials(Set<String> inputSet) {
3641
}
3742

3843
/**
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>
4252
*
4353
* Basic-Design by <a href="https://github.com/Phoenix616">Phoenix616</a>
4454
*

0 commit comments

Comments
 (0)