SPIGOT-4338: breedCause API

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-09-01 19:28:12 +10:00
parent eb271172ce
commit 44e4798b95
2 changed files with 15 additions and 2 deletions

View File

@@ -1,9 +1,11 @@
--- a/net/minecraft/server/EntityAnimal.java
+++ b/net/minecraft/server/EntityAnimal.java
@@ -8,6 +8,7 @@
@@ -7,7 +7,8 @@
protected Block bF;
private int bC;
private UUID bD;
- private UUID bD;
+ public UUID bD; // PAIL
+ public ItemStack breedItem; // CraftBukkit - Add breedItem variable
protected EntityAnimal(EntityTypes<?> entitytypes, World world) {