Add Material Tags for Coral, Coral Fangs and Coral Blocks
This commit is contained in:
@@ -718,6 +718,28 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ 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);
|
||||||
+ //.ensureSize("COLORABLE", 81); unit test don't have the vanilla item tags, so counts don't line up for real
|
+ //.ensureSize("COLORABLE", 81); unit test don't have the vanilla item tags, so counts don't line up for real
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * Covers the variants of coral.
|
||||||
|
+ */
|
||||||
|
+ public static final MaterialSetTag CORAL = new MaterialSetTag(keyFor("coral"))
|
||||||
|
+ .endsWith("_CORAL")
|
||||||
|
+ .ensureSize("CORAL", 10);
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * Covers the variants of coral fans.
|
||||||
|
+ */
|
||||||
|
+ public static final MaterialSetTag CORAL_FANS = new MaterialSetTag(keyFor("coral_fans"))
|
||||||
|
+ .endsWith("_CORAL_FAN")
|
||||||
|
+ .endsWith("_CORAL_WALL_FAN")
|
||||||
|
+ .ensureSize("CORAL_FANS", 20);
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
|
+ * Covers the variants of coral blocks.
|
||||||
|
+ */
|
||||||
|
+ public static final MaterialSetTag CORAL_BLOCKS = new MaterialSetTag(keyFor("coral_blocks"))
|
||||||
|
+ .endsWith("_CORAL_BLOCK")
|
||||||
|
+ .ensureSize("CORAL_BLOCKS", 10);
|
||||||
+}
|
+}
|
||||||
diff --git a/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java b/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java
|
diff --git a/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java b/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
|
|||||||
Reference in New Issue
Block a user