Class FabricSherdDatagenSuite

java.lang.Object
dev.thomasglasser.sherdsapi.api.data.BaseSherdDatagenSuite<FabricSherdDatagenSuite>
dev.thomasglasser.sherdsapi.api.data.FabricSherdDatagenSuite

public class FabricSherdDatagenSuite extends BaseSherdDatagenSuite<FabricSherdDatagenSuite>
Sherd datagen adapted to Fabric API
  • Constructor Details

    • FabricSherdDatagenSuite

      public FabricSherdDatagenSuite(String modId)
      Parameters:
      modId - The ID of the mod making sherds.
  • Method Details

    • buildRegistry

      public void buildRegistry(net.minecraft.core.RegistrySetBuilder builder)
      Adds the registry keys created to the provided RegistrySetBuilder

      Must be called in DataGeneratorEntrypoint.buildRegistry(RegistrySetBuilder) in order for this suite to work

      Parameters:
      builder - The builder to add the keys to
    • build

      public void build(net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack pack)
      Registers the datagen with the provided pack
      Parameters:
      pack - The pack to register datagen with