MCPcopy Index your code
hub / github.com/PaperMC/Paper / isPrimaryThread

Method isPrimaryThread

paper-api/src/main/java/org/bukkit/Server.java:1895–1895  ·  view source on GitHub ↗

Checks the current thread against the expected primary thread for the server. Note: this method should not be used to indicate the current synchronized state of the runtime. A current thread matching the main thread indicates that it is synchronized, but a mismatch does not preclude</b

()

Source from the content-addressed store, hash-verified

1893 * false otherwise
1894 */
1895 boolean isPrimaryThread();
1896
1897 // Paper start
1898 /**

Callers 7

setupMethod · 0.95
TestServerClass · 0.65
isPrimaryThreadMethod · 0.65
callEventMethod · 0.65
PreFillProfileEventMethod · 0.65
FillProfileEventMethod · 0.65
callEventMethod · 0.65

Implementers 1

CraftServerpaper-server/src/main/java/org/bukkit/

Calls

no outgoing calls

Tested by 1

setupMethod · 0.76