Skip to content

Instantly share code, notes, and snippets.

public static Matrix4f getMatrix(EnumFacing facing) {
Matrix4f ret = new Matrix4f();
switch (facing) {
case DOWN: ret = ModelRotation.X90_Y0.getMatrix(); break;
case UP: ret = ModelRotation.X270_Y0.getMatrix(); break;
case NORTH: ret = ModelRotation.X0_Y0.getMatrix(); break;
case SOUTH: ret = ModelRotation.X0_Y180.getMatrix(); break;
case WEST: ret = ModelRotation.X0_Y270.getMatrix(); break;
case EAST: ret = ModelRotation.X0_Y90.getMatrix(); break;
default: ret.setIdentity();
****************************
Powered By MCP:
http://modcoderpack.com/
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : 9.10
****************************
:getVersionJson
:getAssetIndex UP-TO-DATE
:getAssets
[16:20:43] [main/INFO]: Extra: []
[16:20:43] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Gerald/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, @@MCVERSION@@, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[16:20:43] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:20:43] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:20:43] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:20:43] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:20:43] [main/INFO]: Forge Mod Loader version 11.14.3.0 for Minecraft 1.8 loading
[16:20:43] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_65, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_65
[16:20:43
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
public void registerRenderers() {
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(AutoOreDictConv.converter), 0, new ModelResourceLocation(AutoOreDictConv.MODID + ":" + BlockConverter.NAME, "inventory"));
}
{
"forge_marker": 1,
"defaults": {
"textures": {
"top": "openfm:blocks/radio_side",
"front": "openfm:blocks/radio_front",
"side": "openfm:blocks/radio_side"
},
"model": "minecraft:block/orientable"
},
{
"forge_marker": 1,
"defaults": {
"textures": {},
"model": "forgedebugmodelloaderregistry:eye.obj",
"transform": "forge:default-block",
"custom": {
"flipDX11": true
}
},
Checking out files: 100% (557/557), done.
Note: checking out 'origin/1.8.8'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
[13:46:53] [main/INFO]: Extra: []
[13:46:53] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Gerald/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, @@MCVERSION@@, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[13:46:53] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:46:53] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[13:46:53] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[13:46:53] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[13:46:53] [main/INFO]: Forge Mod Loader version 11.15.0.0 for Minecraft 1.8.8 loading
[13:46:53] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_66, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_66
[13:46:
{
"forge_marker": 1,
"defaults": {
"textures": {
// "#lambert7SG": "forgedebugmodelloaderregistry:texture" //the identifier must be a name of a material defined by the "model" obj's .mtl file
},
"model": "forgedebugmodelloaderregistry:tesseract.obj",
"custom": {
"group_configs": {
"config_name_here": [