Interface ICrop


public interface ICrop
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.core.BlockPos
     
    List<net.minecraft.world.item.ItemStack>
    Harvests this crop.
  • Method Details

    • harvest

      @Nullable List<net.minecraft.world.item.ItemStack> harvest()
      Harvests this crop. Performs the necessary manipulations to set the crop into a "harvested" state.
      Returns:
      Products harvested. Null if this crop cannot be harvested
    • getPosition

      net.minecraft.core.BlockPos getPosition()