类 DeferredWorkQueueTest

java.lang.Object
net.neoforged.neoforge.oldtest.DeferredWorkQueueTest

public class DeferredWorkQueueTest extends Object
Tests that the DeferredWorkQueue properly executes enqueued tasks and forwards any exceptions thrown by those tasks
  • 字段详细资料

    • MOD_ID

      public static final String MOD_ID
      另请参阅:
    • ENABLE

      private static final boolean ENABLE
      另请参阅:
    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • 构造器详细资料

    • DeferredWorkQueueTest

      public DeferredWorkQueueTest()
  • 方法详细资料

    • onCommonSetup

      public static void onCommonSetup(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
    • executeThrowingRunnable

      private static void executeThrowingRunnable()
    • executeThrowingSupplier

      private static String executeThrowingSupplier()