Class BuildingShepherd.HerdingModule

All Implemented Interfaces:
IBuildingModule, IHasRequiredItemsModule, IHasDirty
Enclosing class:
BuildingShepherd

public static class BuildingShepherd.HerdingModule extends AnimalHerdingModule
Sheep herding module
  • Constructor Details

    • HerdingModule

      public HerdingModule()
  • Method Details

    • getRecipesForDisplayPurposesOnly

      @NotNull public @NotNull List<IGenericRecipe> getRecipesForDisplayPurposesOnly(@NotNull @NotNull net.minecraft.world.entity.animal.Animal animal)
      Description copied from class: AnimalHerdingModule
      Get a list of "recipes" for items obtainable by herding the given animal. This can include loot drops for killing the animal as well as anything else acquired through other means. These are purely for JEI display purposes and don't have to represent actual crafting recipes.
      Overrides:
      getRecipesForDisplayPurposesOnly in class AnimalHerdingModule
      Parameters:
      animal - An example animal. (Don't use specific properties of this; it's only for checking type.)
      Returns:
      the list of additional display recipes.