Class ServerFutureProcessor

java.lang.Object
com.ldtteam.structurize.storage.ServerFutureProcessor

public class ServerFutureProcessor extends Object
Waits for blueprint futures to finish loading and then processes them.
  • Constructor Details

    • ServerFutureProcessor

      public ServerFutureProcessor()
  • Method Details

    • queueBlueprint

      public static void queueBlueprint(@NotNull @NotNull ServerFutureProcessor.BlueprintProcessingData processingData)
      Queue processing data to be handled on tick.
      Parameters:
      processingData - the data to be processed.
    • queueBlueprintList

      public static void queueBlueprintList(@NotNull @NotNull ServerFutureProcessor.BlueprintListProcessingData processingData)
      Queue processing data to be handled on tick.
      Parameters:
      processingData - the data to be processed.
    • queueBlueprintData

      public static void queueBlueprintData(@NotNull @NotNull ServerFutureProcessor.BlueprintDataProcessingData processingData)
      Queue processing data to be handled on tick.
      Parameters:
      processingData - the data to be processed.
    • onWorldTick

      public static void onWorldTick(net.neoforged.neoforge.event.TickEvent.LevelTickEvent event)