Package net.minecraftforge.debug
Class DataGeneratorTest.Advancements
java.lang.Object
net.minecraftforge.debug.DataGeneratorTest.Advancements
- All Implemented Interfaces:
ForgeAdvancementProvider.AdvancementGenerator
- Enclosing class:
- DataGeneratorTest
private static class DataGeneratorTest.Advancements
extends Object
implements ForgeAdvancementProvider.AdvancementGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(HolderLookup.Provider registries, Consumer<Advancement> saver, ExistingFileHelper existingFileHelper) A method used to generate advancements for a mod.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.data.ForgeAdvancementProvider.AdvancementGenerator
toSubProvider
-
Constructor Details
-
Advancements
private Advancements()
-
-
Method Details
-
generate
public void generate(HolderLookup.Provider registries, Consumer<Advancement> saver, ExistingFileHelper existingFileHelper) Description copied from interface:ForgeAdvancementProvider.AdvancementGenerator
A method used to generate advancements for a mod. Advancements should be built viaIForgeAdvancementBuilder.save(Consumer, ResourceLocation, ExistingFileHelper)
.- Specified by:
generate
in interfaceForgeAdvancementProvider.AdvancementGenerator
- Parameters:
registries
- a lookup for registries and their objectssaver
- a consumer used to write advancements to a fileexistingFileHelper
- a helper used to find whether a file exists
-