net.minecraftforge.client.model.generators.ExistingFileHelper Java Examples
The following examples show how to use
net.minecraftforge.client.model.generators.ExistingFileHelper.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Generator.java From MiningGadgets with MIT License | 5 votes |
private static void registerClientProviders(DataGenerator generator, GatherDataEvent event) { ExistingFileHelper helper = event.getExistingFileHelper(); generator.addProvider(new GeneratorBlockStates(generator, helper)); generator.addProvider(new GeneratorItemModels(generator, helper)); generator.addProvider(new GeneratorLanguage(generator)); }
Example #2
Source File: DataGenerators.java From EnderStorage with MIT License | 5 votes |
@SubscribeEvent public static void gatherDataGenerators(GatherDataEvent event) { DataGenerator gen = event.getGenerator(); ExistingFileHelper files = event.getExistingFileHelper(); if (event.includeClient()) { gen.addProvider(new BlockStates(gen, files)); gen.addProvider(new ItemModels(gen, files)); } }
Example #3
Source File: GatherDataEvent.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
public GatherDataEvent(final ModContainer modContainer, final DataGenerator dataGenerator, final DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper) { super(modContainer); this.dataGenerator = dataGenerator; this.config = dataGeneratorConfig; this.existingFileHelper = existingFileHelper; }
Example #4
Source File: GatherDataEvent.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
public ExistingFileHelper getExistingFileHelper() { return existingFileHelper; }
Example #5
Source File: GeneratorItemModels.java From MiningGadgets with MIT License | 4 votes |
public GeneratorItemModels(DataGenerator generator, ExistingFileHelper existingFileHelper) { super(generator, MiningGadgets.MOD_ID, existingFileHelper); }
Example #6
Source File: GeneratorBlockStates.java From MiningGadgets with MIT License | 4 votes |
public GeneratorBlockStates(DataGenerator gen, ExistingFileHelper exFileHelper) { super(gen, MiningGadgets.MOD_ID, exFileHelper); }
Example #7
Source File: DataGenerators.java From EnderStorage with MIT License | 4 votes |
public ItemModels(DataGenerator generator, ExistingFileHelper existingFileHelper) { super(generator, MOD_ID, existingFileHelper); }
Example #8
Source File: DataGenerators.java From EnderStorage with MIT License | 4 votes |
public BlockStates(DataGenerator gen, ExistingFileHelper exFileHelper) { super(gen, MOD_ID, exFileHelper); }