Infinte Diamonds Or Any Resource
Get 9 Iron (dimond, gold, etc. ) turn it into a block and once you do this mine it out switch to an empty slot and place it fast. If you Do it fast enough it'll say you still have itand you can recraft it into iron ingots. (May take more than one attempt).