Loading...
Beta Modpages Unclaimed

Ic2c Crop Overrides

Adds ability to override ic2 classic crops using json.

0 Likes
47373 Downloads
Created by trinsdar

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


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Quarry Reborn

This mod add Quarry (Miner) to Tech Reborn for Fabric

Advanced Solars Classic

A version of Chocohead's Advanced Solar Panels Ported to and tweaked for Ic2 Classic.

Gravisuit Classic

Edition of Gravitation Suit ported to and designed for Ic2 Classic

TATW

TATW is a mod, that allows you to interchange IC2 Energy (EU) with Forge Energy/Redstone Flux.