An-Sar / PrimalCore

Official Wiki, Issue Tracking, Localization
12 stars 7 forks source link

[Suggestion] Configurable grow-back speed for corn cobs; chance for a cornstalk to stop producing corn #351

Open inkdear opened 5 years ago

inkdear commented 5 years ago

Some suggestions to do with corn crops:

  1. A config option for corn-cob grow-back speed, so it can be scaled in modpacks with slower crop growth.
  2. I'm not sure if this is already a feature or not, but I feel like maybe the corn stalks should eventually stop producing corn and dry out, since they're not a perennial plant IRL. Then you cut them down and replant your field.
  3. It'd be cool if animals could be bred with corn. Since it's a common feed for basically all livestock IRL it could be like a convenient 'one size fits all' breeding item.

Edit: I just realized "base growth modifier" for plants probably also affects the corn cob grow back, but I'll leave this here for the other two suggestions.

An-Sar commented 5 years ago

1- As you mentioned in the edit the current configs, Plants.PLANT_BASE_TICK_RATE can effect the base speed of all primal plants, does this effectively cover your use case?

2- i have been wanting to do this but never settled on the best way to implement, so this would be nice for both corn and valus.

3- i've never looked at adding compat with vanilla mobs, but this is a good idea.

inkdear commented 5 years ago

Checking that out now, thanks!

As far as cornstalks aging goes, perhaps the bottom block of the corn stalk could age over time, since it doesn't grow cobs? And when it 'dies,' the blocks above it also turn to the dried out version (with any already-grown corn cobs still attached.)

An-Sar commented 5 years ago

The other issue with 1.12 is the current implementation of plants uses all available blockstates, so adding a dead stage would require a new block ID.

for that reason this is likely something to become part of the 1.14 update