Skip to content

Instantly share code, notes, and snippets.

View marchermans's full-sized avatar
🏠
Working from home

Marc Hermans marchermans

🏠
Working from home
View GitHub Profile
@marchermans
marchermans / gist:9959508
Created April 3, 2014 18:02
Custom armor renderer - Results in: http://imgur.com/4ZYBDtq
package com.Orion.Armory.Client.Render;
/*
* CustomArmorRenderer
* Created by: Orion
* Created on: 2-4-2014
*/
import com.Orion.Armory.Common.Armor.ArmorCore;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.model.ModelBiped;
@marchermans
marchermans / build.gradle (After modification)
Last active August 29, 2015 14:01
Build.Gradle File for FTP Upload to Maven Repo
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
@marchermans
marchermans / .travis.yml
Created May 13, 2014 16:29
Gradle Upload problems
language: java
jdk:
- oraclejdk7
- openjdk7
- openjdk6
before_install: chmod +x gradlew
install: ./gradlew setupCIWorkspace
script: ./gradlew build
after_script: ./gradlew uploadJars
env:
@marchermans
marchermans / build.gradle
Created May 16, 2014 11:04
Build.Gradle for Armory
// Load the properties of this project
ext.configFile = file "build.properties"
configFile.withReader {
// Load config. It shall from now be referenced as simply config or project.config
def prop = new Properties()
prop.load(it)
project.ext.config = new ConfigSlurper().parse prop
}
@marchermans
marchermans / chrashlog.txt
Created May 26, 2014 08:44
Crashlog of a TiC APi Issue?
---- Minecraft Crash Report ----
// Oops.
Time: 26/05/14 09:43
Description: Initializing game
java.lang.NoClassDefFoundError: tconstruct/library/tools/ToolCore
at tconstruct.TConstruct.<init>(TConstruct.java:101)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
@marchermans
marchermans / Error code:
Last active August 29, 2015 14:01
Compile error with ForgeGradle:
PS C:\Users\Marc\Documents\Development\Minecraft\Armory> .\gradlew.bat build --info
Starting Build
Settings evaluated using empty settings script.
Projects loaded. Root project using build file 'C:\Users\Marc\Documents\Development\Minecraft\Armory\build.gradle'.
Included projects: [root project 'Armory']
Evaluating root project 'Armory' using build file 'C:\Users\Marc\Documents\Development\Minecraft\Armory\build.gradle'.
Minecraft version: 1.7.2
Forge version: 10.12.1.1060
OrionsBelt version: 1.0.0-68-SNAPSHOT
Mantle version: 145.3a637c2
@marchermans
marchermans / crashlog.txt
Last active August 29, 2015 14:02
Problems with CoreMods in Dev Environment
"C:\Program Files (x86)\Java\jdk1.7.0_40\bin\java" -Xincgc -Xmx1024M -Xms1024M -Djava.library.path=C:/Users/Marc/Documents/Development/Minecraft/Armory\build\natives -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.coreMods.load=codechicken.core.launch.CodeChickenCorePlugin,codechicken.nei.asm.NEICorePlugin -Didea.launcher.port=7534 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 13.1.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk1.
@marchermans
marchermans / crashlog.txt
Created June 5, 2014 15:35
Error in setupDecompWorkspace
Minecraft version: 1.7.2
Forge version: 10.12.1.1060
OrionsBelt version: 1.0.0-68-SNAPSHOT
Mantle version: 145.3a637c2
TinkersConstruct version: 1.6.0.jenkins494
Mod version: 1.0.0
****************************
Powered By MCP:
http://mcp.ocean-labs.de/
Searge, ProfMobius, Fesh0r,
@marchermans
marchermans / crashlog.txt
Created June 6, 2014 10:42
NEI Crash in debug environment....
"C:\Program Files (x86)\Java\jdk1.7.0_40\bin\java" -Xincgc -Xmx1024M -Xms1024M -Djava.library.path=C:/Users/Marc/Documents/Development/Minecraft/Armory\build\natives -Dfml.ignoreInvalidMinecraftCertificates=true -Didea.launcher.port=7532 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 13.1.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\rt.jar;C:\Program Files
@marchermans
marchermans / ExtenderPlayerModel.java
Created June 22, 2014 18:04
Model rendering to big.
package com.Orion.OrionsBelt.Client.Models;
/*
/ AExtendedPlayerModel
/ Created by : Orion
/ Created on : 08/04/2014
*/
import net.minecraft.client.model.ModelBiped;