Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer allow generic modded plants from generating in Aether 🪚 #170

Open
wants to merge 1 commit into
base: 1.7.10
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,13 @@ else if (side == 0)
}
}

@Override
//This allows for other mods like Thaumcraft and Natura to generate their flora in the Aether as well, removing this fixes the problem
/*@Override
public boolean canSustainPlant(IBlockAccess world, int x, int y, int z, ForgeDirection direction, IPlantable plantable) {
EnumPlantType plantType = plantable.getPlantType(world, x, y + 1, z);

return plantType == EnumPlantType.Plains;
}
}*/

@Override
public boolean func_149851_a(World p_149851_1_, int p_149851_2_, int p_149851_3_, int p_149851_4_, boolean p_149851_5_) {
Expand Down Expand Up @@ -162,4 +163,4 @@ public void func_149853_b(World p_149853_1_, Random p_149853_2_, int p_149853_3_
}
}

}
}