-
-
Notifications
You must be signed in to change notification settings - Fork 2
API Documentation V 1.1
Luke Gilfoyle edited this page Sep 2, 2020
·
1 revision
This guide will take you through how to make Quick Harvest apply to your own crops. This process allows you to customise every part of the harvesting process.
Use a deferred regsiter or add create a listener for the Registry event for Harvesters.
Create a custom harvester, which extends the Harvester class. (If your harvester is very simple, you will want to make use of the AbstractHarvester class as all the provided Harvesters for vanilla plants do.) To add functionality, you will need to implement all the inherited methods and use their documentation as a guide for what to do in them.
Register the a harvester for your plant using either a custom harvester or one of the default ones used in the mod.