mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
Use new GlStateManager methods, got armor models to render (though the transformations seriously need to be updated)
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user