mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 12:42:05 -07:00
Add entity API for getting the combined gene of a Panda (#9891)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user