Skip to content

Instantly share code, notes, and snippets.

View Darkhax's full-sized avatar
🇨🇦
Modding everying.

Darkhax Darkhax

🇨🇦
Modding everying.
View GitHub Profile
@Darkhax
Darkhax / build.gradle
Created August 12, 2015 13:18
Forge Gist
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
private static InsnList getPreOverlayInstructions() {
LabelNode start = new LabelNode();
LabelNode exit = new LabelNode();
LabelNode end = new LabelNode();
InsnList insns = new InsnList();
insns.add(start);
insns.add(new MethodInsnNode(INVOKESTATIC, "net/darkhax/wawla/WailaAddon", "preOverlayRendering", "()Z", false));
@Darkhax
Darkhax / gist:6817e2c8737e98fb7012
Created November 16, 2015 07:27
Mage Quest Duplicate Potions
[00:25:40] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[00:25:40] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[00:25:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[00:25:40] [main/INFO] [FML]: Forge Mod Loader version 7.99.16.1448 for Minecraft 1.7.10 loading
[00:25:40] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 10:amd64:10.0, installed at C:\Users\darkh\Documents\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_25
[00:25:40] [main/WARN] [FML]: The coremod aroma1997.core.coremod.CoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[00:25:40] [main/WARN] [FML]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[00:25:40] [main/WARN] [FML]: The coremod cofh.asm.LoadingPl
[INFO 11/21/2015 7:41:03 AM] Initializing LWJGL library. Extracting natives.
[TRACE 11/21/2015 7:41:03 AM]
com.shc.silenceengine.core.SilenceException: java.nio.file.AccessDeniedException: C:\Users\darkh\AppData\Local\Temp\SilenceEngine5659533823849208242\glfw.dll
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
at java.nio.file.Files.deleteIfExists(Unknown Source)
at com.shc.silenceengine.io.FilePath.delete(FilePath.java:531)
for (String argument : args)
if (argument.equalsIgnoreCase("-game.releaseMode"))
Game.DEVELOPMENT = false;
for (String argument : args)
if (argument.equalsIgnoreCase("-game.devMode"))
Game.DEVELOPMENT = true;
[TRACE 11/21/2015 9:42:42 AM]
com.shc.silenceengine.core.SilenceException: java.lang.NullPointerException
at org.lwjgl.system.Checks.checkPointer(Checks.java:103)
at org.lwjgl.opengl.GL.createCapabilities(GL.java:273)
at org.lwjgl.opengl.GL.createCapabilities(GL.java:225)
at com.shc.silenceengine.core.glfw.Window.makeCurrent(Window.java:760)
at com.shc.silenceengine.core.ResourceLoader.asyncLoadResources(ResourceLoader.java:274)
at java.lang.Thread.run(Unknown Source)
at com.shc.silenceengine.core.SilenceException.reThrow(SilenceException.java:73)
package net.darkhax.test;
import com.shc.silenceengine.core.Display;
import com.shc.silenceengine.core.Game;
import com.shc.silenceengine.core.ResourceLoader;
import com.shc.silenceengine.core.ResourceLoader.IProgressRenderCallback;
import com.shc.silenceengine.graphics.Batcher;
import com.shc.silenceengine.graphics.opengl.Texture;
public class Core extends Game {
Enchantment: Protection I Cost: 11
Enchantment: Protection II Cost: 22
Enchantment: Protection III Cost: 33
Enchantment: Protection IV Cost: 44
Enchantment: Fire Protection I Cost: 12
Enchantment: Fire Protection II Cost: 20
Enchantment: Fire Protection III Cost: 28
Enchantment: Fire Protection IV Cost: 36
Enchantment: Feather Falling I Cost: 5
Enchantment: Feather Falling II Cost: 11
Enchantment: Protection I Cost: 5
Enchantment: Protection II Cost: 11
Enchantment: Protection III Cost: 16
Enchantment: Protection IV Cost: 22
Enchantment: Fire Protection I Cost: 6
Enchantment: Fire Protection II Cost: 10
Enchantment: Fire Protection III Cost: 14
Enchantment: Fire Protection IV Cost: 18
Enchantment: Feather Falling I Cost: 2
Enchantment: Feather Falling II Cost: 5
---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!
Time: 22/12/15 10:45 PM
Description: Rendering item
java.lang.NullPointerException: Rendering item
at net.minecraft.client.renderer.entity.RenderItem.func_94149_a(RenderItem.java:732)
at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:498)
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:565)