13
0
geforkt von Mirrors/Paper

Add doors to material tags

Dieser Commit ist enthalten in:
Malfrador 2020-12-31 19:31:35 +01:00
Ursprung d37d042ff1
Commit 6a78920744

Datei anzeigen

@ -306,6 +306,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ .add(Material.COOKED_COD, Material.COOKED_SALMON);
+
+ /**
+ * Covers all variants of doors.
+ */
+ public static final MaterialSetTag DOORS = new MaterialSetTag(keyFor("doors"))
+ .endsWith("_DOOR")
+ .ensureSize("DOORS", 9);
+
+ /**
+ * Covers all dyes.
+ */
+ public static final MaterialSetTag DYES = new MaterialSetTag(keyFor("dyes"))
@ -542,6 +549,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ .ensureSize("TRAPDOORS", 9);
+
+ /**
+ * Covers all wood variants of doors.
+ */
+ public static final MaterialSetTag WOODEN_DOORS = new MaterialSetTag(keyFor("wooden_doors"))
+ .endsWith("_DOOR")
+ .not(Material.IRON_DOOR)
+ .ensureSize("WOODEN_DOORS", 8);
+
+ /**
+ * Covers all wood variants of fences.
+ */
+ public static final MaterialSetTag WOODEN_FENCES = new MaterialSetTag(keyFor("wooden_fences"))