TransWikia.com

Minecraft bedrock items quantity selector

Arqade Asked by Ath.Bar. on July 25, 2021

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?

2 Answers

So I figured out how to do this. I made a 1 x 1 block structure 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).

Correct answer by Ath.Bar. on July 25, 2021

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.

Answered by Kirbychu on July 25, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP