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

@@ -90,5 +90,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ public void setHasEgg(boolean hasEgg) {
+ getHandle().setHasEgg(hasEgg);
+ }
+
+ @Override
+ public boolean isLayingEgg() {
+ return this.getHandle().isLayingEgg();
+ }
+ // Paper end
}