Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-16 03:20:07 +01:00
Re-add coral block tags (#4987)
Dieser Commit ist enthalten in:
Ursprung
7d56c8deb1
Commit
544c5c278b
@ -204,10 +204,10 @@ index 0000000000000000000000000000000000000000..c91ea2a0679a7f3a5627b5a008e0b39d
|
|||||||
+}
|
+}
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/MaterialTags.java b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
diff --git a/src/main/java/com/destroystokyo/paper/MaterialTags.java b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..b83b8d0ccc0d011c8cdcf026c91dcb1aeab9c596
|
index 0000000000000000000000000000000000000000..3f36165d89ae4aaa153dcb9ddbb8c58a9b1a046f
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
+++ b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
||||||
@@ -0,0 +1,549 @@
|
@@ -0,0 +1,556 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (c) 2018 Daniel Ennis (Aikar) MIT License
|
+ * Copyright (c) 2018 Daniel Ennis (Aikar) MIT License
|
||||||
+ *
|
+ *
|
||||||
@ -750,6 +750,13 @@ index 0000000000000000000000000000000000000000..b83b8d0ccc0d011c8cdcf026c91dcb1a
|
|||||||
+ .ensureSize("CORAL_FANS", 20);
|
+ .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);
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
+ * Covers all items that can be enchanted from the enchantment table or anvil.
|
+ * Covers all items that can be enchanted from the enchantment table or anvil.
|
||||||
+ */
|
+ */
|
||||||
+ public static final MaterialSetTag ENCHANTABLE = new MaterialSetTag(keyFor("enchantable"))
|
+ public static final MaterialSetTag ENCHANTABLE = new MaterialSetTag(keyFor("enchantable"))
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren