mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Add missing Javadoc for COLORABLE MaterialTag (#5376)
* Add buttons materialtag and comment for colorable with some format fixes
This commit is contained in:
parent
accd70d21f
commit
63081dce92
1 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||||
+ */
|
+ */
|
||||||
|
|
Loading…
Reference in a new issue