9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-28 11:29:19 +00:00
Files
Custom-Crops/README.md
2023-08-15 02:03:45 +08:00

937 B

2022-08-15_02 51 28

Custom-Crops

StardewValley Like Farming System

How to buy

https://afdian.net/@xiaomomi

https://polymart.org/resource/customcrops.2625

How to compile

./gradlew build and get the jar in /target folder

API Guide

public class YourClass {

    private CustomCropsAPI api;
    
    public YourClass() {
        api = CustomCropsAPI.getInstance();
    }
    
    public void yourMethod() {
        api.xxx();
    }
}

Events

CropBreakEvent
CropInteractEvent
CropPlantEvent
FertilizerUseEvent
GreenhouseGlassBreakEvent
GreenhouseGlassPlaceEvent
PotBreakEvent
PotInfoEvent
PotInteractEvent
PotPlaceEvent
PotWaterEvent
ScarecrowBreakEvent
ScarecrowPlaceEvent
SprinklerFillEvent
SprinklerPlaceEvent
SprinklerInteractEvent
SprinklerBreakEvent
SeasonChangeEvent