Class VanillaHusbandryAdvancements
java.lang.Object
net.minecraft.data.advancements.packs.VanillaHusbandryAdvancements
- All Implemented Interfaces:
AdvancementSubProvider
- Direct Known Subclasses:
UpdateOneTwentyAdvancements
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final EntityType<?>[]
private static final Item[]
private static final Item[]
private static final Item[]
private static final EntityType<?>[]
private static final Item[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) Advancement.Builder
addBreedable
(Advancement.Builder p_250185_) private Advancement.Builder
addCatVariants
(Advancement.Builder p_249232_) private Advancement.Builder
addFish
(Advancement.Builder p_248725_) private Advancement.Builder
addFishBuckets
(Advancement.Builder p_249285_) private Advancement.Builder
addFood
(Advancement.Builder p_248532_) private Advancement.Builder
addLeashedFrogVariants
(Advancement.Builder p_249739_) (package private) Advancement
createBreedAllAnimalsAdvancement
(Advancement p_261727_, Consumer<Advancement> p_262006_) (package private) Advancement
createBreedAnAnimalAdvancement
(Advancement p_262045_, Consumer<Advancement> p_262162_) (package private) Advancement
createRoot
(Consumer<Advancement> p_262142_) void
generate
(HolderLookup.Provider p_255680_, Consumer<Advancement> p_251389_) EntityType<?>[]
EntityType<?>[]
-
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
-
createRoot
-
createBreedAnAnimalAdvancement
-
createBreedAllAnimalsAdvancement
Advancement createBreedAllAnimalsAdvancement(Advancement p_261727_, Consumer<Advancement> p_262006_) -
addLeashedFrogVariants
-
addFood
-
addBreedable
-
addFishBuckets
-
addFish
-
addCatVariants
-
getBreedableAnimals
-
getIndirectlyBreedableAnimals
-