You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Player attributes are reset on player death. This causes changes to base attribute values, such as those modified with the Player Attribute Commands mod, to return to their default values.
Attribute modifiers, such as those applied through potions, are not copied during this process.
By default, this tweak does not cause any attributes to be persistent and will require setup by any users wishing to utilize this feature.
Improved user documentation
The README.md file was updated to explain Attribute Keeper, a new feature that allows certain attributes of a player to continue even after the player "dies" in the game.
Enhanced core functionality
In UniversalTweaks.java, a necessary step for this new feature was handled - importing and merging it with the game's foundation code.
In UTConfigTweaks.java, an option has been added under name 'utAttributeLock' that enables users to specify which attributes of a player should persist post their death. Useful instructions, examples accompanying the same have been added too, assisting users to master it quicker.
Introduced new class for attribute management
A new file, UTAttributeKeeper.java was introduced. This is a pivotal part for the new attribute management as it ensures that base player attributes, as specified by the user, continue to exist even post the player's death.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Player attributes are reset on player death. This causes changes to base attribute values, such as those modified with the Player Attribute Commands mod, to return to their default values.
Attribute modifiers, such as those applied through potions, are not copied during this process.
By default, this tweak does not cause any attributes to be persistent and will require setup by any users wishing to utilize this feature.