SonarSonic / Calculator

Minecraft Forge Mod
MIT License
52 stars 33 forks source link

Flawless Greenhouse doesn't support Ender Lilly from Extra Utilities 2 #378

Closed depressed-pho closed 5 years ago

depressed-pho commented 6 years ago
  1. The greenhouse plants Ender Lilly on neither Dirt nor End Stone, even though it accepts the lily as a valid seed. The seed won't be consumed either.

This might be because the lily has a special plant type so the canSustainPlant() check will never succeed?

  1. The greenhouse can grow the lily insanely rapidly as expected, when you manually plant it.
  2. However, it cannot harvest fully grown lilies.

Not all custom plants are BlockCrops. The lily doesn't extend it either. Harvester::canHarvest should probably use IGrowable::canGrow instead, to see if it can still grow further. When it returns false it means it can be harvested.

SonarSonic commented 5 years ago

Fixed in dev