Hello,
Is it possible to get an instance of my
TileEntity
from the
IBlockState
, which is passed to the
handleBlockState
function of
ISmartBlockModel
?
Basically, I need to render a block based on the data from my
TileEntity
.
My first idea was to use a
TileEntitySpecialRenderer
, but that was too inefficient for my case of rendering.
Then I found the excellent tutorial from @herbix, that explained the use of the new
IBakedModel
in 1.8.
Unfortunately, it seems that you can only use the block state from a block in the
handleBlockState
method.
But I need to store more than 4 bits in my block.
I hope you can help me
ss7