Package net.minecraft.profiler

Examples of net.minecraft.profiler.Profiler.startSection()


            entityPlayerMP.playerNetServerHandler.sendPacketToPlayer(new Packet4UpdateTime(totalTime, entityPlayerMP.getPlayerTime(), doDaylightCycle));
          }
          profiler.endSection();
        }

        profiler.startSection("forgeTick");
        FMLCommonHandler.instance().onPreWorldTick(world);

        profiler.endStartSection("worldTick");
        world.tick();
        profiler.endStartSection("entityTick");
View Full Code Here


        profiler.endStartSection("entityTick");
        world.updateEntities();
        profiler.endStartSection("postForgeTick");
        FMLCommonHandler.instance().onPostWorldTick(world);
        profiler.endSection();
        profiler.startSection("tracker");
        world.getEntityTracker().updateTrackedEntities();
        profiler.endSection();
        if (tickCount % 14 == 0) {
          exceptionCount.put(id, 0);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.