Add missing Javadoc for COLORABLE MaterialTag (#5376)

* Add buttons materialtag and comment for colorable with some format fixes
This commit is contained in:
HexedHero 2021-04-23 15:11:30 +01:00
parent accd70d21f
commit 63081dce92

View file

@ -286,7 +286,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ .endsWith("TERRACOTTA") + .endsWith("TERRACOTTA")
+ .ensureSize("TERRACOTTA", 33); + .ensureSize("TERRACOTTA", 33);
+ +
+
+ /** + /**
+ * Covers both golden apples. + * Covers both golden apples.
+ */ + */
@ -638,6 +637,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ public static final MaterialSetTag THROWABLE_PROJECTILES = new MaterialSetTag(keyFor("throwable_projectiles")) + public static final MaterialSetTag THROWABLE_PROJECTILES = new MaterialSetTag(keyFor("throwable_projectiles"))
+ .add(Material.EGG, Material.SNOWBALL, Material.SPLASH_POTION, Material.TRIDENT, Material.ENDER_PEARL, Material.EXPERIENCE_BOTTLE, Material.FIREWORK_ROCKET); + .add(Material.EGG, Material.SNOWBALL, Material.SPLASH_POTION, Material.TRIDENT, Material.ENDER_PEARL, Material.EXPERIENCE_BOTTLE, Material.FIREWORK_ROCKET);
+ +
+ /**
+ * Covers materials that can be colored, such as wool, shulker boxes, stained glass etc.
+ */
+ @SuppressWarnings("unchecked") + @SuppressWarnings("unchecked")
+ public static final MaterialSetTag COLORABLE = new MaterialSetTag(keyFor("colorable")) + public static final MaterialSetTag COLORABLE = new MaterialSetTag(keyFor("colorable"))
+ .add(Tag.WOOL, Tag.CARPETS).add(SHULKER_BOXES, STAINED_GLASS, STAINED_GLASS_PANES, CONCRETES, BEDS); + .add(Tag.WOOL, Tag.CARPETS).add(SHULKER_BOXES, STAINED_GLASS, STAINED_GLASS_PANES, CONCRETES, BEDS);
@ -657,7 +659,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ .endsWith("_CORAL_FAN") + .endsWith("_CORAL_FAN")
+ .endsWith("_CORAL_WALL_FAN") + .endsWith("_CORAL_WALL_FAN")
+ .ensureSize("CORAL_FANS", 20); + .ensureSize("CORAL_FANS", 20);
+ +
+ /** + /**
+ * Covers the variants of coral blocks. + * Covers the variants of coral blocks.
+ */ + */