diff --git a/src/main/java/org/quiltmc/loader/impl/gui/PluginIconImpl.java b/src/main/java/org/quiltmc/loader/impl/gui/PluginIconImpl.java index 222c98bb8..120d2ba62 100644 --- a/src/main/java/org/quiltmc/loader/impl/gui/PluginIconImpl.java +++ b/src/main/java/org/quiltmc/loader/impl/gui/PluginIconImpl.java @@ -44,12 +44,12 @@ public final class PluginIconImpl extends QuiltGuiSyncBase implements QuiltLoade final IconType icon; final IconType[] subIcons = new IconType[4]; - PluginIconImpl() { + public PluginIconImpl() { super(null); this.icon = new BlankIcon(); } - PluginIconImpl(String path) { + public PluginIconImpl(String path) { super(null); this.icon = new BuiltinIcon(path); } @@ -61,7 +61,7 @@ public final class PluginIconImpl extends QuiltGuiSyncBase implements QuiltLoade } /** @param images Array of images of different sizes, to be chosen by the UI. */ - PluginIconImpl(byte[][] images) { + public PluginIconImpl(byte[][] images) { super(null); this.icon = new UploadedIcon(images); } diff --git a/src/main/java/org/quiltmc/loader/impl/metadata/qmj/ModDependencyImpl.java b/src/main/java/org/quiltmc/loader/impl/metadata/qmj/ModDependencyImpl.java index a5b79471b..0f1b0a436 100644 --- a/src/main/java/org/quiltmc/loader/impl/metadata/qmj/ModDependencyImpl.java +++ b/src/main/java/org/quiltmc/loader/impl/metadata/qmj/ModDependencyImpl.java @@ -34,7 +34,7 @@ import org.quiltmc.loader.impl.util.QuiltLoaderInternalType; @QuiltLoaderInternal(QuiltLoaderInternalType.LEGACY_EXPOSED) -final class ModDependencyImpl { +public final class ModDependencyImpl { ModDependencyImpl() { } @@ -103,7 +103,7 @@ static final class AllImpl extends CollectionImpl implements ModDependency.All } } - static final class OnlyImpl implements ModDependency.Only { + public static final class OnlyImpl implements ModDependency.Only { private final String location; private final ModDependencyIdentifier id; private final VersionRange range; @@ -114,10 +114,10 @@ static final class OnlyImpl implements ModDependency.Only { /** * Creates a ModDependency that matches any version of a specific mod id. */ - OnlyImpl(String location, ModDependencyIdentifier id) { + public OnlyImpl(String location, ModDependencyIdentifier id) { this(location, id, VersionRange.ANY, "", false, null); } - OnlyImpl(String location, ModDependencyIdentifier id, VersionRange range, @Nullable String reason, boolean optional, @Nullable ModDependency unless) { + public OnlyImpl(String location, ModDependencyIdentifier id, VersionRange range, @Nullable String reason, boolean optional, @Nullable ModDependency unless) { // We need to have at least one constraint if (range.isEmpty()) { throw new IllegalArgumentException("A ModDependency must have at least one constraint");