Ic2c Crop Overrides

Quick rating

Ic2c Crop Overrides

No reviews yet

Adds ability to override ic2 classic crops using json.

Industrial
No Genre
Farming & Agriculture
Mod Addon
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
Ic2cCropOverrides-1.0.0.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Ic2c Crop Overrides is a mod that adds a system for overriding ic2c crops by using the same system as it's custom crops system. Overridden crops are put in the overrideCrops.json file. Currently it supports crops from ic2c extras and ic2 classic.Here's an example with comments:

{

    "crops": [
    {
        "name": "Ferru", //The Unlocalized Crop Name for the Item or any display Option
        "owner": "ic2", //Somewhat like a resourceLocation the "key"/"owner" of the object
        "id": "ferru", //the Unique ID of the Crop related to the owner. (ResourceLocation like)
        "discovered": "Alblaka", //Who created the Crop. Just a way to a display thing. Can be omitted and uses original crop's if so.
        "dropchance": 0.3675459325313568, //A modifier to the existing drop chance, double number. Can be omitted and uses original crop's if so.
        "optimalstage": 4, //What the Optimal Harvest stage is for harvesters to know when to perfectly harvest.
        "totalstages": 4, //How many crop stages the parser has to expect. If the result does not match what you provide then it throws errors.
        "attributes": [ //The Attributes that are used for CropBreeding. Look into the IC2C wiki what that does. (Visible to player and keep it below 5). Can be omitted and uses original crop's if so.
            "Gray",
            "Leaves",
            "Metal"
         ],
         "props": { //The Properties of a Crop this is mostly for breeding. Read Crop Documentation what each these values mean. Can be omitted and uses original crop's if so.
            "tier": 6,
            "chemistry": 2,
            "consumable": 0,
            "defensive": 0,
            "colorful": 1,
            "weed": 0
         },
         "display": { //The Display Item that is used for the SeedBags. [Optional]
            "name": "thermalfoundation:material", //Minecraft Item registry name of the item use.
            "meta": 0 //Metadata of the Item
         },
         "defaultStage": { //Default stage that you can create to dump values into that will be reused. Textures won't be loaded here. [Optiona]
            "points": 800, //How many points it takes to grow. This can be either a lot or very little because the amount of points per growth tick can be dynamic based on the crops state. [Optional, Default: 0]
            "redstoneStrength": 0, //If the crop should emit a redstone signal and which level. [Optional, Default: 0]
            "resetStage": 2, //The Stage that the crop should default to when harvested. 1 is the first growth stage. Its between 1-maxGrowth stage. [Optional, Default: 1]
            "lightLevel": "0" //If the crop should emit light and which strenght [Optional, Default: 0]
         },
         "stages": [ //The stages that the crop has.
            {
               "index": 1, //Index of the stage. Starts at 1 and ends at the number of "totalstages". so 1-4 in this case.
               "parentIndex": -1, //Index of the parent definition to reduce text to write. Will only grab values that are not defined in this stage. Textures will be never grabbed, if stage is not present wont load anything. [Optional, Defaults to -1 (or DefaultStage)]
               "textures": [ //Texture of the crop, you can add as many as you want. Each texture will be added as a seperate layer. Seethrough textures are supported, each texture goes more and more behind. Textures will be auto loaded.
                  "ic2c_crop_overrides:crop_metal_stage_1"
               ]
            },
            {
               "index": 2,
               "textures": [
                  "ic2c_crop_overrides:crop_metal_stage_2"
               ]
            },
            {
               "index": 3,
               "textures": [
                  "ic2c_crop_overrides:crop_metal_stage_3"
               ],
               "points": 2000, //Any variable that was described in the DefaultStage can be also put into here same conditions apply.
               "requirements": { //Requirements that the crop must fulfill before it can grow. [Optional]
                  "block": [ //If the Block is below the crop, up to 3 blocks below [Optional]
                     {
                        "ore": true, //If it is a oredict entry
                        "name": "blockCrystalEmpoweredEnori" //The BlockRegisry name or the Oredictionary entryname.
                     }
                  ]
               }
            },
            {
               "index": 4,
               "textures": [
                  "ic2c_crop_overrides:crop_ferru"
               ],
               "drop": { //The Drop of the crop at the stage. Like the "Display" but with the amount of items being controlled. [Optional]
                  "name": "thermalfoundation:material",
                  "count": 1,
                  "meta": 0
               }
            }
         ]
      }
   ]
}

 See here for more info.

My Discord: https://discord.gg/nX5a62j

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~53,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works