Minecraft: Shift + Click (/replaceitem)

Minecraft: Shift + Click (/replaceitem) - Person Holding Apple Magic Mouse

I have a fill clock and in a command block I have this command:

/replaceitem entity @p slot.inventory.13 minecraft:spawn_egg

And in the 13 slot there comes up an egg.

What I want it to do is give me money when I take the egg (like cookie clicker). When I shift click to take the egg after ~2 clicks it won't come up anymore unless I put an item in slot #13

Hope you can help






Pictures about "Minecraft: Shift + Click (/replaceitem)"

Minecraft: Shift + Click (/replaceitem) - Silver Magic Keyboard
Minecraft: Shift + Click (/replaceitem) - Red Car in Bus
Minecraft: Shift + Click (/replaceitem) - Photo of Black Steering Wheel



How do I shift click in Minecraft?

Clicking an item or stack will move it between inventory and stack. When a container is open, shift + clicking on an item will move up to a stack between the container and the inventory. When a furnace is open, shift + clicking an item or stack in the furnace moves it to the applicable inventory slot.

How do you use the Replaceitem command in Minecraft?

You can use the /replaceitem command to instanty replace one item with another item. You can replace armor items worn, weapons held in your hands, items stored in chests and items in your inventory/hotbar. This is a great way to quickly put armor on a player during a Minecraft battle or change out a worn out weapon.

What is slotId INT Minecraft?

Specifies the inventory slot to be modified. Valid values depend on whether a block or an entity is being modified. See Slot for details. slotId: int must be a 32-bit integer number. And it must be between -2147483648 and 2147483647 (inclusive).



How To Fix The Shift-Click Issue




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Vojtech Okenka, Lex Photography, Pixabay, Pixabay