Class ExampleNeoForgeDataGenerator
java.lang.Object
dev.thomasglasser.sherdsapi.example.ExampleNeoForgeDataGenerator
Example of how to create sherds using the
NeoForgeSherdDatagenSuite.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgatherData(net.neoforged.neoforge.data.event.GatherDataEvent event) static voidregister(net.neoforged.bus.api.IEventBus bus) Must be called from the mod constructor to register the event
-
Constructor Details
-
ExampleNeoForgeDataGenerator
public ExampleNeoForgeDataGenerator()
-
-
Method Details
-
gatherData
public static void gatherData(net.neoforged.neoforge.data.event.GatherDataEvent event) -
register
public static void register(net.neoforged.bus.api.IEventBus bus) Must be called from the mod constructor to register the event- Parameters:
bus- The mod event bus to register to
-