• Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • Environment:

      Edition: Microsoft Windows 10 Home (64-bit)

      OS Build: 18362.900

      Version: 1903

      Processor: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz

      GPU: NVIDIA GeForce GTX 950M

      RAM: 12.0 GB

    • CraftBukkit version git-Spigot-9639cf7-7c03d25 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
    • Yes

      Piglins, Zoglins, and Hoglins don't trigger EntityTargetEvent or EntityTargetLivingEntityEvent. This may apply to other mobs that I am unaware of.

      I used the following code to test this and was unable to get an output from Piglins, Zoglins, and Hoglins.

      @EventHandler 
      public void Test(EntityTargetLivingEntityEvent event) { Bukkit.broadcastMessage("EntityTargetLivingEntityEvent"); Bukkit.broadcastMessage(event.getEntityType().toString()); Bukkit.broadcastMessage(event.getTarget().getUniqueId().toString()); 
      }  
      @EventHandler 
      public void Test(EntityTargetEvent event) { Bukkit.broadcastMessage("EntityTargetEvent"); Bukkit.broadcastMessage(event.getEntityType().toString()); Bukkit.broadcastMessage(event.getTarget().getUniqueId().toString()); 
      }
      

            Assignee:
            Unassigned
            Reporter:
            Jaxon Leake
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: