Skip to content

Commit 95875b6

Browse files
Small improvement of method description
1 parent cdb3d70 commit 95875b6

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

src/main/java/de/redstoneworld/redutilities/entity/EntityHelper.java

+11-4
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,19 @@ public static Set<EntityType> getEntityTypes(Set<String> inputSet) {
3535
* This method returns a list of EntityTypes based on the input string. Various formats
3636
* of specifications are supported here:
3737
*
38-
* <li>EntityType-Tag starting with "#" or "tag=" (see <a href="https://jd.papermc.io/paper/1.21.1/org/bukkit/Tag.html">PaperMC Java-Doc</a> and
39-
* <a href="https://minecraft.wiki/w/Tag#Entity_type_tags_2">Minecraft-Wiki</a> for the EntityType Tag lists)</li>
38+
* <ul>
39+
* <li>EntityType-Tag starting with "#" or "tag=" (see <a href="https://minecraft.wiki/w/Tag#Entity_type_tags_2">Minecraft-Wiki</a>
40+
* <i>(Vanilla Minecraft implementation)</i> and <a href="https://jd.papermc.io/paper/1.21.1/org/bukkit/Tag.html">PaperMC Java-Doc</a>
41+
* <i>(Bukkit implementation)</i> for the EntityType-Tag lists)</li>
4042
* <li>Regex via "r="</li>
41-
* <li>ENTITY-TYPE names with wildcards via "*"</li>
42-
* <li>ENTITY-TYPE names</li>
43+
* <li>clean ENTITY-TYPE names with wildcards via "*"</li>
44+
* <li>clean ENTITY-TYPE names</li>
45+
* </ul>
4346
*
47+
* <b>Note:</b> Currently, the expanding <a href="https://jd.papermc.io/paper/1.21.1/io/papermc/paper/tag/EntityTags.html">EntitySetTags</a>
48+
* from PaperMC are not supported here.
49+
*
50+
* <br/><br/>
4451
* Basic-Design by <a href="https://github.com/Phoenix616">Phoenix616</a>
4552
*
4653
* @param input (String) the input String

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

+8-4
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,16 @@ public static Set<Material> getMaterials(Set<String> inputSet) {
3535
* This method returns a list of Materials based on the input string. Various formats
3636
* of specifications are supported here:
3737
*
38-
* <li>Material-Tag starting with "#" or "tag=" (see <a href="https://jd.papermc.io/paper/1.21.1/org/bukkit/Tag.html">PaperMC Java-Doc</a> and
39-
* <a href="https://minecraft.wiki/w/Tag#Block_tags_2">Minecraft-Wiki</a> for the Material Tag lists)</li>
38+
* <ul>
39+
* <li>Material-Tag starting with "#" or "tag=" (see <a href="https://minecraft.wiki/w/Tag#Block_tags_2">Minecraft-Wiki</a>
40+
* <i>(Vanilla Minecraft implementation)</i> and <a href="https://jd.papermc.io/paper/1.21.1/org/bukkit/Tag.html">PaperMC Java-Doc</a>
41+
* <i>(Bukkit implementation)</i> for the Material-Tag lists)</li>
4042
* <li>Regex via "r="</li>
41-
* <li>MATERIAL names with wildcards via "*"</li>
42-
* <li>MATERIAL names</li>
43+
* <li>clean MATERIAL names with wildcards via "*"</li>
44+
* <li>clean MATERIAL names</li>
45+
* </ul>
4346
*
47+
* <br/><br/>
4448
* Basic-Design by <a href="https://github.com/Phoenix616">Phoenix616</a>
4549
*
4650
* @param input (String) the input String

0 commit comments

Comments
 (0)