Skip to content

Instantly share code, notes, and snippets.

View Unh0lyTigg's full-sized avatar

Robert Allen Unh0lyTigg

View GitHub Profile
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '<ommited>'
group = '<ommited>'
archivesBaseName = '<ommited>'
{
"forge_marker": 1,
"defaults": {
"textures": {
"center": "rp:blocks/pipe_standard_center",
"connection_side": "rp:blocks/pipe_standard_connection_side",
"connection_end": "rp:blocks/pipe_standard_connection_end",
"color_overlay": "rp:blocks/pipe_overlay_none"
},
"model": "rp:pipe_center",
plugins {
id 'net.minecraftforge.gradle.forge' version '2.0.2'
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '1.7.10.1'
group = 'unh0lytigg.sttv'
archivesBaseName = 'SacreficeToTheVoid'

Keybase proof

I hereby claim:

  • I am Unh0lyTigg on github.
  • I am unh0ly_tigg (https://keybase.io/unh0ly_tigg) on keybase.
  • I have a public key whose fingerprint is 46EA 5B6E 4A4D 7298 3A9A 7FD5 67EF 369E 1643 089A

To claim this, I am signing this object:

@Unh0lyTigg
Unh0lyTigg / Window.java
Created August 5, 2015 20:15
What I use for window management in lwjgl3.
import static org.lwjgl.glfw.Callbacks.glfwSetCallback;
import static org.lwjgl.glfw.Callbacks.releaseAllCallbacks;
import static org.lwjgl.glfw.GLFW.GLFWCursorEnterCallback;
import static org.lwjgl.glfw.GLFW.GLFWCursorPosCallback;
import static org.lwjgl.glfw.GLFW.GLFWDropCallback;
import static org.lwjgl.glfw.GLFW.GLFWFramebufferSizeCallback;
import static org.lwjgl.glfw.GLFW.GLFWKeyCallback;
import static org.lwjgl.glfw.GLFW.GLFWMouseButtonCallback;
import static org.lwjgl.glfw.GLFW.GLFWScrollCallback;
import static org.lwjgl.glfw.GLFW.GLFWWindowCloseCallback;
Running class finders against 15w31c.jar
Finished. 13 finders ran successfully, 0 finders failed, out of 13.
MCP: net.minecraft.client.main.GameConfiguration.GameInformation | MC: bcm.c
MCP: net.minecraft.client.main.GameConfiguration.UserInformation | MC: bcm.e
MCP: net.minecraft.client.main.GameConfiguration.FolderInformation | MC: bcm.b
MCP: net.minecraft.util.Session | MC: axl
MCP: net.minecraft.profiler.IPlayerUsage | MC: oy
MCP: net.minecraft.client.main.GameConfiguration.ServerInformation | MC: bcm.d
MCP: net.minecraft.client.main.GameConfiguration.DisplayInformation | MC: bcm.a
MCP: net.minecraft.client.main.GameConfiguration | MC: bcm
@Unh0lyTigg
Unh0lyTigg / ClassFinderSorter.java
Created July 21, 2015 05:22
ClassFinderSorter segment
public int compare(ClassFinder cf1, ClassFinder cf2) {
String targetClass1 = cf1.getTargetClass();
String targetClass2 = cf2.getTargetClass();
List<String> prereq1 = cf1.classesThatNeedFindingFirst();
List<String> prereq2 = cf2.classesThatNeedFindingFirst();
if (prereq1.isEmpty() && !prereq2.isEmpty())
return -1;
if (prereq2.isEmpty() && !prereq1.isEmpty())
return 1;
if (prereq1.isEmpty() && prereq2.isEmpty())
@Unh0lyTigg
Unh0lyTigg / 74ls00.json
Last active August 29, 2015 14:24
Prototype basic logic gate chip description json.
{
"chipname": "74LS00",
"quickdesc": "Quad 2-Input NAND Gate",
"pincount": 14,
"pins": [
{ "type": "logic-input", "name": "A1" },
{ "type": "logic-input", "name": "B1" },
{ "type": "logic-output", "name": "Y1" },
{ "type": "logic-input", "name": "A2" },
{ "type": "logic-input", "name": "B2" },
package org.unh0lytigg.core.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@interface ASContainer {
package org.unh0lytigg.core.modules;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import net.minecraft.block.BlockCocoa;
import net.minecraft.block.BlockCrops;
import net.minecraft.block.BlockNetherWart;
import net.minecraft.block.properties.IProperty;