Class GatherDataEvent.DataGeneratorConfig

java.lang.Object
net.minecraftforge.fml.event.lifecycle.GatherDataEvent.DataGeneratorConfig
Enclosing class:
GatherDataEvent

public static class GatherDataEvent.DataGeneratorConfig extends Object
  • Field Details

    • mods

      private final Set<String> mods
    • path

      private final Path path
    • inputs

      private final Collection<Path> inputs
    • server

      private final boolean server
    • client

      private final boolean client
    • dev

      private final boolean dev
    • reports

      private final boolean reports
    • validate

      private final boolean validate
    • flat

      private final boolean flat
    • generators

      private List<DataGenerator> generators
  • Constructor Details

    • DataGeneratorConfig

      public DataGeneratorConfig(Set<String> mods, Path path, Collection<Path> inputs, boolean server, boolean client, boolean dev, boolean reports, boolean validate, boolean flat)
  • Method Details

    • getMods

      public Set<String> getMods()
    • isFlat

      public boolean isFlat()
    • makeGenerator

      public DataGenerator makeGenerator(Function<Path,Path> pathEnhancer, boolean shouldExecute)
    • runAll

      public void runAll()