Add love mode API to Animals

By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
CraftBukkit/Spigot
2019-02-27 21:56:25 +00:00
parent 94a194355b
commit d0fdcfcf41
2 changed files with 22 additions and 2 deletions

View File

@@ -1,8 +1,11 @@
--- a/net/minecraft/server/EntityAnimal.java
+++ b/net/minecraft/server/EntityAnimal.java
@@ -8,6 +8,7 @@
@@ -6,8 +6,9 @@
public abstract class EntityAnimal extends EntityAgeable implements IAnimal {
protected Block bF;
private int bC;
- private int bC;
+ public int bC; // CraftBukkit - private -> public
public UUID breedCause;
+ public ItemStack breedItem; // CraftBukkit - Add breedItem variable