I have a WorldTickEvent that iterates over players. I was seeing some bugs so I have it printing the size of the player list.... it (consistently) gives me the sequence 000011000011000011. Really 001 since the world ticks twice per "tick". Why is my player list empty 2/3 of the time?
@SubscribeEvent
public static void onTick(TickEvent.WorldTickEvent event)
{
System.out.println("World: " + event.side.name() + " || Players: " + event.world.playerEntities.size());
}