Package net.neoforged.neoforge.oldtest
Class DeferredHolderTest
java.lang.Object
net.neoforged.neoforge.oldtest.DeferredHolderTest
Checks that
DeferredHolder
works correctly, specifically that get() functions immediately
after construction, if registries are already populated.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
commonSetup
(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
-
Field Details
-
MODID
- See Also:
-
ENABLED
private static final boolean ENABLED- See Also:
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
DeferredHolderTest
public DeferredHolderTest(net.neoforged.bus.api.IEventBus modBus)
-
-
Method Details
-
commonSetup
public void commonSetup(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
-