Skip to content

Instantly share code, notes, and snippets.

View dredhorse's full-sized avatar

Don Redhorse dredhorse

View GitHub Profile
I hereby claim:
* I am dredhorse on github.
* I am dredhorse (https://keybase.io/dredhorse) on keybase.
* I have a public key whose fingerprint is 5A7F BF07 557A 7C4F 420A E52A 88B8 A281 C2EA 5469
To claim this, I am signing this object:
```json
{
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
@dredhorse
dredhorse / gist:4013405
Created November 4, 2012 20:04 — forked from Afforess/gist:4013360
Death Cause Factory pattern
public enum DeathCause implements DeathCauseFactory {
DROWNING {
public Cause<?> buildCause(Entity victim, Entity killer) {
return new DrowningCause(victim);
}
},
FALLING {
public Cause<?> buildCause(Entity victim, Entity killer) {
//TODO
@dredhorse
dredhorse / gist:50e8bc4cf6ae569243574797f81692ec
Created August 29, 2018 09:17
Crafttweaker Bad Local Variable Type in Function
import mods.artisanworktables.builder.RecipeBuilder;
import mods.artisanworktables.builder.Copy;
import crafttweaker.item.IItemStack;
// Blacksmith Worktable
// managing Tools
val BlacksmithRecipe = RecipeBuilder.get("blacksmith");
@dredhorse
dredhorse / Server Crash Log
Created December 17, 2018 12:06
Natures Destruction Server Crash
---- Minecraft Crash Report ----
WARNING: coremods are present:
CCLoadingPlugin (cloudcontrol_v1.0.0formc1.12.2.jar)
LibLoader (# LibLoader.jar)
LoadingPlugin (Quark-r1.5-135.jar)
DCLoadingPlugin (DummyCoreUnofficial-2.4.112.5.jar)
LoadingPlugin (RandomThings-MC1.12.2-4.2.4.jar)
ForgelinPlugin (Forgelin-1.8.2.jar)
LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar)
@dredhorse
dredhorse / gist:91df19e8e96e4f65cc96efa20a8ba648
Last active January 1, 2019 12:24
NoClassDefFound with Zen:Foundry
[15:39:54] [Server thread/ERROR] [wanionlib]: UniDictSomething really bad happened on Integration at load stage POST_INIT
[15:39:54] [Server thread/INFO] [STDERR]: [wanion.lib.module.AbstractModule:start:59]: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: exter/foundry/recipes/manager/AlloyFurnaceRecipeManager
[15:39:54] [Server thread/INFO] [STDERR]: [wanion.lib.module.AbstractModule:start:59]: at java.util.concurrent.FutureTask.report(FutureTask.java:122)
[15:39:54] [Server thread/INFO] [STDERR]: [wanion.lib.module.AbstractModule:start:59]: at java.util.concurrent.FutureTask.get(FutureTask.java:192)
[15:39:54] [Server thread/INFO] [STDERR]: [wanion.lib.module.AbstractModule:start:59]: at wanion.lib.module.AbstractModule.start(AbstractModule.java:55)
[15:39:54] [Server thread/INFO] [STDERR]: [wanion.lib.module.AbstractModule:start:59]: at wanion.lib.module.ModuleHandler.lambda$startModules$0(ModuleHandler.java:39)
[15:39:54] [Server thread/INFO] [STDERR]: [wanion.lib.module.Abst
This file has been truncated, but you can view the full file.
[22:32:13] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:32:13] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:32:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[22:32:13] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2784 for Minecraft 1.12.2 loading
[22:32:13] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_191, running on Mac OS X:x86_64:10.13.6, installed at /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
[22:32:13] [main/INFO] [FML]: Searching /Volumes/OSXData/Games/Curse/Minecraft/Instances/DistantPast/mods for mods
[22:32:13] [main/INFO] [FML]: Searching /Volumes/OSXData/Games/Curse/Minecraft/Instances/DistantPast/mods/1.12.2 for mods
[22:32:13] [main/WARN] [FML]: The coremod org.minimallycorrect.libloader.LibLoader does not have a MCVersion annotation, it may cause issu
import crafttweaker.item.IItemTransformer;
// adding Recipe for Artisan Worktables
recipes.addShapeless(<artisanworktables:worktable:3>, [<ore:workbench>, <ore:artisansHammer>]);
recipes.addShapeless(<artisanworktables:worktable:7>, [<ore:workbench>, <ore:artisansGrimoire>]);
recipes.addShapeless(<artisanworktables:worktable:6>, [<ore:workbench>, <ore:artisansPliers>]);
recipes.addShapeless(<artisanworktables:worktable:1>, [<ore:workbench>, <ore:artisansHandsaw>]);
@dredhorse
dredhorse / gist:5a39afbe84f5534e08f7f130d47ea645
Created January 9, 2019 20:44
The One Probe crashing with ZEN:Foundry
[21:36:21] [Client thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 833 advancements
[21:36:34] [Netty Client IO #6/ERROR] [FML]: FMLIndexedMessageCodec exception caught
io.netty.handler.codec.DecoderException: java.lang.NullPointerException
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.DefaultChannelPipeline$HeadC
@dredhorse
dredhorse / gist:21748c350d457d045dcbcce946771b19
Created January 12, 2019 14:20
TheOneProbe Debug Version Crash
This file has been truncated, but you can view the full file.
[15:04:57] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[15:04:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[15:04:57] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2784 for Minecraft 1.12.2 loading
[15:04:57] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_191, running on Mac OS X:x86_64:10.13.6, installed at /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
[15:04:58] [main/INFO] [FML]: Searching /Volumes/OSXData/Games/Curse/Minecraft/Instances/DistantPast/mods for mods
[15:04:58] [main/INFO] [FML]: Searching /Volumes/OSXData/Games/Curse/Minecraft/Instances/DistantPast/mods/1.12.2 for mods
[15:04:58] [main/WARN] [FML]: The coremod org.minimallycorrect.libloader.LibLoader does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[15:04:58] [main/WARN] [FML]: The coremod LibLoader (org.minimallycorrect.libload