mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-25 08:44:26 +00:00
Support 1.21. (#297)
This commit is contained in:
1 parent
cd1922844c
commit
64490f1d18
90 files changed
+733
-375
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package cpw.mods.cl;
|
||||
|
||||
import java.lang.module.ModuleFinder;
|
||||
|
||||
import cpw.mods.jarhandling.SecureJar;
|
||||
|
||||
public class JarModuleFinder implements ModuleFinder {
|
||||
public static JarModuleFinder of(SecureJar... jars) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static class JarModuleReference {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package cpw.mods.jarhandling;
|
||||
|
||||
import java.nio.file.Path;
|
||||
|
||||
public interface SecureJar {
|
||||
static SecureJar from(final Path... paths) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package java.lang;
|
||||
|
||||
import java.lang.module.Configuration;
|
||||
|
||||
public class ModuleLayer {
|
||||
public static ModuleLayer boot() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Configuration configuration() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package java.lang.module;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
public class Configuration {
|
||||
public static Configuration resolve(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Configuration empty() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Optional<ResolvedModule> findModule(String name) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package java.lang.module;
|
||||
|
||||
public interface ModuleFinder {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package java.lang.module;
|
||||
|
||||
public class ModuleReference {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package java.lang.module;
|
||||
|
||||
public class ResolvedModule {
|
||||
public ModuleReference reference() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package net.neoforged.fml.common;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.TYPE)
|
||||
public @interface Mod {
|
||||
String value();
|
||||
}
|
||||
Reference in new issue
Block a user