geforkt von Mirrors/Paper
Add GLOW_SQUID and AXOLOTL to WATER_BASED Tag (#6481)
Dieser Commit ist enthalten in:
Ursprung
182f56cdd5
Commit
ba80255df9
@ -891,7 +891,7 @@ index 0000000000000000000000000000000000000000..c89c4619aaf388197834d98eb95af2f1
|
|||||||
+}
|
+}
|
||||||
diff --git a/src/main/java/io/papermc/paper/tag/EntityTags.java b/src/main/java/io/papermc/paper/tag/EntityTags.java
|
diff --git a/src/main/java/io/papermc/paper/tag/EntityTags.java b/src/main/java/io/papermc/paper/tag/EntityTags.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..9266c9d77e2eef7cd717dc729834a190f1fc7c1d
|
index 0000000000000000000000000000000000000000..683688edff2c86d92f6b3e15271c3289b39e42d7
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/io/papermc/paper/tag/EntityTags.java
|
+++ b/src/main/java/io/papermc/paper/tag/EntityTags.java
|
||||||
@@ -0,0 +1,50 @@
|
@@ -0,0 +1,50 @@
|
||||||
@ -942,8 +942,8 @@ index 0000000000000000000000000000000000000000..9266c9d77e2eef7cd717dc729834a190
|
|||||||
+ * @see <a href="https://minecraft.gamepedia.com/Mob#Water-based_mobs">https://minecraft.gamepedia.com/Mob#Water-based_mobs</a>
|
+ * @see <a href="https://minecraft.gamepedia.com/Mob#Water-based_mobs">https://minecraft.gamepedia.com/Mob#Water-based_mobs</a>
|
||||||
+ */
|
+ */
|
||||||
+ public static final EntitySetTag WATER_BASED = new EntitySetTag(keyFor("water_based"))
|
+ public static final EntitySetTag WATER_BASED = new EntitySetTag(keyFor("water_based"))
|
||||||
+ .add(DOLPHIN, SQUID, GUARDIAN, ELDER_GUARDIAN, TURTLE, COD, SALMON, PUFFERFISH, TROPICAL_FISH)
|
+ .add(AXOLOTL, DOLPHIN, SQUID, GLOW_SQUID, GUARDIAN, ELDER_GUARDIAN, TURTLE, COD, SALMON, PUFFERFISH, TROPICAL_FISH)
|
||||||
+ .ensureSize("WATER_BASED", 9);
|
+ .ensureSize("WATER_BASED", 11);
|
||||||
+}
|
+}
|
||||||
diff --git a/src/main/java/org/bukkit/Tag.java b/src/main/java/org/bukkit/Tag.java
|
diff --git a/src/main/java/org/bukkit/Tag.java b/src/main/java/org/bukkit/Tag.java
|
||||||
index 53b66c28f0fed97664d0886683731e94ca59bdd2..88ea8b6c5c2c4d2116f646341de62590718bc28c 100644
|
index 53b66c28f0fed97664d0886683731e94ca59bdd2..88ea8b6c5c2c4d2116f646341de62590718bc28c 100644
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren