Class VanillaHusbandryAdvancements
java.lang.Object
net.minecraft.data.advancements.packs.VanillaHusbandryAdvancements
- All Implemented Interfaces:
AdvancementSubProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final List<EntityType<?>>
private static final Item[]
private static final Item[]
private static final Item[]
static final List<EntityType<?>>
private static final Item[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static Advancement.Builder
addBreedable
(Advancement.Builder p_266978_, Stream<EntityType<?>> p_267147_, Stream<EntityType<?>> p_267091_) private static Advancement.Builder
addCatVariants
(Advancement.Builder p_249232_) private static Advancement.Builder
addFish
(Advancement.Builder p_248725_) private static Advancement.Builder
addFishBuckets
(Advancement.Builder p_249285_) private static Advancement.Builder
addFood
(Advancement.Builder p_248532_) private static Advancement.Builder
addLeashedFrogVariants
(Advancement.Builder p_249739_) static Advancement
createBreedAllAnimalsAdvancement
(Advancement p_267284_, Consumer<Advancement> p_266923_, Stream<EntityType<?>> p_266961_, Stream<EntityType<?>> p_266751_) void
generate
(HolderLookup.Provider p_255680_, Consumer<Advancement> p_251389_)
-
Field Details
-
BREEDABLE_ANIMALS
-
INDIRECTLY_BREEDABLE_ANIMALS
-
FISH
-
FISH_BUCKETS
-
EDIBLE_ITEMS
-
WAX_SCRAPING_TOOLS
-
-
Constructor Details
-
VanillaHusbandryAdvancements
public VanillaHusbandryAdvancements()
-
-
Method Details
-
generate
- Specified by:
generate
in interfaceAdvancementSubProvider
-
createBreedAllAnimalsAdvancement
public static Advancement createBreedAllAnimalsAdvancement(Advancement p_267284_, Consumer<Advancement> p_266923_, Stream<EntityType<?>> p_266961_, Stream<EntityType<?>> p_266751_) -
addLeashedFrogVariants
-
addFood
-
addBreedable
private static Advancement.Builder addBreedable(Advancement.Builder p_266978_, Stream<EntityType<?>> p_267147_, Stream<EntityType<?>> p_267091_) -
addFishBuckets
-
addFish
-
addCatVariants
-