AgriCraft

AgriCraft

30M Downloads

[Improvement] Accept more airy blocks

hron84 opened this issue ยท 3 comments

commented

Crops do not grow if there's a TiCon torch right above them. Please accept more airy blocks above crops.

Modpack: FTB Infinity (but I observed it in more packs)

commented

There's not really a good way that I know off to check if a block is considered "airy", I'm checking for Material.air, so if the block does not use that material it is not considered "airy". So I suggest putting your torches one block higher.

commented

If I remember correctly, there's a method isAir or similar, that would help. It would be important as other mods also add some invisible air-like blocks like Railcraft.

commented

I use that method, and that method does as I described before. RailCraft invisible blocks have material air, so they are no problem.