Use new GlStateManager methods, got armor models to render (though the transformations seriously need to be updated)

This commit is contained in:
aidancbrady committed 2016-05-10 22:24:37 -04:00
1 parent a1100dd47a
commit 374cc57515
392 files changed
+1471 -1513

No files matched your search

@@ -233,7 +233,8 @@ public class ClientProxy extends CommonProxy
public static Map<String, ModelResourceLocation> machineResources = new HashMap<String, ModelResourceLocation>();
public static Map<String, ModelResourceLocation> basicResources = new HashMap<String, ModelResourceLocation>();
public static final String[] CUSTOM_RENDERS = new String[] {"fluid_tank"};
public static final String[] CUSTOM_RENDERS = new String[] {"fluid_tank", "bin_basic", "bin_advanced", "bin_elite", "bin_ultimate",
"Jetpack", "FreeRunners", "AtomicDisassembler", "ScubaTank", "GasMask", "ArmoredJetpack", "Flamethrower"};
@Override
public void loadConfiguration()
@@ -527,6 +528,11 @@ public class ClientProxy extends CommonProxy
}
}
if(type == BasicBlockType.BIN)
{
properties = "inventory";
}
ModelResourceLocation model = new ModelResourceLocation(resource, properties);
basicResources.put(resource, model);