AgriCraft

AgriCraft

30M Downloads

Information request

bookerthegeek opened this issue ยท 8 comments

commented

Hello!

I am trying to add more soils (Stage one in making life harder for my players). Now, I opened up the soils and used them as a base default for some new soil configs. Except some work and other do not.

My json files

This one works

{
  "path": "vanilla/soils/enchanted_soil.json",
  "enabled": true,
  "id": "enchanted_soil",
  "name": "Enchanted Soil",
  "varients": [
    {
      "item": "botania:enchantedSoil",
      "meta": 0,
      "tags": "",
      "ignoreMeta": true,
      "ignoreTags": [
        "*"
      ],
      "useOreDict": true
    }
  ]
}

But this one does not

{
  "path": "vanilla/soils/nether_wart_block.json",
  "enabled": true,
  "id": "nether_wart_block",
  "name": "Nether Wart Block",
  "varients": [
    {
      "item": "minecraft:nether_wart_block",
      "meta": 0,
      "tags": "",
      "ignoreMeta": true,
      "ignoreTags": [
        "*"
      ],
      "useOreDict": true
    }
  ]
}

Any help would be... helpful.

commented

Your provided file looks like it should work fine... What does the log have to say about the soil?

commented

As I recall nothing different than the other soils. Let me go run it again and double check.

commented

With just that one extra JSON I get in the log:

[AgriCraft]: Attempting to read AgriCraft JSONs!
[AgriCore]: [AGRI-DEBUG]: Loading: "json:mod_Botania" for mod: "Botania"!
[AgriCore]: [AGRI-DEBUG]: Loading: "json:mod_harvestcraft" for mod: "harvestcraft"!
[AgriCore]: [AGRI-DEBUG]: Loading: "json:resource"!
[AgriCore]: [AGRI-DEBUG]: Loading: "json:vanilla"!
[AgriCraft]: Finished trying to read AgriCraft JSONs!
[AgriCraft]: Registering Soils!
[AgriCraft]: Registered Soils (8/8):
[AgriCraft]:  - Stone
[AgriCraft]:  - Mycelium
[AgriCraft]:  - Gravel
[AgriCraft]:  - Sand
[AgriCraft]:  - Farmland
[AgriCraft]:  - Grass
[AgriCraft]:  - podzol
[AgriCraft]:  - Soul Sand
[AgriCraft]: Registering Plants!

The file is named: nether_wart_block.json and in the same directory as Soul Sand

I removed the rest of the log as it is massive but if needed I can post it for you. This happens with just the

commented

I need the log portion that goes over validation, the part of the log given only tells me that the files were read successfully.

commented

Entire Log with default everything except the added Nether Wart Block. The section I think you want is here? After turning on Debug mode in your config I got the log here and Agricraft starts in the log about here.

The file is named nether_wart_block.json, the path is in the vanilla soils folder.

Hope this helps.

p.s.
On a totally unrelated note...
Can crops have more than two valid parents for mutations, and can mutations have more than two valid parents? Say if I wanted to make Wheat and Carrots cross breed into both Potatoes or Cotton? Or if I wanted Cotton to be able to come from Wheat and Carrots, or Wheat and Potatoes ?

Basically to set it up as tiers, so that you can breed any plant form tier one and one, with a percent chance to get a tier two, and a miniscule chance to get a tier 3 seed. I know I can see how to configure the files to see how to do it, I just was hoping for a solid yes or no before I go about setting it all up.

p.s.s. Sorry for asking in this issue instead of making a new one.

commented

I probably should make a log message warning that some json files were skipped...

commented

This is really odd... Oh wait... The file has to end in _soil.json... Otherwise AgriCraft completely ignores it.

commented

Damnit... That was stupid I should have caught that. Thanks for the help. Looking forward to what comes next.