Add(Expose) some missing attribute related methods to attributable
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem?
For example, you can't reset basevalue to the correct value that set when entity is created. Like walking speed is 0.1 for a player, but is 0.7 by default
Describe the solution you'd like.
getAttributes(), so you don't need to iterate the registry to get them one by one
resetBaseValue and getBaseValue
Describe alternatives you've considered.
not related
Other
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the attributable API and its existing attribute-related methods, then inspect how the registry is currently iterated to retrieve attributes. Clarify the intended behavior of getAttributes(), getBaseValue, and resetBaseValue using the walking-speed example. Done means the requested methods are exposed with correct base-value behavior and verified against the existing attribute API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100