getFreeDebugThreadId

@Contract(pure = true)
@Nullable()
public @Nullable() Integer getFreeDebugThreadId(@NotNull() @NotNull() UUID casterId)(source)

Returns an arbitrary debug thread ID that is not currently in use by the given player, or null if no threads are currently available.


@Contract(pure = true)
@Nullable()
public @Nullable() Integer getFreeDebugThreadId(@NotNull() @NotNull() ServerPlayer caster)(source)

Returns an arbitrary debug thread ID that is not currently in use by the given player, or null if no threads are available.