Skip to content

Commit

Permalink
Revert "Floader 0.16.0"
Browse files Browse the repository at this point in the history
This reverts commit 357b811.
  • Loading branch information
TheGlitch76 committed Jul 14, 2024
1 parent 8719404 commit 09b6423
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 14 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ group = org.quiltmc
description = The mod loading component of Quilt
url = https://github.com/quiltmc/quilt-loader
# Don't forget to change this in QuiltLoaderImpl as well
quilt_loader = 0.26.2
quilt_loader = 0.26.3

# Fabric & Quilt Libraries
asm = 9.6
sponge_mixin = 0.15.0+mixin.0.8.7
sponge_mixin = 0.13.3+mixin.0.8.5
tiny_mappings_parser = 0.3.0+build.17
tiny_remapper = 0.10.4
tiny_remapper = 0.10.1
access_widener = 2.1.0
quilt_json5 = 1.0.4+final
quilt_parsers = 0.2.0
Expand All @@ -27,4 +27,4 @@ junit_bom = 5.9.3
proguard_gradle = 7.4.2
github_api = 1.315
flexver = 1.1.0
mixin_extras = 0.4.0
mixin_extras = 0.3.5
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion src/main/java/org/quiltmc/loader/impl/QuiltLoaderImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public final class QuiltLoaderImpl {

public static final int ASM_VERSION = Opcodes.ASM9;

public static final String VERSION = "0.26.2";
public static final String VERSION = "0.26.3";
public static final String MOD_ID = "quilt_loader";
public static final String DEFAULT_MODS_DIR = "mods";
public static final String DEFAULT_CACHE_DIR = ".cache";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public static final class MixinConfigDecorator {
// maximum loader version and bundled fabric mixin version, DESCENDING ORDER, LATEST FIRST
// loader versions with new mixin versions need to be added here

addVersion("0.16.0", FabricUtil.COMPATIBILITY_0_14_0);
// addVersion("0.13", FabricUtil.COMPATIBILITY_0_11_0); // example for next entry (latest first!)
addVersion("0.12.0-", FabricUtil.COMPATIBILITY_0_10_0);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Copyright 2016 FabricMC
* Copyright 2022-2023 QuiltMC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.quiltmc.loader.impl.launch.knot;

import java.util.Collection;
import java.util.Collections;

import org.quiltmc.loader.impl.util.QuiltLoaderInternal;
import org.quiltmc.loader.impl.util.QuiltLoaderInternalType;
import org.spongepowered.asm.launch.platform.container.IContainerHandle;

@QuiltLoaderInternal(QuiltLoaderInternalType.LEGACY_EXPOSED)
public class MixinContainerHandleMod implements IContainerHandle {
@Override
public String getAttribute(String name) {
return null;
}

@Override
public Collection<IContainerHandle> getNestedContainers() {
return Collections.emptyList();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,9 @@ public ClassNode getClassNode(String name) throws ClassNotFoundException, IOExce

@Override
public ClassNode getClassNode(String name, boolean runTransformers) throws ClassNotFoundException, IOException {
return getClassNode(name, runTransformers, 0);
}

@Override
public ClassNode getClassNode(String name, boolean runTransformers, int readerFlags) throws ClassNotFoundException, IOException {
ClassReader reader = new ClassReader(getClassBytes(name, runTransformers));
ClassNode node = new ClassNode();
reader.accept(node, 0);
reader.accept(node, readerFlags);
return node;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/quilt.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"provides": [
{
"id": "fabricloader",
"version": "0.16.0"
"version": "0.15.11"
}
],
"depends": [
Expand Down

0 comments on commit 09b6423

Please sign in to comment.