Fixed ItemFrames not having a model. Closes #1678

This commit is contained in:
Lex Manos committed 2015-02-02 13:06:57 -08:00
1 parent 76825d19b8
commit 79356d7023
1 file changed
+4 -1
@@ -90,7 +90,10 @@ public class ModelLoader extends ModelBakery
private void loadBlocks()
{
Map<IBlockState, ModelResourceLocation> stateMap = blockModelShapes.getBlockStateMapper().putAllStateModelLocations();
loadVariants(stateMap.values());
Collection<ModelResourceLocation> variants = Lists.newArrayList(stateMap.values());
variants.add(new ModelResourceLocation("minecraft:item_frame", "normal")); //Vanilla special cases item_frames so must we
variants.add(new ModelResourceLocation("minecraft:item_frame", "map"));
loadVariants(variants);
}
@Override