I've created custom class for guardian entity, but I'm not moving the entity or doing anything with it, so entityBaseTick execute only when someone collide with the entity... That means until someone collide with it attackTime is not getting decreased and I can't hit the entity because it's higher than 0... Please help
My temporary solution is creating task that execute entityBaseTick of entities every 0.5 seconds, but if you know any better way to do it, then tell me please