Use extended state for breaking models (#3086)
This commit is contained in:
parent
b380ba717f
commit
a3d8664028
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue