Jump to content

Recommended Posts

Posted

Purpose: allow vanilla plants to recognize a modded block as a soil/ground block

 

Current code:

 

return ground == Blocks.grass || ground == Blocks.dirt || ground == Blocks.farmland;

 

allows vanilla plants to detect these specific blocks, but not any other blocks.

 

Possible change to this code:

(1) check material type of ground block

 

or perhaps even better

 

(2) call canSustainPlant() in the ground block

 

 

Thank you for any consideration offered to this.

  • 2 weeks later...
Posted

Thank you!

 

Build 1.8-11.14.1.1305:
LexManos: Fixed InitMapGenEvent's fire order so values are used. And added OCEAN_MONUMENT type. Closes #1681
LexManos: Fixed BlockBush and BlockCrops not respecting custom soils. Closes #1683

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.