Use extended state for breaking models (#3086)

This commit is contained in:
AlgorithmX2 2016-07-28 18:00:36 -05:00 committed by LexManos
parent b380ba717f
commit a3d8664028
1 changed files with 1 additions and 2 deletions

View File

@ -664,8 +664,7 @@ public class ForgeHooksClient
public static IBakedModel getDamageModel(IBakedModel ibakedmodel, TextureAtlasSprite texture, IBlockState state, IBlockAccess world, BlockPos pos)
{
// TODO custom damage models
// state = state.block.getExtendedState(state, world, pos);
state = state.getBlock().getExtendedState(state, world, pos);
return (new SimpleBakedModel.Builder(state, ibakedmodel, texture, pos)).makeBakedModel();
}