Creates an itemstack of given block with given stack size to given player name. If player name is not set, the own player is targeted.