Back to mods
Greg Crops project artwork

CurseForge · Minecraft mod

Greg Crops

GregTech addon that allows growing materials using crops

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Greg Crops release should I use?

Updated last month
Latest stable file gregcrops-0.1.0.jar
Game version 1.20.1
Loader Forge

Greg Crops gregcrops-0.1.0.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Greg Crops required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Greg Crops gregcrops-0.1.0.jar need?

gregcrops-0.1.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Greg Crops without breaking your instance.

Built for Greg Crops gregcrops-0.1.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use gregcrops-0.1.0.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside gregcrops-0.1.0.jar. It opens that exact file at the source.

About this project

What does Greg Crops add?

GregCrops

GregCrops adds farmable crops for GregTech materials. Designed mainly for modpack makers.

Features:

  • Works with any material - any material can be easily registered for a crop
  • Fully configurable drops - you can add any item drop to a crop
  • Java and KubeJS API - new crops can be added through either an addon mod or kubejs with just a single line of code

How it works

Plant a material's seed on farmland like any vanilla crop. It grows through 6 stages. At the end you can harvest it to get the crop's drop and seed.

Crops don't allow bone-mealing.

Adding Crops to Materials

Java

@SubscribeEvent
public static void materialModification(PostMaterialEvent event) {
    // Default: drops raw ore of the crop's own material when mature if it exists, if not then it finds another drop (dust, ingot, etc)
    GTMaterials.Copper.setProperty(GregCropPropertyKeys.SEEDS, new SeedsProperty());

    // Choose a specific drop tag prefix (dust in this case)
    GTMaterials.Iron.setProperty(GregCropPropertyKeys.SEEDS, new SeedsProperty(TagPrefix.dust));

    // You can also use any other material as a drop
    GTMaterials.Aluminium.setProperty(GregCropPropertyKeys.SEEDS,
            new SeedsProperty(TagPrefix.rawOre, GTMaterials.Bauxite));
    
    // You can also just use any other item using its id
    GTMaterials.Tin.setProperty(GregCropPropertyKeys.SEEDS,
            new SeedsProperty('minecraft:gunpowder'));
}

KubeJS

const $TagPrefix = Java.loadClass('com.gregtechceu.gtceu.api.data.tag.TagPrefix');

GTCEuStartupEvents.materialModification(event => {
    // GregCrops exposes SeedsProperty and GregCropPropertyKeys as globals
    GTMaterials.Copper.setProperty(GregCropPropertyKeys.SEEDS, new SeedsProperty());

    GTMaterials.Iron.setProperty(GregCropPropertyKeys.SEEDS, new SeedsProperty($TagPrefix.dust));

    GTMaterials.Aluminium.setProperty(GregCropPropertyKeys.SEEDS,
        new SeedsProperty($TagPrefix.rawOre, GTMaterials.Bauxite));

    GTMaterials.Tin.setProperty(GregCropPropertyKeys.SEEDS,
        new SeedsProperty('minecraft:gunpowder'));
});

Overriding an Existing Crop

There is a mod config to remove all properties if you want to start from scratch.

If you don't want to start from scratch, you have to remove the property before setting a new one, same as any other GTCEu material property:

GTMaterials.Copper.removeProperty(GregCropPropertyKeys.SEEDS);
GTMaterials.Copper.setProperty(GregCropPropertyKeys.SEEDS, new SeedsProperty(TagPrefix.ingot));

Project description from CurseForge.

Pick your setup

Greg Crops by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Greg Crops versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.