I have an automatic dropper in Minecraft that drops diamond ores. These diamond ores will be teleported to a specific position when a player mines a diamond there. I made some experiments on it. I also figured out how to select a specific limit of entities (with the c selector). I have:

An auto dropper, with a command block continuously replacing a slot of it with diamond ores.

These diamond ores are killed every 100 ticks by a repeating command block right under the place they are about to drop.

For the last one to work, I need the items to be in a single block. All of them. So I built a wooden wall around them.

Then I have a command chain starting with /testforblock <x> <y> <z> air, then it is supposed to teleport a single item to the position where the diamond ore is and kill the original diamond that drops. After this, it rebuilds the diamond ore.

My problem is: The diamond ores (and all the items) merge when they touch each other. That means they become more. E.g. When two diamond ore items are touching each other, they merge into a single entity that gives the player who picks it up 2 diamond ores.

My question is: Can I select a specific amount of single items and not single entities? If so, how can I achieve this?

  • 1
    Merge into two diamond ores or two diamonds? Apr 27, 2021 at 12:31
  • Just asking for context, why can't the player just pick up the dropped ore that appears from a block? I assume there is a reason, I just don't see why it is necessary to teleport a diamond to the player if there is already a diamond there. (I aso get that is part of the question :))
    – Nailington
    Apr 28, 2021 at 20:57
  • 1
    @Potterton because diamond ore drops actual diamonds Apr 29, 2021 at 12:46
  • @Ath.Bar. I don't quite understand your problem. Why wouldn't something like /tp @e[type=item, name="Diamond Ore", c=1] work? Is it that you have this command being executed by repeat command blocks?
    – DM01131
    May 3, 2021 at 13:00
  • it happens because if you drop 2 diamonds at the same position, then they merge in to one entity. This entity gives the player 2 diamonds when they pick it up. The entity counts as one, however...
    – Ath.Bar.
    May 4, 2021 at 13:02

2 Answers 2


So I figured out how to do this. I made a 1 x 1 block structure (via structure blocks) with just single diamond ore in it. Then, every time the player mined the ore, it built the structure right where the ore is located and then killed all the normal diamonds in that area (if there are some).


You could place a hopper above a dispenser right behind the diamond ore, and the dropper drops the next ore into the hopper, which transfers the ore to the dispenser, which replaces the diamond ore that was broken, and you could use an observer to power the dropper and dispenser.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .