Thank you very much.
@Override
public IBlockState getStateForPlacement(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY,
float hitZ, int meta, EntityLivingBase placer, EnumHand hand) {
return super.getStateForPlacement(world, pos, facing, hitX, hitY, hitZ, meta, placer, hand).withProperty(FACING, placer.getHorizontalFacing());
}
Maybe this will be then before.
When somebody will have same problem as me the solution for this is on following lines:
{
"forge_marker": 1,
"defaults": { "model": "prisonthings:red_chair1" },
"variants": {
"facing=north": {
"y": 0
},
"facing=east": {
"y": 90
},
"facing=south": {
"y": 180
},
"facing=west": {
"y": 270
},
"inventory": {
"model": "prisonthings:red_chair1",
"transform": "forge:default-block"
}
}
}