类 DeferredHolderTest

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

public class DeferredHolderTest extends Object
Checks that DeferredHolder works correctly, specifically that get() functions immediately after construction, if registries are already populated.
  • 字段详细资料

    • MODID

      static final String MODID
      另请参阅:
    • ENABLED

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

      private static final org.apache.logging.log4j.Logger LOGGER
  • 构造器详细资料

    • DeferredHolderTest

      public DeferredHolderTest(net.neoforged.bus.api.IEventBus modBus)
  • 方法详细资料

    • commonSetup

      public void commonSetup(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)