From 07bcff5067c90e4fd6476187fa07d7eafa1adec1 Mon Sep 17 00:00:00 2001 From: cpw Date: Tue, 17 Sep 2019 21:39:34 -0400 Subject: [PATCH] Tag the deprecation of DeferredWorkQueue. I think this is causing confusion as to scope. Its functionality will be tied to the events in future - so mods can request the deferred work through methods on the Mod Lifecycle events directly. The API will be coming soon. Signed-off-by: cpw --- src/main/java/net/minecraftforge/fml/DeferredWorkQueue.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/minecraftforge/fml/DeferredWorkQueue.java b/src/main/java/net/minecraftforge/fml/DeferredWorkQueue.java index ad3f561b9..1ef7d0942 100644 --- a/src/main/java/net/minecraftforge/fml/DeferredWorkQueue.java +++ b/src/main/java/net/minecraftforge/fml/DeferredWorkQueue.java @@ -52,7 +52,10 @@ import net.minecraftforge.forgespi.language.IModInfo; *

* Exceptions from tasks will be handled gracefully, causing a mod loading * error. Tasks that take egregiously long times to run will be logged. + * + * This is being deprecated in favour of a new interface on loading events, to remove confusion about how it operates. #TODO */ +@Deprecated public class DeferredWorkQueue { private static class TaskInfo