mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Add doors to material tags
This commit is contained in:
parent
d37d042ff1
commit
6a78920744
1 changed files with 15 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue