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 <cpw+github@weeksfamily.ca>
This commit is contained in:
cpw 2019-09-17 21:39:34 -04:00
parent 7fa3594c04
commit 07bcff5067
No known key found for this signature in database
GPG key ID: 8EB3DF749553B1B7

View file

@ -52,7 +52,10 @@ import net.minecraftforge.forgespi.language.IModInfo;
* <p>
* 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