AgriCraft

AgriCraft

30M Downloads

MFR fertile soil incompatibility

Staegrin opened this issue ยท 11 comments

commented

I've used the whitelist to add minefactoryreloaded's fertile soil to the allowed soils.
After upgrading my version of mfr to MineFactoryReloaded-[1.7.10]2.8.1-174 the crop sticks can no longer be placed on the block even though the whitelist and NEI say it's a valid soil block.

I've also tried using minetweaker to add the fertile soil to the valid soil types.

import mods.agricraft.growing.FertileSoils;

FertileSoils.add(MineFactoryReloaded:farmland);

commented

agricraft version?

commented

AgriCraft-1.7.10-1.4.6-hotfix

sorry should have posted that with the first post.

commented

And you could place them on that soil in the previous MFR version with the same version of AgriCraft?

commented

Yes, on jan 25 of 2016 I updated to the newest version of mfr. Now is the first time since the update I want to place crop sticks on the fertile soil and they can't be placed even though it's on the whitelist and NEI says it's allowed.

commented

Check metadata, what is the metadata of the block in the world, and what is the metadata in the config.

commented

Apparently the metadata is :3 while the item is :0 Must have been changed in the latest version.
Went to the whitelist and added :3 behind the name and now the crop sticks can be placed.

Thank you for the quick help.

commented

you're welcome, glad I could be of service.

commented

I have a class BlockWithMeta, which ignores meta if no meta is passed to the constructor, I just need to find where I call it, it's been a while too.

commented

Apparently the MFR soil can somehow "store" fertility. When you apply bonemeal repeatedly to the soil the metadata value changes slowly from 3 up to 15.

Is there a way for Agricraft to ignore the metadata or do I have to add all variants to the whitelist?

commented

If you don't specify metadata, it should ignore it, but the fact that this got reported means it doesnt.

commented

Yeah, it doesn't, tested that myself.

You know your code better than I do, but I guess it just assumes :0 somewhere if it isn't specified?