API: Location Tick Times #31
Labels
No labels
documentation
good first issue
help wanted
resolution: duplicate
resolution: invalid
resolution: won't fix
status: needs triage
type: bug
type: feature
type: performance
type: question
version: 1.19.4
version: 1.20
version: 1.20.1
version: 1.20.2
version: 1.20.4
version: 1.20.6
version: 1.21.11
version: 1.21.4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Minecraft/Folia#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Is your feature request related to a problem?
As a regionised server software, we don't know what current API
Bukkit#getTickTimes,Bukkit#getAverageTickTimeandBukkit#getTPSshould return.It might be great to get significative TPS info based on region tick times.
Describe the solution you'd like.
Deprecate
Bukkit#getTickTimesandServer#getTickTimesDeprecate
Bukkit#getAverageTickTimeandServer#getAverageTickTimeDeprecate
Bukkit#getTPSandServer#getTPSAdd
Bukkit.getTickTimes(@NotNull Location): Give Tick Times based on Location Region Tick TimesDescribe alternatives you've considered.
Bukkit.getTickTimes(@NotNull Entity): Give Tick Times based on Entity Region Tick TimesSame with
getTPSgetAverageTickTimes.Other
No response
The region at any location is undefined unless owned by the current thread. The region which owns an entity is even less-defined, too. These issues make the suggested APIs generally undefined - how do they play in with things such as region transience?
Basically, need APIs that ones that delay a return value when the region state is considered valid.