Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Statistics Functions #274

Open
wants to merge 11 commits into
base: 1.20
Choose a base branch
from
Open

Conversation

Riftlight
Copy link
Contributor

Adds updateStat[istic]s, getItemStat[istic], getEntityStat[istic], and getGeneralStat[istic]s to HostAPI and gives them entries in en_us.json.

(didnt realize that changing branch name would close the other pr. oops)

Add all 3 statistic methods
someone forgot to remove a debug print
fix generalStats to return doubles and have the doubles have the decimal point in the proper place
remove debug import
Adds a method that sends a packet which updates the statistics, effectively opening the statistics menu
it existed before, just forgot to luawhitelist it lol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant