Skip to content

Instantly share code, notes, and snippets.

View InfinityRaider's full-sized avatar

InfinityRaider

View GitHub Profile
[02:26:31] [Client thread/INFO]: [net.minecraftforge.fml.common.eventhandler.EventBus:register:162]: java.lang.InstantiationException
[02:26:31] [Client thread/INFO]: [net.minecraftforge.fml.common.eventhandler.EventBus:register:162]: at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
[02:26:31] [Client thread/INFO]: [net.minecraftforge.fml.common.eventhandler.EventBus:register:162]: at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[02:26:31] [Client thread/INFO]: [net.minecraftforge.fml.common.eventhandler.EventBus:register:162]: at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:131)
[02:26:31] [Client thread/INFO]: [net.minecraftforge.fml.common.eventhandler.EventBus:register:162]: at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:113)
[02:26:31] [Client thread/INFO]: [net.minecraftforge.fml.common.eventhandler.EventBus:register:162]: at com.infinityraid
@InfinityRaider
InfinityRaider / CropDictionary draft
Last active June 7, 2016 12:20
my vision of the crop dictionary
package com.wherever.whatever
import com.infinityraider.agricraft.api.v1.ICropPlant;
import ic2.api.crops.CropCard;
import java.util.HashMap;
import java.util.Map;
public class CropDictionary {
private final Map<String, CropEntry> fromName;
@InfinityRaider
InfinityRaider / Techne Model wrapper for 1.9
Created May 31, 2016 18:06
Techne Model wrapper for 1.9
package com.InfinityRaider.maneuvergear.render.model;
import com.InfinityRaider.maneuvergear.render.tessellation.VertexData;
import com.InfinityRaider.maneuvergear.utility.TransformationMatrix;
import com.google.common.collect.ImmutableList;
import net.minecraft.client.model.*;
import net.minecraft.client.renderer.block.model.BakedQuad;
import net.minecraft.client.renderer.vertex.VertexFormat;
import net.minecraft.util.Tuple;
import net.minecraft.util.math.Vec3d;
@InfinityRaider
InfinityRaider / Primer.md
Created February 13, 2016 17:32 — forked from williewillus/Primer.md
1.8 rendering primer

1.8 Rendering Primer by williewillus (formatted to markdown by gigaherz)

Note: This primer assumes you are using MinecraftForge 1.8.9 build 1670 or above. Correctness not guaranteed otherwise.

This guide is intended for those with a clear knowledge of general modding and want a quick up to speed on how new things work. If you are confused, please hop on IRC and ask for help!

Blocks and Items

  • 1.7: EVERY BLOCK SHAPE EVER was hardcoded into RenderBlocks. Oh God, just look at that class. Actually don’t, if you value your sanity.
  • 1.8: Block shapes are all declared using models