Package nallar.tickthreading.minecraft

Examples of nallar.tickthreading.minecraft.ThreadManager$DelayableRunnable


    if (ticksPerMonsterSpawns == 0) {
      ticksPerMonsterSpawns = 1;
    }
    if (rand != null) {
      // Not MFR grinder
      threadManager = new ThreadManager(TickThreading.instance.getThreadCount(), "Chunk Updates for " + Log.name(this));
    }
    try {
      pendingTickListEntriesHashSet = null;
    } catch (NoSuchFieldError ignored) {
      //MCPC+ compatibility - they also remove this.
View Full Code Here


    runQueuedTasks();

    Integer[] dimensionIdsToTick = this.dimensionIdsToTick = DimensionManager.getIDs();

    if (threadManager == null) {
      threadManager = new ThreadManager(8, "World Tick");
      currentWorld = new AtomicInteger(0);
      tickRunnable = new TickRunnable(this);
    }

    currentWorld.set(0);
View Full Code Here

TOP

Related Classes of nallar.tickthreading.minecraft.ThreadManager$DelayableRunnable

Copyright © 2018 www.massapicom. 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.