Package net.minecraft.profiler

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


    profiler.endStartSection("portalForcer");
    this.worldTeleporter.removeStalePortalLocations(this.getTotalWorldTime());
    for (Teleporter tele : customTeleporters) {
      tele.removeStalePortalLocations(getTotalWorldTime());
    }
    profiler.endSection();
    this.sendAndApplyBlockEvents();
  }

  @Override
  protected void tickBlocksAndAmbiance() {
View Full Code Here


            activeChunkSet.add(new ChunkCoordIntPair(var6 + x, var7 + z));
          }
        }
      }

      profiler.endSection();

      if (this.ambientTickCountdown > 0) {
        --this.ambientTickCountdown;
      }
View Full Code Here

          int z = ((int) entityPlayer.posZ) + rand.nextInt(11) - 5;
          this.updateAllLightTypes(x, y, z);
        }
      }

      profiler.endSection();
    }

    chunkCoordIterator = activeChunkSet.iterator();

    if (concurrentTicks) {
View Full Code Here

    this.getNetworkThread().networkTick();

    profiler.endStartSection("dim_unloading");
    DimensionManager.unloadWorlds(worldTickTimes);

    profiler.endSection();
  }

  private void runQueuedTasks() {
    spigotTLETick();
View Full Code Here

            throw new ReportedException(var4);
          }
        }

        theProfiler.endSection();
        theProfiler.startSection("remove");

        if (weatherEffect.isDead) {
          var3 = weatherEffect.chunkCoordX;
          var13 = weatherEffect.chunkCoordZ;
View Full Code Here

          loadedEntityList.remove(var1--);
          onEntityRemoved(weatherEffect);
        }

        theProfiler.endSection();
      }
      theProfiler.endStartSection("tileEntities");
      scanningTileEntities = true;

      Iterator var14 = loadedTileEntityList.iterator();
View Full Code Here

      }
      try {
        profiler.startSection(world.getWorldInfo().getWorldName());
        profiler.startSection("pools");
        world.getWorldVec3Pool().clear();
        profiler.endSection();

        int tickCount = world.tickCount;
        if (tickCount % 30 == 0) {
          profiler.startSection("timeSync");
          long totalTime = world.getTotalWorldTime();
View Full Code Here

          long totalTime = world.getTotalWorldTime();
          boolean doDaylightCycle = world.getGameRules().getGameRuleBooleanValue("doDaylightCycle");
          for (EntityPlayerMP entityPlayerMP : (Iterable<EntityPlayerMP>) world.playerEntities) {
            entityPlayerMP.playerNetServerHandler.sendPacketToPlayer(new Packet4UpdateTime(totalTime, entityPlayerMP.getPlayerTime(), doDaylightCycle));
          }
          profiler.endSection();
        }

        profiler.startSection("forgeTick");
        FMLCommonHandler.instance().onPreWorldTick(world);
View Full Code Here

      }

      addedTileEntityList.clear();
    }

    theProfiler.endSection();
    theProfiler.endSection();
  }

  @Override
  public int isBlockProvidingPowerTo(int par1, int par2, int par3, int par4) {
View Full Code Here

      addedTileEntityList.clear();
    }

    theProfiler.endSection();
    theProfiler.endSection();
  }

  @Override
  public int isBlockProvidingPowerTo(int par1, int par2, int par3, int par4) {
    int id = getBlockIdWithoutLoad(par1, par2, par3);
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.