Add more entity api (#7564)

This commit is contained in:
Nassim Jahnke
2022-03-11 15:24:45 +01:00
parent b35c03a546
commit 897e92fb9d
6 changed files with 408 additions and 112 deletions

View File

@@ -279,5 +279,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ * @param hasEgg True if carrying egg
+ */
+ void setHasEgg(boolean hasEgg);
+
+ /**
+ * Returns whether the turtle is currently laying an egg.
+ *
+ * @return whether the turtle is laying an egg
+ */
+ boolean isLayingEgg();
+ // Paper end
+}