Add more entity api (#7564)
This commit is contained in:
parent
b35c03a546
commit
897e92fb9d
6 changed files with 408 additions and 112 deletions
|
@ -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
|
||||
+}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue