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.
LivingStats
tag now contain a booleanevolved
that stores whether the Item has evolved or not. Living evolution ritual now simply calls thesetEvolved
method inLivingStats
which updates the tag to true. By default, this also updates themaxPoints
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.