Hello! I'm currently working on a mob and I would like its stats to be able to change depending on what/how many mobs are around it, such as dealing knockback if a certain mob is in range, or having N health where N is the number of nearby mobs. I was hoping to be able to use the attributes for this (.MAX_HEALTH, .FOLLOW_RANGE, .MOVEMENT_SPEED, etc.) but that has been proving more difficult than I anticipated. Are there any other ways I can set many different stats for my entity, but dynamically as mobs move in and out of range as opposed to the attributes which are seemingly only on setup?