I have done this in the BlockBrewer class but it still will not rotate.
public void onBlockPlacedBy(World world, int x, int y, int z, EntityLiving entityLiving)
{
int dir = MathHelper.floor_double((double)((entityLiving.rotationYaw * 4F) / 360F) + 0.5D) & 3;
world.setBlockMetadataWithNotify(x, y, z, dir, 0);
}
Im probably missing something stupid