HexDebugCoreAPI
Main API service for hexdebug-core. Access via INSTANCE. Unless otherwise stated, all API methods must be called only from the main server thread.
Functions
Link copied to clipboard
public void createDebugThread(@NotNull() @NotNull() DebugEnvironment debugEnv, @Nullable() @Nullable() Integer threadId)
Link copied to clipboard
@Contract(pure = true)
@Nullable()
@Contract(pure = true)
@Nullable()
@Contract(pure = true)
@Nullable()
@Contract(pure = true)
@Nullable()
@Contract(pure = true)
@Nullable()
Link copied to clipboard
@Contract(pure = true)
@Nullable()
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()
Returns an arbitrary debug thread ID that is not currently in use by the given player, or
null if no threads are available.Link copied to clipboard
@Contract(pure = true)
Link copied to clipboard
public void printDebugMessage(@NotNull() @NotNull() ServerPlayer caster, @NotNull() @NotNull() UUID sessionId, @NotNull() @NotNull() Component message, @NotNull() @NotNull() OutputCategory category, boolean withSource)
Link copied to clipboard
Removes a debug thread without terminating it.
Link copied to clipboard
public void startDebuggingIotas(@NotNull() @NotNull() DebugEnvironment debugEnv, @NotNull() @NotNull() CastingEnvironment env, @NotNull() @NotNull() List<Iota> iotas, @Nullable() @Nullable() CastingImage image)
Link copied to clipboard
Terminates and removes a debug thread.