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 / Tinkers Construct IMC issue.
Created October 18, 2014 03:38
A log from Minecraft which points to an issue within the Tinkers Construct IMC based API.
---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 17/10/14 9:22 PM
Description: Initializing game
java.lang.NullPointerException: Initializing game
at tconstruct.library.crafting.PatternBuilder.registerFullMaterial(PatternBuilder.java:39)
at tconstruct.util.IMCHandler.processIMC(IMCHandler.java:82)
at tconstruct.TConstruct.handleIMC(TConstruct.java:217)
---- Minecraft Crash Report ----
// I just don't know what went wrong :(
Time: 26/10/14 10:29 PM
Description: Ticking entity
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
at java.util.LinkedList$ListItr.next(Unknown Source)
at net.minecraft.entity.player.EntityPlayerMP.onUpdate(EntityPlayerMP.java:294)
---- Minecraft Crash Report ----
// I let you down. Sorry :(
Time: 26/10/14 10:30 PM
Description: Exception ticking world
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.util.ArrayList$Itr.next(Unknown Source)
at net.minecraft.world.World.countEntities(World.java:3165)
@Darkhax
Darkhax / gist:5c5ddeb52d7be7124a29
Created October 29, 2014 06:46
FML crash with Java 7 in compiled environment.
---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 28/10/14 11:24 PM
Description: Exception ticking world
java.lang.IllegalStateException: TickNextTick list out of synch
at net.minecraft.world.WorldServer.func_72955_a(SourceFile:496)
at net.minecraft.world.WorldServer.func_72835_b(SourceFile:199)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:708)
@Darkhax
Darkhax / gist:629a0c8a94c29221dc6e
Created November 12, 2014 06:20
FML 1.8 exception
[23:07:42] [main/INFO] [GradleStart]: Extra: []
[23:07:42] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/DARK/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken, {REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
[23:07:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:07:42] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:07:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[23:07:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[23:07:42] [main/INFO] [FML]: Forge Mod Loader version 8.0.9.1016 for Minecraft 1.8 loading
[23:07:42] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bi
@Darkhax
Darkhax / gist:3916aca5825628c2628f
Created November 28, 2014 06:40
Forge 1.8 Log
[23:38:38] [main/INFO] [GradleStart]: Extra: [--Username, darkhax]
[23:38:38] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/DARK/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken, {REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --Username, darkhax, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
[23:38:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:38:38] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[23:38:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[23:38:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[23:38:38] [main/INFO] [FML]: Forge Mod Loader version 8.0.9.1239 for Minecraft 1.8 loading
[23:38:38] [main/INF
[23:46:03] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.util.TreeMap$PrivateEntryIterator.nextEntry(Unknown Source)
[23:46:03] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.util.TreeMap$KeyIterator.next(Unknown Source)
[23:46:03] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.world.WorldServer.func_175712_a(WorldServer.java:718)
[23:46:03] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.world.WorldServer.getPendingBlockUpdates(WorldServer.java:691)
[23:46:03] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:419)
[23:46:03] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoad
#NewScriptBegin AutoUpdateEx
Dim MyConn
Dim isOut
Dim LastUpdate
Sub Load()
LastUpdate = Load("LastUpdate")
End Sub
package net.darkhax.aem;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import net.minecraft.init.Blocks;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemSaddle;
@Darkhax
Darkhax / gist:b9278bd1ae421f18fd04
Last active August 29, 2015 14:24
Random AGK Script, which is probably very flawed.
SetWindowTitle( "Darkhax's Test Game" )
SetWindowSize( GetDeviceWidth(), GetDeviceHeight(), 0 )
SetVirtualResolution( GetDeviceWidth(), GetDeviceHeight() )
SetOrientationAllowed( 1, 1, 1, 1 )
do
color = MakeColor(55, 230, 84)
For i=1 to 35