Package forestry.api.agriculture
Interface IFarmingManager
public interface IFarmingManager
-
Method Summary
Modifier and TypeMethodDescriptiongetFarmables(net.minecraft.resources.ResourceLocation farmTypeId) getFarmType(net.minecraft.resources.ResourceLocation id) intgetFertilizeValue(net.minecraft.world.item.ItemStack stack) default booleanisLoaded()Used to check whether the farms jar is installed.
-
Method Details
-
isLoaded
default boolean isLoaded()Used to check whether the farms jar is installed. Base ships a no-op farming manager, so this returnsfalserather than the getter returning null or throwing. Every other api manager comes from base and is always real.- Returns:
- Whether a real implementation is installed
- Since:
- 2.10.0
-
getFarmables
-
getFertilizeValue
int getFertilizeValue(net.minecraft.world.item.ItemStack stack) - Returns:
- The value of the fertilizer when used in a farm.
-
getFarmType
-