Package com.ldtteam.structurize.storage
Class ServerFutureProcessor
java.lang.Object
com.ldtteam.structurize.storage.ServerFutureProcessor
Waits for blueprint futures to finish loading and then processes them.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordData to be processed.static final recordData to be processed.static final recordData to be processed. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidonWorldTick(net.neoforged.neoforge.event.TickEvent.LevelTickEvent event) static voidqueueBlueprint(@NotNull ServerFutureProcessor.BlueprintProcessingData processingData) Queue processing data to be handled on tick.static voidqueueBlueprintData(@NotNull ServerFutureProcessor.BlueprintDataProcessingData processingData) Queue processing data to be handled on tick.static voidqueueBlueprintList(@NotNull ServerFutureProcessor.BlueprintListProcessingData processingData) Queue processing data to be handled on tick.
-
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)
-