warn

public abstract void warn(@NotNull() @NotNull() Identifier resource, @NotNull() @NotNull() String message)(source)

Logs a warning caused by a resource (for example, it is malformed).

Parameters

resource

The resource, which caused the warning

message

The warning/error message