Skip to content

QuiltLoaderInternal Annotate Classes #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: cosmic-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

package org.quiltmc.loader.impl.game.minecraft;

import org.quiltmc.loader.impl.util.QuiltLoaderInternal;
import org.quiltmc.loader.impl.util.QuiltLoaderInternalType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -24,7 +26,7 @@
import org.quiltmc.loader.impl.util.log.LogHandler;
import org.quiltmc.loader.impl.util.log.LogLevel;


@QuiltLoaderInternal(QuiltLoaderInternalType.LEGACY_NO_WARN)
public final class Slf4jLogHandler implements LogHandler {
@Override
public boolean shouldLog(LogLevel level, LogCategory category) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ default ModLoadType loadType() {
@Nullable
ModPlugin plugin();

@QuiltLoaderInternal(QuiltLoaderInternalType.PLUGIN_API)
public enum ModLoadType {
ALWAYS,
IF_POSSIBLE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ default boolean hasAwtSupport() {
return LoaderUtil.hasAwtSupport();
}

@QuiltLoaderInternal(QuiltLoaderInternalType.LEGACY_EXPOSED)
class BuiltinMod {
public BuiltinMod(List<Path> paths, InternalModMetadata metadata) {
Objects.requireNonNull(paths, "null paths");
Expand Down