Skip to content

Instantly share code, notes, and snippets.

View ZekerZhayard's full-sized avatar

ZekerZhayard ZekerZhayard

View GitHub Profile
@ZekerZhayard
ZekerZhayard / 1.build.gradle
Last active February 14, 2022 19:20
build.gradle with Mixin for ForgeGradle 5+
// Without MixinGradle
// Add below contents to the end of your build.gradle
configurations {
library
implementation.extendsFrom library
}
repositories {
maven { url = "https://repo.spongepowered.org/repository/maven-public/" }
}
dependencies {
package io.github.zekerzhayard.wrappertest;
import java.io.File;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
import java.lang.module.Configuration;
import java.lang.module.ModuleDescriptor;
import java.lang.module.ModuleFinder;
import java.lang.module.ModuleReference;
import java.lang.module.ResolvedModule;
@ZekerZhayard
ZekerZhayard / Constants.java
Last active April 12, 2021 12:59
custom_earlyloading_screen
package io.github.zekerzhayard.custom_earlyloading_screen;
import java.lang.invoke.MethodHandles;
import java.lang.reflect.Field;
import java.net.URLClassLoader;
import sun.misc.Unsafe;
public class Constants {
public final static Unsafe UNSAFE;
@ZekerZhayard
ZekerZhayard / hmcl.log
Last active December 16, 2019 16:17
123456789
This file has been truncated, but you can view the full file.
[23:36:38] [org.jackhuang.hmcl.Launcher.main/INFO] *** HMCL 3.2.136 ***
[23:36:38] [org.jackhuang.hmcl.Launcher.main/INFO] Operating System: Windows 10 10.0
[23:36:38] [org.jackhuang.hmcl.Launcher.main/INFO] Java Version: 1.8.0_221, Oracle Corporation
[23:36:38] [org.jackhuang.hmcl.Launcher.main/INFO] Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
[23:36:38] [org.jackhuang.hmcl.Launcher.main/INFO] Java Home: C:\Program Files\Java\jdk1.8.0_221\jre
[23:36:38] [org.jackhuang.hmcl.Launcher.main/INFO] Current Directory: D:\Games\Minecraft\SevTech_Ages
[23:36:38] [org.jackhuang.hmcl.Launcher.main/INFO] HMCL Directory: C:\Users\ZekerZhayard\AppData\Roaming\.hmcl
[23:36:38] [org.jackhuang.hmcl.Launcher.main/INFO] Memory: 5444MB
[23:36:38] [org.jackhuang.hmcl.Launcher.lambda$main$2/INFO] Metaspace: 7MB
[23:36:39] [org.jackhuang.hmcl.ui.Controllers.initialize/INFO] Start initializing application