Interface IFarmingManager


public interface IFarmingManager
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<IFarmable>
    getFarmables(net.minecraft.resources.ResourceLocation farmTypeId)
     
    getFarmType(net.minecraft.resources.ResourceLocation id)
     
    int
    getFertilizeValue(net.minecraft.world.item.ItemStack stack)
     
  • Method Details

    • getFarmables

      default List<IFarmable> getFarmables(net.minecraft.resources.ResourceLocation farmTypeId)
    • getFertilizeValue

      int getFertilizeValue(net.minecraft.world.item.ItemStack stack)
      Returns:
      The value of the fertilizer when used in a farm.
    • getFarmType

      @Nullable IFarmType getFarmType(net.minecraft.resources.ResourceLocation id)