Add entity API for getting the combined gene of a Panda (#9891)
This commit is contained in:
parent
5a34a7c895
commit
d1c10d63dc
2 changed files with 19 additions and 2 deletions
|
@ -705,6 +705,17 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ */
|
||||
+ @Override
|
||||
+ boolean isSitting();
|
||||
+
|
||||
+ /**
|
||||
+ * Gets this Panda's combined gene.
|
||||
+ * <p>
|
||||
+ * The combined gene can be modified using
|
||||
+ * {@link #setMainGene(Gene)} or {@link #setHiddenGene(Gene)}.
|
||||
+ *
|
||||
+ * @return combined gene
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ Gene getCombinedGene();
|
||||
+ // Paper end - Panda API
|
||||
+
|
||||
public enum Gene {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue