private void doTick() { var arraylist = new ArrayList(); for (Iterator iterator = field_6037_b.keySet().iterator(); iterator.hasNext();) { var s = (string)iterator.next(); int k = ((Integer)field_6037_b.get(s)).intValue(); if (k > 0) { field_6037_b.put(s, Integer.valueOf(k - 1)); } else { arraylist.add(s); } } for (int i = 0; i < arraylist.size(); i++) { field_6037_b.remove(arraylist.get(i)); } AxisAlignedBB.clearBoundingBoxPool(); Vec3D.initialize(); deathTime++; if (deathTime % 20 == 0) { configManager.sendPacketToAllPlayers(new Packet4UpdateTime(worldMngr.getWorldTime())); } worldMngr.tick(); while (worldMngr.func_6156_d()) { ; } worldMngr.updateEntities(); networkServer.func_715_a(); configManager.func_637_b(); entityTracker.updateTrackedEntities(); for (int j = 0; j < field_9010_p.size(); j++) { ((IUpdatePlayerListBox)field_9010_p.get(j)).update(); } try { commandLineParser(); } catch (java.lang.Exception exception) { logger.log(Level.WARNING, "Unexpected exception while parsing console command", exception); } }