java.lang.IllegalArgumentException: Cannot set property PropertyDirection on block randomthings:plate_extraction
Pythonic-Rainbow opened this issue ยท 3 comments
In short: This fails:
((ItemBlock) itemStack.getItem()).getBlock().getStateFromMeta(itemStack.getItem().getMetadata(itemStack.getMetadata()));
It looks very convoluted, but this is how vanilla's ItemBlock+Block work together to convert an item damage to a blockstate.
Appears to be a duplicate of the already fixed #326