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:
parent
7fa3594c04
commit
07bcff5067
1 changed files with 3 additions and 0 deletions
|
@ -52,7 +52,10 @@ import net.minecraftforge.forgespi.language.IModInfo;
|
||||||
* <p>
|
* <p>
|
||||||
* Exceptions from tasks will be handled gracefully, causing a mod loading
|
* Exceptions from tasks will be handled gracefully, causing a mod loading
|
||||||
* error. Tasks that take egregiously long times to run will be logged.
|
* 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
|
public class DeferredWorkQueue
|
||||||
{
|
{
|
||||||
private static class TaskInfo
|
private static class TaskInfo
|
||||||
|
|
Loading…
Reference in a new issue