adjust material set tag sizes

MC added a buuuunch of stuff
This commit is contained in:
MiniDigger 2021-06-13 20:34:14 +02:00
parent 7f15d7832f
commit 123a41d132

View file

@ -113,7 +113,7 @@ index 0000000000000000000000000000000000000000..a02a02aa0c87e0f0ed9e509e4dcab015
+}
diff --git a/src/main/java/com/destroystokyo/paper/MaterialTags.java b/src/main/java/com/destroystokyo/paper/MaterialTags.java
new file mode 100644
index 0000000000000000000000000000000000000000..2b5a61a8afa8f73006676cdcb8a34640b43de1c3
index 0000000000000000000000000000000000000000..e8e6b2156b72bc5c115ac522a36efeeff8acd557
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/MaterialTags.java
@@ -0,0 +1,558 @@
@ -173,7 +173,7 @@ index 0000000000000000000000000000000000000000..2b5a61a8afa8f73006676cdcb8a34640
+ */
+ public static final MaterialSetTag BUCKETS = new MaterialSetTag(keyFor("buckets"))
+ .endsWith("BUCKET")
+ .ensureSize("BUCKETS", 8);
+ .ensureSize("BUCKETS", 10);
+
+ /**
+ * Covers coal and charcoal.
@ -254,7 +254,7 @@ index 0000000000000000000000000000000000000000..2b5a61a8afa8f73006676cdcb8a34640
+ public static final MaterialSetTag GLASS = new MaterialSetTag(keyFor("glass"))
+ .endsWith("_GLASS")
+ .add(Material.GLASS)
+ .ensureSize("GLASS", 17);
+ .ensureSize("GLASS", 18);
+
+ /**
+ * Covers the non-colored glass panes and stained glass panes (panes only).
@ -305,7 +305,7 @@ index 0000000000000000000000000000000000000000..2b5a61a8afa8f73006676cdcb8a34640
+ */
+ public static final MaterialSetTag INFESTED_BLOCKS = new MaterialSetTag(keyFor("infested_blocks"))
+ .startsWith("INFESTED_")
+ .ensureSize("INFESTED_BLOCKS", 6);
+ .ensureSize("INFESTED_BLOCKS", 7);
+
+ /**
+ * Covers the variants of mushroom blocks.
@ -333,7 +333,7 @@ index 0000000000000000000000000000000000000000..2b5a61a8afa8f73006676cdcb8a34640
+ public static final MaterialSetTag ORES = new MaterialSetTag(keyFor("ores"))
+ .add(Material.ANCIENT_DEBRIS)
+ .endsWith("_ORE")
+ .ensureSize("ORES", 10);
+ .ensureSize("ORES", 19);
+
+ /**
+ * Covers all piston typed items and blocks including the piston head and moving piston.
@ -433,7 +433,7 @@ index 0000000000000000000000000000000000000000..2b5a61a8afa8f73006676cdcb8a34640
+ */
+ public static final MaterialSetTag SPAWN_EGGS = new MaterialSetTag(keyFor("spawn_eggs"))
+ .endsWith("_SPAWN_EGG")
+ .ensureSize("SPAWN_EGGS", 64);
+ .ensureSize("SPAWN_EGGS", 67);
+
+ /**
+ * Covers all colors of stained glass.