23 lines
1.0 KiB
Java
23 lines
1.0 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.data.advancements.packs;
|
|
|
|
import java.util.List;
|
|
import java.util.concurrent.CompletableFuture;
|
|
import net.minecraft.core.HolderLookup;
|
|
import net.minecraft.data.PackOutput;
|
|
import net.minecraft.data.advancements.AdvancementProvider;
|
|
import net.minecraft.data.advancements.packs.VanillaAdventureAdvancements;
|
|
import net.minecraft.data.advancements.packs.VanillaHusbandryAdvancements;
|
|
import net.minecraft.data.advancements.packs.VanillaNetherAdvancements;
|
|
import net.minecraft.data.advancements.packs.VanillaStoryAdvancements;
|
|
import net.minecraft.data.advancements.packs.VanillaTheEndAdvancements;
|
|
|
|
public class VanillaAdvancementProvider {
|
|
public static AdvancementProvider create(PackOutput output, CompletableFuture<HolderLookup.Provider> registries) {
|
|
return new AdvancementProvider(output, registries, List.of(new VanillaTheEndAdvancements(), new VanillaHusbandryAdvancements(), new VanillaAdventureAdvancements(), new VanillaNetherAdvancements(), new VanillaStoryAdvancements()));
|
|
}
|
|
}
|
|
|