Search results

  1. D

    Solved EntityDeathEvent not being fired

    Nevermind, found a solution. If anyone would have a similar problem in the future, try using the setRemoveWhenFarAway function and set it to false. If this is not set to false, it seems like the setPersistant is just ignored.
  2. D

    Solved EntityDeathEvent not being fired

    I'm working on a minigame, where the game throws in hoards of mobs (mostly zombies) for the players to fight off. I would like to have a counter, which counts down how many of the mobs are still alive, however I find the "check it on every x tick method" very unoptimized and for some reason...