Playing particles without schedulers

Discussion in 'Plugin Development' started by FoxinatorDev, Aug 31, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    FoxinatorDev

    I know I could just use schedulers to continuously play particles but I'm just curious. I'm making my own custom entity with some custom pathfinders and I was wondering if one of the methods runs every tick like the a() method in pathfinder classes. The entity class extends EntityBlaze. I've been trying to look this up but I'm not able to find a lot of information about NMS and I don't understand most of the code inside EntityBlaze. If this does not make sense, let me know and I'll try my best to rephrase it better.
     
  2. Offline

    KarimAKL

    @FoxinatorDev I'm not completely sure but, i believe NMS entities have a "tick()" method you can override. You probably want to call the super.tick() before doing whatever you want.
     
  3. Offline

    FoxinatorDev

    There is not a tick() method. Sorry about forgetting to mention this but I'm using 1.8.9.
     
Thread Status:
Not open for further replies.

Share This Page