Skip to content

Commit 045ddbd

Browse files
Fixing and reworking JavaDoc for a MaterialHelper and EntityHelper method
1 parent 4f72b7b commit 045ddbd

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ public static Set<EntityType> getEntityTypes(Set<String> inputSet) {
3030

3131
return entities;
3232
}
33-
33+
3434
/**
35-
* This method returns a list of EntityTypes based on the input string. Various formats
35+
* This method returns a list of Entity-Types based on the input string. Various formats
3636
* of specifications are supported here:
3737
*
3838
* <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>
42-
* <li>Regex via "r="</li>
43-
* <li>clean ENTITY-TYPE names with wildcards via "*"</li>
44-
* <li>clean ENTITY-TYPE names</li>
39+
* <li>Entity-Type Tag starting with "#" or "tag=" - see <a href="https://minecraft.wiki/w/Entity_type_tag_(Java_Edition)">Minecraft-Wiki Article</a>
40+
* for the Vanilla Entity-Type Tags and <a href="https://jd.papermc.io/paper/1.21.1/org/bukkit/Tag.html">PaperMC Java-Doc</a> for the Bukkit
41+
* implementation</li>
42+
* <li>Regex via "r="</li>
43+
* <li>clean ENTITY-TYPE names with wildcards via "*"</li>
44+
* <li>clean ENTITY-TYPE names</li>
4545
* </ul>
4646
*
4747
* <b>Note:</b> Currently, the expanding <a href="https://jd.papermc.io/paper/1.21.1/io/papermc/paper/tag/EntityTags.html">EntitySetTags</a>

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ public static Set<Material> getMaterials(Set<String> inputSet) {
3636
* of specifications are supported here:
3737
*
3838
* <ul>
39-
* <li>Material-Tag starting with "#" or "tag=" - see <a href="https://minecraft.wiki/w/Block_tag_(Java_Edition)">Block Tag list</a>
40-
* and <a href="https://minecraft.wiki/w/Entity_type_tag_(Java_Edition)">Entity Tag list</a> for the Vanilla tags,
41-
* and <a href="https://jd.papermc.io/paper/1.21.1/org/bukkit/Tag.html">PaperMC Java-Doc</a> for the Bukkit implementation
42-
* of the Material and EntityType Tags</li>
39+
* <li>Material Tag starting with "#" or "tag=" - see <a href="https://minecraft.wiki/w/Block_tag_(Java_Edition)">Minecraft-Wiki Article</a>
40+
* for the Vanilla Material Tags and <a href="https://jd.papermc.io/paper/1.21.1/org/bukkit/Tag.html">PaperMC Java-Doc</a> for the Bukkit
41+
* implementation</li>
4342
* <li>Regex via "r="</li>
4443
* <li>clean MATERIAL names with wildcards via "*"</li>
4544
* <li>clean MATERIAL names</li>

0 commit comments

Comments
 (0)