-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
MacOS 10.14
Java =
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
Shanes-MacBook-Pro:~ Shane$
-
This server is running CraftBukkit version git-Spigot-947a8e7-3a91182 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
-
Yes
When a zombie maliciously jumps on and breaks turtle eggs the EntityInteractEvent does not fire.
If a zombie steps on an egg and it breaks it fires.
Further detail:
I used the following code to test this
@EventHandler public void onTurtleEggTrample(EntityInteractEvent e) { Material block = e.getBlock().getType(); String string = e.getEntity().toString(); Bukkit.getServer().getConsoleSender().sendMessage("test " + block + " " + string); }
If a zombie walks over an egg and it breaks, the event will fire, sending the message to console. (This is the event almost like the zombie accidentally broke the egg by walking on it, not when they jump on it)
If a zombie jumps on an egg and it breaks (the one where they jump up and down until it breaks, and the little smoke cloud puffs out) then the event does not fire.
VIDEO:
As you can see in the video, the first time the Zombie tramples the egg, the egg breaks, the smoke cloud appears, but the event is not fired to the console.
The second time the zombie tramples the egg, no animation, and the event fires.