MCPcopy Create free account
hub / github.com/Teneted/Tenet / gatherData

Method gatherData

src/main/java/net/minecraftforge/common/ForgeMod.java:190–202  ·  view source on GitHub ↗
(GatherDataEvent event)

Source from the content-addressed store, hash-verified

188 }
189
190 public void gatherData(GatherDataEvent event)
191 {
192 DataGenerator gen = event.getGenerator();
193
194 if (event.includeServer())
195 {
196 ForgeBlockTagsProvider blockTags = new ForgeBlockTagsProvider(gen, event.getExistingFileHelper());
197 gen.addProvider(blockTags);
198 gen.addProvider(new ForgeItemTagsProvider(gen, blockTags, event.getExistingFileHelper()));
199 gen.addProvider(new ForgeRecipeProvider(gen));
200 gen.addProvider(new ForgeLootTableProvider(gen));
201 }
202 }
203
204 public void missingSoundMapping(RegistryEvent.MissingMappings<SoundEvent> event)
205 {

Callers

nothing calls this directly

Calls 3

includeServerMethod · 0.80
getExistingFileHelperMethod · 0.80
getGeneratorMethod · 0.65

Tested by

no test coverage detected