WayofTime / BloodMagic

The place where all of my mod stuffs is!
Other
296 stars 271 forks source link

[1.20.1] Makes Living Evolution configurable #2000

Open mystchonky opened 8 months ago

mystchonky commented 8 months ago

LivingStats tag now contain a boolean evolved that stores whether the Item has evolved or not. Living evolution ritual now simply calls the setEvolved method in LivingStats which updates the tag to true. By default, this also updates the maxPoints to 300, but this can be overridden for custom behaviour. For example, One could remove the points update during evolution for custom item but still retain the information that item has evolved or not. ILivingContainer also now contains a method to control whether evolution is allowed or not.