Refactor player_id and obtain.mcfunction to optimize id assignment process #1
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Grandiras/Datapacks!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request includes refactoring the player_id library to simplify and optimize the id assignment process. Previously, the library had to iterate over every player to determine the next free id, but now it doesn't need to do that anymore. Additionally, the obtain.mcfunction file has been refactored to prevent duplicate item assignment. These changes improve the efficiency and reliability of id assignment and item assignment processes.
okay