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

[Bug]: Bee Genes Not Consistent Anymore #2113

Open
iccorruption opened this issue Feb 4, 2025 · 3 comments
Open

[Bug]: Bee Genes Not Consistent Anymore #2113

iccorruption opened this issue Feb 4, 2025 · 3 comments
Labels
Bug Something isn't working

Comments

@iccorruption
Copy link

Possible Fixes

Yes

Modpack Version

ATM10 Newest Version, downloaded Feb3, 2025

What happened?

According to the ATM9 guide, when you breed bees in the breeder the child should always have the highest gene... This is not the case anymore and breeding does not consistently carry over genes, sometimes giving random ones that neither of the parents had. Pls fix or is this just the updated productive bees mod?

latest.log

No response

Developer reports

No response

@iccorruption iccorruption added the Bug Something isn't working label Feb 4, 2025
@PiggyWhiskey
Copy link

IIRC that hasn't been the case for a while because people were cheesing it.
The child can have a value between either parent.
i.e. Medium and Very High productivity parents will never give Normal to the child. But can give Medium/High/Very High.

@LordCorellon
Copy link

It has been consistent for me with whichever bee is in the left slot specifying the minimum value and the right specifying the maximum (if higher then the left slot, otherwise it will always generate the left slot value)

The only exception I have found for this is with the aggressiveness trait since passive is seen as less the aggressive a bee will be born with a random aggressiveness value unless both parents are passive

@xtended2l
Copy link

xtended2l commented Feb 16, 2025

sometimes giving random ones that neither of the parents had - this is not true. I've bred almost all kind of bees, and never seen new genes appear on offspring. New behavior(choosing between parent) is intended and is NOT a bug.
We can easily compare setOffspringAttributes class in older version (used in ATM9):
https://github.com/JDKDigital/productive-bees/blob/dev-1.20.0/src/main/java/cy/jdkdigital/productivebees/util/BeeHelper.java#L461
with the same class in newer version of productive bees (used in ATM10):
https://github.com/JDKDigital/productive-bees/blob/dev-1.21.0/src/main/java/cy/jdkdigital/productivebees/util/BeeHelper.java#L471

Whole function was rewritten and now it is using new random variable between minimum and maximum genes of parents.
Case could be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants