public class HusbandryTabAdvancementGenerator extends Object implements Consumer<Consumer<Advancement>>
Modifier and Type | Field and Description |
---|---|
private static EntityType<?>[] |
BREEDABLE_ANIMALS |
private static Item[] |
FISH_BUCKET_ITEMS |
private static Item[] |
FISH_ITEMS |
private static Item[] |
FOOD_ITEMS |
Constructor and Description |
---|
HusbandryTabAdvancementGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
accept(Consumer<Advancement> consumer) |
private Advancement.Task |
requireAllCatsTamed(Advancement.Task task) |
private Advancement.Task |
requireFoodItemsEaten(Advancement.Task task) |
private Advancement.Task |
requireListedAnimalsBred(Advancement.Task task) |
private Advancement.Task |
requireListedFishBucketsFilled(Advancement.Task task) |
private Advancement.Task |
requireListedFishCaught(Advancement.Task task) |
private static final EntityType<?>[] BREEDABLE_ANIMALS
private static final Item[] FISH_ITEMS
private static final Item[] FISH_BUCKET_ITEMS
private static final Item[] FOOD_ITEMS
public void accept(Consumer<Advancement> consumer)
accept
in interface Consumer<Consumer<Advancement>>
private Advancement.Task requireFoodItemsEaten(Advancement.Task task)
private Advancement.Task requireListedAnimalsBred(Advancement.Task task)
private Advancement.Task requireListedFishBucketsFilled(Advancement.Task task)
private Advancement.Task requireListedFishCaught(Advancement.Task task)
private Advancement.Task requireAllCatsTamed(Advancement.Task task)